.adventure,.game-admin{max-width:850px;margin:35px auto;padding:0 16px;min-width:0}.adventure-head{margin-bottom:28px}.adventure-head h1,.game-admin h1{font-size:clamp(32px,5vw,48px);margin:5px 0}.adventure-head>a,.game-admin>a:first-child{color:var(--blue-dark)}.adventure-preview{padding:12px;background:#fff4dc;border-left:4px solid #bb780c}.adventure-path{position:relative;padding:10px 0}.adventure-path:before{content:"";position:absolute;top:15px;bottom:35px;left:50%;border-left:3px dotted #abd5e8}.adventure-node{position:relative;display:grid;grid-template-columns:1fr 64px 1fr;align-items:start;margin:0 0 25px}.adventure-left .adventure-card{grid-column:1}.adventure-right .adventure-card{grid-column:3}.adventure-step{z-index:1;grid-column:2;grid-row:1;width:48px;height:48px;margin:auto;border:3px solid #8fbfd7;border-radius:50%;display:grid;place-items:center;background:white;color:#176c9d;font-weight:800}.is-solved .adventure-step{border-color:#40825a;color:#28633c;background:#f0f8f1}.is-locked .adventure-step{color:#7c8994}.adventure-card{min-width:0;padding:17px;border:1px solid #d0e6f1;border-radius:12px;background:white;box-shadow:0 3px 12px #0a446310}.adventure-date{color:var(--blue-dark);font-size:.88rem;font-weight:750}.adventure-card h2{margin:5px 0 10px;font-size:1.3rem}.adventure-card p{overflow-wrap:anywhere}.adventure-card form label,.game-editor label{display:block;font-weight:700;margin:12px 0 6px}.adventure-answer{display:flex;gap:9px}.adventure-answer input,.game-editor input:not([type=checkbox]),.game-editor textarea{min-width:0;width:100%;padding:10px;border:1px solid #98a6b5;border-radius:7px;font:inherit}.adventure-answer input{max-width:100px}.adventure-card details{margin:10px 0}.adventure-card summary{cursor:pointer;color:var(--blue-dark);font-weight:700}.adventure-digit,.adventure-code{padding:10px;background:#f1f8fb;border-radius:8px}.adventure-chest-icon{font-size:24px;background:#fff4dc;border-color:#c18a24;color:#81540b}.game-editor{margin-top:25px}.game-editor fieldset{margin:18px 0;padding:16px;border:1px solid #c6e5f4;border-radius:10px;min-width:0}.game-editor legend{font-weight:800;color:var(--blue-dark)}.game-editor textarea{resize:vertical}.game-publish{display:flex!important;align-items:center;gap:9px}.game-publish input{width:auto}.game-admin>p{line-height:1.6}
@media(max-width:620px){.adventure,.game-admin{margin:22px auto;padding:0 12px}.adventure-path:before{left:22px}.adventure-node{grid-template-columns:44px minmax(0,1fr);gap:10px;margin-bottom:16px}.adventure-step{grid-column:1;width:40px;height:40px}.adventure-left .adventure-card,.adventure-right .adventure-card{grid-column:2}.adventure-card{padding:14px}.game-editor fieldset{padding:12px}}

.adventure-state,.adventure-complete{padding:11px;background:#f1f8fb;border-radius:8px}.adventure-complete{background:#f0f8f1;color:#28633c}.adventure-direct{margin-top:18px;padding:12px;background:#fff4dc;border-left:4px solid #bb780c}.adventure-code strong{letter-spacing:.2em;font-size:1.4em}.adventure-card input[name=visit_code]{display:block;max-width:320px;width:100%;padding:10px;border:1px solid #98a6b5;border-radius:7px;font:inherit}.game-editor input[type=password]{width:100%;max-width:400px}

.adventure-chest .adventure-card{grid-column:1/-1;grid-row:2;margin-top:14px}.adventure-visit{padding:20px;border:1px solid #c6e5f4;background:#f5fbfe;border-radius:10px}.adventure-visit input{display:block;width:min(100%,420px);padding:12px;font:inherit;margin:10px 0}.adventure-visit label{font-weight:700}.adventure-visit .button{margin-top:8px}
@media(max-width:620px){.adventure-chest .adventure-card{grid-column:2;grid-row:1;margin-top:0}.adventure-answer{flex-wrap:wrap}}

.adventure-path:before{display:none}.adventure-trail{position:absolute;left:calc(50% - 40px);top:0;width:80px;height:100%;pointer-events:none}.adventure-card{position:relative;z-index:1}@media(max-width:620px){.adventure-trail{left:4px;width:36px}}
