/* ===== Fabricarea Rouăi (peste reminder/style.css) ===== */
.r-banner { height: 220px; background:
  radial-gradient(700px 320px at 15% 10%, rgba(77,163,255,0.3), transparent 60%),
  radial-gradient(600px 300px at 85% 30%, rgba(255,122,184,0.25), transparent 60%),
  linear-gradient(180deg, #151a2c, #0b0d14); }
.kicker { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(77,163,255,0.14); border: 1px solid rgba(77,163,255,0.45); color: #8ec4ff; text-shadow: none; }
.banner-text p { max-width: 640px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 8px 16px 40px; }
@media (min-width: 900px) { .wrap { padding: 16px 24px 56px; } }
.sec { margin-top: 18px; padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--panel-border); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.h { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; color: var(--text); }
.lead { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 0 0 14px; }
.hint-line { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; } .hint-line b { color: var(--gold); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg.plant { background: #4ade80; } .lg.juice { background: rgba(77,163,255,0.5); } .lg.water { background: #4da3ff; } .lg.dew { background: var(--gold); }

/* NPC */
.npcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.npc { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,0.25); border: 1px solid color-mix(in srgb, var(--c) 40%, var(--panel-border)); }
.npc-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #0b0d14; background: var(--c); }
.npc b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--c); }
.npc span { display: block; font-size: 12px; color: var(--muted); } .npc em { display: block; font-style: normal; font-size: 12.5px; margin-top: 2px; }

/* schema */
.chains { display: grid; gap: 12px; }
.chain { padding: 12px; border-radius: 16px; background: rgba(0,0,0,0.22); border: 1px solid var(--panel-border); border-left: 4px solid var(--c); overflow-x: auto; transition: border-color 0.2s; }
.chain.hl { border-color: color-mix(in srgb, var(--c) 60%, var(--panel-border)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent) inset; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 100px minmax(0, 1fr) 100px minmax(0, 1fr) 100px minmax(0, 1.3fr); align-items: center; gap: 4px; min-width: 900px; }
.flow.branch { grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 100px minmax(0, 1fr) 100px minmax(0, 1fr) 100px minmax(0, 1.3fr); margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,0.08); }
.flow.branch .b-from { grid-column: 1 / 7; justify-self: end; text-align: right; margin-right: 8px; }
.flow.branch .dew-arrow { grid-column: 8; } .flow.branch .dew-node { grid-column: 9; }
.b-from { font-size: 12px; color: var(--muted); margin-right: 8px; white-space: nowrap; } .b-from b { color: var(--text); }
.node { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 8px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); min-width: 0; }
.node .n-ico { width: 30px; height: 36px; flex: 0 0 30px; display: grid; place-items: center; } .node .n-ico svg { width: 100%; height: 100%; }
.node .n-t b { display: block; font-size: 12.5px; line-height: 1.2; } .node .n-t small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.node .n-t small i { font-style: normal; font-weight: 700; }
.node.plant, .node.root { border-color: rgba(74,222,128,0.35); }
.node.juice { border-color: color-mix(in srgb, var(--c) 30%, transparent); }
.node.water { border-color: color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 8%, rgba(255,255,255,0.04)); }
.node.dew { border-color: var(--c); background: color-mix(in srgb, var(--c) 14%, rgba(0,0,0,0.3)); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 30%, transparent); cursor: pointer; }
.node.dew b { color: var(--c); } .node.dew small b { display: inline; color: var(--text); }
.chain.hl .node:not(.dew) { opacity: 0.55; } .chain.hl .flow:has(.dew-node) .node { opacity: 1; }
.arrow { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 2px; min-width: 0; }
.a-q { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--gold); }
.a-line { position: relative; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.5)); }
.a-line::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid rgba(255,255,255,0.6); }
.a-x { display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; color: var(--muted); white-space: nowrap; max-width: 100%; } .a-x b { color: #c9d3ff; } .a-x svg { width: 14px; height: 16px; }
.dew-arrow .a-line { background: linear-gradient(90deg, rgba(245,197,66,0.25), rgba(245,197,66,0.8)); } .dew-arrow .a-line::after { border-left-color: rgba(245,197,66,0.9); }

/* roua */
.dews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.dew { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--c) 8%, rgba(0,0,0,0.25)); border: 1px solid color-mix(in srgb, var(--c) 45%, var(--panel-border)); }
.d-ico { width: 44px; height: 54px; } .d-ico svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent)); }
.dew b { display: block; font-family: var(--font-display); font-size: 16px; color: var(--c); }
.d-eff { display: block; font-size: 13px; } .d-val { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: rgba(255,255,255,0.08); }
.dew small { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }

/* calc */
.calc { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.calc select { flex: 1; min-width: 240px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.3); color: var(--text); font: inherit; font-size: 13.5px; }
.calc select option { background: #161a28; }
.qty { display: flex; align-items: center; border-radius: 10px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.3); overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: rgba(255,255,255,0.05); color: var(--text); font-size: 20px; }
.qty input { width: 70px; height: 40px; border: 0; background: transparent; color: var(--text); text-align: center; font: inherit; font-weight: 800; font-size: 15px; }
.calc-out { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .calc-out { grid-template-columns: 1fr 1fr; } }
.c-block { padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,0.22); border: 1px solid var(--panel-border); }
.c-t { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.c-list { display: grid; gap: 6px; }
.c-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,0.03); }
.c-row .n-ico { width: 28px; height: 28px; flex: 0 0 28px; } .c-row .n-ico svg { width: 100%; height: 100%; }
.c-row b { font-family: var(--font-display); color: var(--gold); min-width: 64px; }
.c-row i { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--muted); }
.c-row.plant b { color: #4ade80; }

/* drops + acordeon */
.acc { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: transparent; border: 0; color: var(--text); text-align: left; padding: 0; cursor: pointer; }
.acc .h { margin: 0; font-size: 18px; }
.acc i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: var(--muted); font-size: 20px; transition: transform 0.2s; }
.acc.open i { transform: rotate(45deg); color: var(--gold); }
.acc-body { margin-top: 14px; }
.drops { display: grid; gap: 6px; }
.drop { display: grid; grid-template-columns: 180px 1fr; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(0,0,0,0.22); border: 1px solid var(--panel-border); font-size: 13px; }
.drop b { color: #4ade80; } .drop span { color: var(--muted); line-height: 1.5; }
@media (max-width: 600px) { .drop { grid-template-columns: 1fr; gap: 2px; } .sec { padding: 14px; } }
.src { margin: 18px 4px 0; font-size: 12px; color: var(--muted); line-height: 1.6; } .src a { color: var(--gold); }

/* schema (imagine) */
.schema { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(245,197,66,0.35); box-shadow: 0 12px 40px rgba(0,0,0,0.5); margin-bottom: 14px; }
.schema img { display: block; width: 100%; height: auto; }
.zoom-hint { font-size: 12px; color: var(--muted); }
.d-ico img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent)); }
.c-row .n-ico img { width: 100%; height: 100%; object-fit: contain; }
.c-note { margin: 8px 0 0; font-size: 12px; color: var(--muted); } .c-note:empty { display: none; }
.c-row .n-ico img.pix { image-rendering: auto; }
.d-ico img { image-rendering: auto; }
.npc-img { position: relative; width: 56px; height: 72px; border-radius: 12px; background: radial-gradient(40px 50px at 50% 60%, color-mix(in srgb, var(--c) 30%, transparent), rgba(0,0,0,0.35)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); display: grid; place-items: end center; overflow: hidden; }
.npc-img img { height: 68px; width: auto; max-width: 52px; object-fit: contain; }
.npc-img i { position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; color: #0b0d14; background: var(--c); }

/* ===== calculator vertical ===== */
.calc-out { display: block; }
.f-lbl { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.f-mat .f-lbl { margin-top: 0; }
.f-mats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.m { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(0,0,0,0.25); border: 1px solid var(--panel-border); font-size: 13.5px; }
.m .n-ico { width: 30px; height: 30px; flex: 0 0 30px; } .m .n-ico img, .m .n-ico svg { width: 100%; height: 100%; object-fit: contain; }
.m b { font-family: var(--font-display); color: #4ade80; font-size: 15px; }
.f-steps { display: grid; gap: 0; position: relative; }
.f-step { position: relative; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(0,0,0,0.22); border: 1px solid color-mix(in srgb, var(--c) 35%, var(--panel-border)); margin-bottom: 22px; }
.f-step::after { content: "▼"; position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); font-size: 11px; color: var(--gold); opacity: 0.8; }
.f-ico { width: 44px; height: 44px; display: grid; place-items: center; } .f-ico img, .f-ico svg { width: 100%; height: 100%; object-fit: contain; }
.f-t { font-family: var(--font-display); font-size: 15px; } .f-r { font-size: 12.5px; color: var(--muted); margin-top: 3px; } .f-r i { font-style: normal; color: var(--gold); margin: 0 3px; }
.f-n, .f-out { text-align: center; padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,0.05); min-width: 74px; }
.f-n b, .f-out b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--gold); } .f-n small, .f-out small { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.f-out b { color: var(--text); }
.f-res { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  background: radial-gradient(400px 120px at 10% 50%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--c) 18%, #0b0d14), rgba(0,0,0,0.35)); box-shadow: 0 10px 40px color-mix(in srgb, var(--c) 25%, transparent); }
.f-res .f-lbl { margin: 0 0 4px; color: var(--c); }
.f-rico { width: 72px; height: 72px; display: grid; place-items: center; } .f-rico img, .f-rico svg { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 16px color-mix(in srgb, var(--c) 70%, transparent)); }
.f-res b { display: block; font-family: var(--font-display); font-size: 24px; color: var(--c); }
.f-res span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.f-stats { display: flex; gap: 8px; }
@media (max-width: 640px) { .f-step { grid-template-columns: 36px 1fr; } .f-stats { grid-column: 2; } .f-res { grid-template-columns: 56px 1fr; padding: 14px; } .f-res b { font-size: 19px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 4px 0; font-size: 12.5px; color: var(--muted); }
.crumbs a { color: var(--gold); text-decoration: none; } .crumbs a:hover { text-decoration: underline; } .crumbs i { font-style: normal; opacity: 0.6; }
