/* Starlight Tycoon player guide (stl-v10). Classes are g- prefixed: the fragments live inside the game page. */
.guide { min-height: 100%; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
.gtop { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px;
  background: rgba(18, 11, 51, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.gtop h1 { flex: 1; text-align: center; font-size: 19px; color: #ffe08a; margin: 0; }
.gtop .pill { height: 38px; padding: 0 14px; font-size: 15px; }
.gtop .gback svg { width: 18px; height: 18px; }
.ghead { text-align: center; padding: 16px 16px 0; } .ghead img { width: 230px; height: auto; }
.gload, .gerr { text-align: center; padding: 28px 16px; color: #cfc4ff; }
.guide-cta { border-color: #ffc21a; color: #ffe08a; } .guide-cta img { border-radius: 0 !important; }
#guideBody { color: #eee9ff; font-size: 15px; line-height: 1.55; }
#guideBody b { color: #ffe08a; }
.g-hero { text-align: center; padding: 4px 16px 0; } .g-sub { color: #cfc4ff; margin: 4px 0 0; }
.g-pdfs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 12px 0 2px; }
.g-pdfs a { font-weight: 700; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: 7px 13px; text-decoration: none; }
.g-pdfs a.g-on { color: #3d1a00; background: linear-gradient(180deg, #ffe27a, #ffb800); border-color: #ffe9a8; }
.g-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 12px 12px 4px; }
.g-chips a { font-size: 13px; color: #fff; text-decoration: none; background: rgba(123, 63, 214, .35); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: 5px 11px; }
.g-sec { margin: 10px 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; scroll-margin-top: 70px; }
.g-sec > summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-weight: 800; font-size: 16px; color: #fff; cursor: pointer; }
.g-sec > summary::-webkit-details-marker { display: none; }
.g-sec > summary img { width: 34px; height: 34px; object-fit: contain; }
.g-sn { font-size: 12px; font-weight: 700; background: #ffc21a; color: #2a1670; border-radius: 99px; padding: 2px 8px; }
.g-st { flex: 1; }
.g-sec > summary::after { content: '▾'; color: #ffc21a; } .g-sec[open] > summary::after { content: '▴'; }
.g-body { padding: 0 14px 16px; }
.g-body h3 { font-size: 16px; color: #ffc21a; margin: 14px 0 8px; }
.g-body h4 { font-size: 15px; color: #ffe08a; margin: 0 0 6px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.g-body ul, .g-body ol { padding-left: 20px; margin: 0; } .g-body li { margin: 3px 0; } .g-body p { margin: 0; }
.g-lead, .g-card, .g-tip, .g-note, .g-warn, .g-ex, .g-ty, .g-exday, .g-faq > div, .g-slot, .g-strip, .g-bars, .g-lp {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 14px; margin-top: 10px; }
.g-tip { background: rgba(255, 194, 26, .14); border-color: rgba(255, 194, 26, .4); }
.g-warn { background: rgba(255, 61, 106, .14); border-color: rgba(255, 61, 106, .4); }
.g-ex { border-style: dashed; border-color: rgba(157, 125, 255, .7); } .g-ex h4::before { content: '💡'; }
.g-split-l, .g-split-l2 { text-align: center; margin-top: 12px; }
.g-phone { display: block; width: 78%; height: auto; margin: 0 auto; border-radius: 18px; border: 4px solid #05020f; box-shadow: 0 6px 20px rgba(0, 0, 0, .45); }
.g-cap, .g-body figcaption { font-size: 13px; color: #cfc4ff; margin: 6px auto 0; max-width: 88%; text-align: left; }
.g-shots3 { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.g-shots3 figure { flex: none; width: 72%; margin: 0; scroll-snap-align: center; } .g-shots3 .g-phone { width: 100%; }
.g-nb { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: #ffc21a; color: #1b1046; font-size: 11px; font-weight: 700; margin-right: 3px; }
.g-legend { list-style: none; padding: 0 !important; margin-top: 12px !important; } .g-legend li { margin: 7px 0; }
.g-ico { height: 1.25em; width: auto; vertical-align: -.25em; } .g-icob { height: 40px; width: auto; display: block; margin: 0 auto 4px; }
.g-tag { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 99px; padding: 1px 8px; color: #fff; }
.g-tag.g-red { background: #ff3d6a; } .g-tag.g-green { background: #22b573; }
.g-tbl { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; background: rgba(255, 255, 255, .05); border-radius: 12px; overflow: hidden; }
.g-tbl th { background: rgba(123, 63, 214, .45); color: #fff; padding: 7px 8px; text-align: left; font-size: 12.5px; }
.g-tbl td { padding: 7px 8px; border-top: 1px solid rgba(255, 255, 255, .08); vertical-align: middle; }
.g-tbl tr.g-hot td { background: rgba(255, 194, 26, .16); } .g-tbl tr.g-sum td { background: rgba(157, 125, 255, .2); font-weight: 700; }
.g-res td:first-child { text-align: center; width: 72px; font-size: 12px; } .g-res .g-icob { height: 34px; }
.g-lv td, .g-lv th, .g-odds td, .g-odds th { text-align: center; }
.g-fine { font-size: 12.5px; color: #b8acef; margin-top: 6px !important; } .g-kv { margin: 3px 0 !important; } .g-center { text-align: center; }
.g-loop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .g-lp { text-align: center; position: relative; margin: 0; }
.g-lp b { display: block; } .g-lp small { display: block; font-size: 12px; color: #cfc4ff; }
.g-lpn { position: absolute; left: 8px; top: 8px; width: 22px; height: 22px; border-radius: 99px; background: #7b3fd6; font-size: 12px; line-height: 22px; font-weight: 700; color: #fff; }
.g-tiers { display: flex; gap: 6px; margin-top: 6px; } .g-tiers span { flex: 1; text-align: center; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 6px; font-size: 12px; } .g-tiers b { display: block; }
.g-formula { background: linear-gradient(90deg, #4a2bb8, #7b3fd6); border-radius: 14px; padding: 12px; text-align: center; font-weight: 800; color: #fff; }
.g-flow { display: flex; gap: 6px; align-items: center; font-size: 12.5px; margin: 6px 0; } .g-flow span { flex: 1; text-align: center; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 6px 4px; }
.g-ty { padding: 0 0 12px; overflow: hidden; } .g-ty > div { padding: 0 12px; }
.g-ty .g-art { display: block; width: 100%; height: 170px; object-fit: cover; margin-bottom: 8px; }
.g-who { color: #cfc4ff; font-size: 13px; } .g-gain { background: rgba(255, 194, 26, .16); border-radius: 10px; padding: 6px 10px; margin-top: 8px !important; font-weight: 700; color: #ffe08a; }
.g-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; text-align: center; } .g-strip div { width: 28%; } .g-strip i { display: none; } .g-strip b { font-size: 12px; }
.g-when { font-weight: 800; color: #ffc21a; } .g-when small { font-weight: 400; color: #cfc4ff; margin-left: 6px; }
.g-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.g-week div { background: rgba(255, 255, 255, .07); border-radius: 10px; padding: 6px 2px; text-align: center; font-size: 10.5px; min-height: 62px; }
.g-week b { display: block; font-size: 15px; } .g-week .g-pay { background: rgba(255, 194, 26, .2); } .g-week .g-boss { background: rgba(255, 61, 106, .2); }
.g-bars { display: flex; align-items: flex-end; gap: 4px; height: 215px; }
.g-bars div { flex: 1; display: flex; flex-direction: column-reverse; align-items: center; gap: 2px; font-size: 10.5px; }
.g-bars i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(#ffc21a, #ff8a3d); }
.g-exh { display: flex; gap: 10px; align-items: center; } .g-exh .g-art { width: 54px; height: 54px; object-fit: cover; border-radius: 10px; } .g-exh p { font-size: 12.5px; color: #cfc4ff; }
.g-tl td:first-child { color: #ffc21a; font-weight: 800; white-space: nowrap; }
.g-punch th, .g-punch td { text-align: center; padding: 5px 2px; } .g-punch td:first-child, .g-punch th:first-child { text-align: left; font-size: 12px; }
.g-faq h4::before { content: 'Q'; background: #7b3fd6; border-radius: 99px; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; }
.g-contact { margin-top: 12px; text-align: center; background: linear-gradient(90deg, #4a2bb8, #7b3fd6); border-radius: 14px; padding: 12px; }
.g-mt { margin-top: 10px; } .g-mini { padding-left: 20px; }
.g-end { text-align: center; color: #b8acef; font-size: 13px; padding: 14px 16px 0; }
