/* jellyqda drift & play · css/10-riff-grundgeruest.css
   Skill-Riff, Grundgerüst: Rahmen, Waben, Linien, Detailkarte rechts.
   Die CSS-Dateien werden in Nummern-Reihenfolge geladen: spätere Regeln gewinnen. */

.gscreen { background: radial-gradient(1200px 600px at 20% 0%, #13284a 0%, transparent 60%), radial-gradient(900px 500px at 90% 100%, #2a1640 0%, transparent 55%), #070d1a; border-radius: 18px; padding: 16px; color: #e8eefc; position: relative; overflow: hidden; }
.gscreen::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 68% 32%, #cfe 50%, transparent 51%), radial-gradient(1.5px 1.5px at 40% 72%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 86% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 24% 88%, #bdf 50%, transparent 51%), radial-gradient(1px 1px at 54% 8%, #fff 50%, transparent 51%); background-size: 380px 300px; }
.gtop { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; position: relative; }
.gt-title { font-family: var(--f-display); font-weight: 800; letter-spacing: .18em; font-size: 22px; color: #fff; }
.gt-sub { font-size: 13.5px; color: #9fb0d0; }
.gbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; border: 1px solid #34446a; background: rgba(20,32,58,.85); color: #e8eefc; text-decoration: none; font-weight: 700; font-size: 14px; cursor: pointer; }
.gbtn:hover { border-color: #8fd0f5; }
.gbtn.primary { background: #56B4E9; border-color: #56B4E9; color: #061626; }
.gbadge, .nbadge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #d33f3f; color: #fff; font-size: 12px; font-weight: 800; }
.nbadge { margin-left: 4px; vertical-align: 1px; }
.glayout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; position: relative; }
@media (max-width: 900px) { .glayout { grid-template-columns: minmax(0, 1fr); } }
.gtree { overflow: auto; max-height: calc(100vh - 250px); min-height: 420px; border-radius: 14px; border: 1px solid #1d2b49; background: rgba(4,9,20,.45); }
.gtree svg { display: block; }
.gtree { cursor: grab; }
.gtree.dragging { cursor: grabbing; user-select: none; }
.gtree.dragging .gt-node { cursor: grabbing; }
.gt-lane { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .14em; }
.gt-lane-sub { font-size: 12px; fill: #8796b5; font-family: var(--f-body); }
.gt-edge { fill: none; stroke-width: 2.4; opacity: .22; stroke-linejoin: round; }
.gt-edge.half { opacity: .55; stroke-dasharray: 6 5; }
.gt-edge.lit { opacity: .95; filter: drop-shadow(0 0 3px currentColor); }
.gt-edge.faint { opacity: 0; }
.gt-edge.hot { opacity: 1; stroke: #fff !important; stroke-width: 3; stroke-dasharray: none; }
.gt-edge.out { opacity: .9; stroke: #8ee0b5 !important; stroke-dasharray: 4 4; }
.gt-node { cursor: pointer; outline: none; }
.gt-node .ring { fill: none; stroke: transparent; stroke-width: 2; }
.gt-node .hex { fill: #0f1a2e; stroke: var(--c); stroke-width: 2.6; transition: transform .15s; }
.gt-node .inner { fill: none; stroke: var(--c); stroke-width: 1; opacity: .35; }
.gt-node .glyph { fill: var(--c); font-family: var(--f-mono); font-weight: 800; pointer-events: none; }
.gt-node .lbl { fill: #c9d4ec; font-size: 12px; font-weight: 700; font-family: var(--f-body); pointer-events: none; }
.gt-node .lock rect { fill: #46536f; } .gt-node .lock path { stroke: #46536f; stroke-width: 2; }
.gt-node .gold { fill: #f3c84b; stroke: #fff4c2; stroke-width: 1.5; }
.gt-node.open .hex { filter: drop-shadow(0 0 8px var(--c)); animation: gpulse 2.2s ease-in-out infinite; }
.gt-node.passed .hex { stroke: #fff; filter: drop-shadow(0 0 6px var(--c)); }
.gt-node.passed .glyph { fill: #08101e; }
.gt-node.passed .inner { stroke: #08101e; opacity: .3; }
.gt-node.locked .hex { stroke: #33415e; fill: #0b1222; }
.gt-node.locked .glyph, .gt-node.locked .lbl { fill: #5d6a86; }
.gt-node.locked .inner { stroke: #33415e; }
.gt-node.sel .ring, .gt-node:focus-visible .ring { stroke: #fff; stroke-dasharray: 3 3; animation: gspin 8s linear infinite; transform-box: fill-box; transform-origin: center; }
.gt-node:hover .hex { stroke-width: 3.6; }
@keyframes gpulse { 50% { filter: drop-shadow(0 0 16px var(--c)); } }
@keyframes gspin { to { transform: rotate(360deg); } }
.gside { background: linear-gradient(180deg, rgba(22,34,62,.95), rgba(12,20,38,.95)); border: 1px solid #2a3a60; border-radius: 14px; padding: 16px; align-self: start; position: sticky; top: 130px; }
.gs-head { display: flex; gap: 12px; align-items: center; }
.gs-branch { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gs-title { font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1.15; color: #fff; }
.gs-state { margin: 12px 0 8px; font-size: 13.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #16223d; color: #c6d2ea; }
.gs-state.passed { background: rgba(47,191,143,.16); color: #8ee0b5; }
.gs-state.open { background: rgba(86,180,233,.16); color: #9ed6f7; }
.gs-text { margin: 8px 0; font-size: 15px; color: #e8eefc; }
.gs-why { margin: 8px 0 12px; font-size: 14px; color: #aebcda; }
.gs-text code, .gs-why code { background: #0b1427; color: #cfe3ff; padding: 0 4px; border-radius: 4px; }
.gs-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.gs-req { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: #8796b5; margin-top: 6px; }
.gs-req button { border: 1px solid #34446a; background: #111c33; color: #dbe5f8; border-radius: 999px; padding: 2px 10px; cursor: pointer; font-size: 12.5px; }
.gs-req button.ok { border-color: #2fbf8f; color: #8ee0b5; }
.ghints { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 13px; color: #9fb0d0; position: relative; align-items: center; }
.ghints .key { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1d2b49; color: #fff; font-size: 11px; margin-right: 4px; }
.hx { display: inline-block; width: 14px; height: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); vertical-align: -3px; margin-right: 6px; }
.hx.lit { background: #E6A628; } .hx.open { background: #56B4E9; box-shadow: 0 0 8px #56B4E9; } .hx.dark { background: #33415e; }
