/* NodeClash additive How-To-Play / Rules guide. */
.nc-game-guide-trigger{font-weight:900;letter-spacing:.04em}
.nc-game-guide-backdrop{position:fixed;inset:0;background:rgba(2,8,18,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);z-index:10050}
.nc-game-guide{position:fixed;inset:0;z-index:10051;display:grid;place-items:center;padding:18px;overflow:auto;margin:0;border:0;background:transparent;color:inherit;max-width:none;max-height:none;width:auto;height:auto}
.nc-game-guide[hidden]{display:none}.nc-game-guide:not(:popover-open){display:none}.nc-game-guide:popover-open{display:grid}
.nc-game-guide-card{width:min(980px,100%);max-height:min(90vh,900px);overflow:auto;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:linear-gradient(145deg,rgba(8,19,35,.98),rgba(10,27,45,.96));box-shadow:0 30px 100px rgba(0,0,0,.55);color:#f6fbff;padding:clamp(20px,4vw,36px)}
.nc-game-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}
.nc-game-guide-kicker{font-size:.72rem;font-weight:900;letter-spacing:.18em;opacity:.68}
.nc-game-guide-title{font-size:clamp(1.8rem,4vw,3rem);margin:.25rem 0 .45rem;font-weight:950}
.nc-game-guide-sub{margin:0;opacity:.78;line-height:1.55}
.nc-game-guide-close{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.06);color:#fff;font-size:1.5rem;cursor:pointer}
.nc-game-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.nc-game-guide-section{border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:18px;background:rgba(255,255,255,.035)}
.nc-game-guide-section.wide{grid-column:1/-1}
.nc-game-guide-section h3{margin:0 0 10px;font-size:1.05rem}
.nc-game-guide-section p,.nc-game-guide-section li{line-height:1.55;opacity:.86}
.nc-game-guide-section ul{margin:8px 0 0;padding-left:20px}
.nc-game-guide-rule{display:grid;grid-template-columns:110px 1fr;gap:10px;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.nc-game-guide-rule:first-of-type{border-top:0}
.nc-game-guide-rule b{color:#ffe27f}
.nc-game-guide-credit{border:1px solid rgba(255,226,127,.24);background:rgba(255,193,7,.07)}
@media(max-width:700px){.nc-game-guide-grid{grid-template-columns:1fr}.nc-game-guide-section.wide{grid-column:auto}.nc-game-guide-rule{grid-template-columns:1fr;gap:3px}}

/* v6.3.113: persistent Play-route entry point. Presentation layers may hide the command row, so the user-facing guide must remain directly reachable. */
.nc-game-guide-floating{position:fixed;top:148px;right:14px;z-index:10040;min-height:27px;padding:4px 7px;border:1px solid rgba(255,226,127,.42);border-radius:9px;background:linear-gradient(135deg,rgba(14,35,58,.96),rgba(20,49,73,.96));color:#fff;font:900 .56rem/1.05 system-ui,sans-serif;letter-spacing:.06em;box-shadow:0 8px 22px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.14);cursor:pointer;white-space:nowrap}
.nc-game-guide-floating:hover{filter:brightness(1.12);transform:translateY(-1px)}
.nc-game-guide-floating:focus-visible{outline:3px solid rgba(255,226,127,.7);outline-offset:3px}
.nc-game-guide-open .nc-game-guide-floating{z-index:10052}
@media(max-width:760px){.nc-game-guide-floating{top:132px;right:10px;font-size:.54rem;padding:4px 7px;min-height:26px}}
@media(max-width:560px){.nc-game-guide-floating{top:126px;right:8px;max-width:calc(100vw - 16px);white-space:normal;text-align:center}}
.nc-game-guide-flow{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 8px;font-size:.72rem;font-weight:900;letter-spacing:.04em}.nc-game-guide-flow span{padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:rgba(255,255,255,.045)}.nc-game-guide-flow b{opacity:.5}.nc-game-guide-logic{margin:.4rem 0 0;line-height:1.55;opacity:.82}

.nc-game-guide-start ol{margin:8px 0 0;padding-left:22px}.nc-game-guide-start li{margin:.38rem 0}.nc-game-guide-card{isolation:isolate}
