.stack { display: grid; gap: 14px; }
.create { padding: 48px 16px 24px; display: grid; gap: 20px; max-width: 520px; margin: 0 auto; }
.create h1 { font-size: 44px; line-height: 0.95; }

.editor { max-width: 560px; margin: 0 auto; padding: 0 16px 96px; }
.editor-head { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) 0 12px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.editor-head .brand { font-size: 30px; color: var(--gold); line-height: 1; }
.chips { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.chip.ok { background: color-mix(in srgb, var(--fairway) 30%, transparent); color: #bff0d5; }

.preview { margin: 8px 0 8px; }

.block { margin-top: 28px; }
.block h2 { font-size: 30px; line-height: 1; margin-bottom: 10px; }
.hint { color: var(--muted); font-size: 14px; margin: -4px 0 12px; line-height: 1.4; }

.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-card { outline: 3px solid var(--gold); outline-offset: -3px; }
.photo.add { display: grid; place-content: center; justify-items: center; gap: 6px; border: 2px dashed rgba(217, 196, 154, 0.5); background: rgba(217, 196, 154, 0.05); cursor: pointer; padding: 8px; text-align: center; }
.photo.add span { font-size: 34px; line-height: 1; color: var(--gold); }
.photo.add small { font-size: 12px; font-weight: 700; color: var(--muted); }
.photo.add.extra { border-color: var(--line-2); background: none; }
.photo-heic { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-weight: 700; font-size: 13px; }
.photo-x { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.65); font-size: 18px; line-height: 1; cursor: pointer; }
.photo-card { position: absolute; left: 6px; right: 6px; bottom: 6px; border: 0; border-radius: 8px; padding: 5px 4px; font-size: 11px; font-weight: 800; background: rgba(0, 0, 0, 0.65); cursor: pointer; }
.photo.is-card .photo-card { background: var(--gold); color: #0c2340; }
.upload-status { margin-top: 10px; font-size: 13px; color: var(--gold); font-weight: 700; min-height: 1em; }

.token-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: -4px 0 12px; }
.token-head .hint { margin: 0; }
.token-left { flex: none; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.token-left b { font-size: 24px; font-weight: 400; letter-spacing: 0; color: var(--gold); margin-right: 2px; }
.token-left.done b { color: var(--fairway); }
.token-rows { display: grid; gap: 10px; }
.token-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; }
.token-slots { display: flex; gap: 6px; }
.slot { appearance: none; width: clamp(32px, 9vw, 44px); height: 42px; border-radius: 12px; border: 2px dashed rgba(255, 255, 255, 0.2); background: none; cursor: pointer; touch-action: manipulation; transition: transform 0.1s, background 0.15s; }
.slot:active { transform: scale(0.92); }
.slot.on { border: 2px solid var(--gold); background: radial-gradient(circle at 35% 35%, var(--gold-2), var(--gold)); box-shadow: 0 4px 14px rgba(217, 196, 154, 0.3); }

.save-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 35%); transform: translateY(110%); transition: transform 0.2s ease; pointer-events: none; }
.save-bar.show { transform: none; pointer-events: auto; }
.save-bar .btn { max-width: 528px; margin: 0 auto; display: block; font-size: 17px; padding: 15px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg button { appearance: none; padding: 12px 8px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-weight: 700; font-size: 15px; cursor: pointer; touch-action: manipulation; }
.seg button.on { background: var(--gold); border-color: var(--gold); color: #0c2340; }
.code-input { font-size: 30px; letter-spacing: 0.35em; text-align: center; }
.login-links { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.create .muted { color: var(--muted); margin: -6px 0 0; line-height: 1.45; }
.create .muted b { color: var(--text); }
.account-line { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14px; }
.linkish { appearance: none; background: none; border: 0; padding: 0; color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: underline; }
.seg-shapes button { display: grid; justify-items: center; gap: 4px; padding: 10px 6px 12px; }
.seg-shapes .shot-icon { width: 34px; height: 40px; }
.seg-shapes button.on .shot-icon { stroke: #0c2340; }
.seg-shapes button.on .shot-icon .shot-glow { stroke: rgba(12, 35, 64, 0.18); }

.golfer-wrap { display: grid; place-items: center; padding: 6px 0 2px; border-radius: 16px; background: radial-gradient(120% 90% at 50% 100%, rgba(79, 127, 192, 0.22), transparent 70%); }
.golfer-scene { width: min(100%, 300px); height: auto; overflow: visible; }
.gs-shadow { fill: rgba(0, 0, 0, 0.35); }
.gs-ball { fill: #fff; }
.gs-flight path { fill: none; stroke: #efe2c2; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.gs-flight .gs-flight-glow { stroke: rgba(239, 226, 194, 0.25); stroke-width: 11; }
.gs-flight { animation: gsFlight 0.5s ease-out both; }
@keyframes gsFlight { from { transform: translateY(6px); } }
.gs-figure { fill: var(--text); }

.hub { display: grid; gap: 8px; margin: 4px 0 16px; }
.hub a.btn { text-align: center; text-decoration: none; }
.hub-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hub-links .btn { padding: 10px 8px; }
.mock-as { display: grid; gap: 8px; }
.mock-as > span { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mock-as .hub-links { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
.hub .locked { opacity: 0.55; }
.field-hint { color: var(--muted); font-size: 13px; text-align: center; margin: 0; line-height: 1.4; }
.field-head { justify-content: space-between; }
.field-sort { margin: 4px 0 14px; }
.field-list { display: grid; gap: 8px; }
.field-row { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.field-row.you { border-color: var(--gold); }
.field-row summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; }
.field-row summary::-webkit-details-marker { display: none; }
.field-name { display: grid; line-height: 1.25; min-width: 0; }
.field-name b { font-size: 16px; }
.field-name em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-left: 4px; }
.field-name em.cap { color: var(--fairway); }
.field-name small { color: var(--muted); font-size: 12px; font-weight: 600; }
.field-ovr { margin-left: auto; font-size: 32px; color: var(--gold); line-height: 1; }
.field-card { padding: 0 10px 12px; }

.photos.slots { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos.slots .photo-actions button { font-size: 12px; padding: 9px 2px; }
.photos.slots .photo-actions button.take { font-size: 13px; padding: 11px 2px; }
.photos.slots .photo-label { font-size: 12px; }
.photo.empty { display: grid; align-content: space-between; padding: 10px; border: 2px dashed rgba(217, 196, 154, 0.5); background: rgba(217, 196, 154, 0.05); }
.photo-label { position: relative; z-index: 1; font-size: 13px; font-weight: 800; }
.photo.filled .photo-label { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 99px; background: rgba(0, 0, 0, 0.65); color: #bff0d5; font-size: 11px; }
.photo-actions { position: absolute; left: 6px; right: 6px; bottom: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.photo-actions.stacked { position: static; grid-template-columns: 1fr; }
.photo-actions button { appearance: none; border: 0; border-radius: 9px; padding: 9px 4px; font-size: 13px; font-weight: 800; background: rgba(0, 0, 0, 0.65); color: var(--text); cursor: pointer; touch-action: manipulation; }
.photo-actions button.take { background: var(--gold); color: #0c2340; font-size: 14px; padding: 12px 4px; }
.photo.empty .photo-actions button:not(.take) { background: var(--panel-2); }
.extras-lbl { margin: 14px 0 8px; }
.photos.extras { grid-template-columns: repeat(4, 1fr); }
.extra-btn { margin-top: 10px; }
.photo.empty .photo-label { color: var(--gold); font-size: 14px; }

.photo-actions.one { grid-template-columns: 1fr; }
.field-note { font-weight: 500; color: var(--dim); }
.tokens-locked { display: grid; gap: 6px; padding: 16px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--panel); text-align: center; }
.tokens-locked span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.photo-note { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.3; }
.editor-head .logo.brand { width: 64px; }

.intro { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(4, 10, 18, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.intro-panel { width: 100%; max-width: 460px; display: grid; gap: 18px; justify-items: center; padding: 28px 20px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); }
.intro-panel h2 { font-size: 40px; line-height: 1; text-align: center; }
.intro-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.intro-list li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.4; color: var(--muted); }
.intro-list li > span { font-size: 24px; line-height: 1; }
.intro-list b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.field-pop { width: 100%; max-width: 420px; }
.editor-head.field-head { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.field-row.pinned:not(.you) { border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }

/* Walkout song (profile and /walkout) */
.song { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); color: inherit; text-decoration: none; }
.song img, .song-art { width: 76px; height: 76px; border-radius: 10px; flex: none; object-fit: cover; }
.song-art { display: grid; place-items: center; font-size: 34px; color: var(--gold); background: var(--panel-2); }
.song-text { display: grid; gap: 2px; min-width: 0; line-height: 1.25; }
.song-text b { font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-text span { color: var(--muted); font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.song-start { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.song-remove { justify-self: start; }
.field-count { color: var(--muted); font-size: 13px; font-weight: 700; }
