/* meta.css — title, profile, dex */
#scr-title { overflow: hidden; background: #000; }
.ttl-bg { position: absolute; inset: -6%; background: #101010 url(../assets/cover-bg.webp) center/cover no-repeat; animation: ttlDrift 26s ease-in-out infinite alternate; }
@keyframes ttlDrift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-2%, -1.5%); } }
.ttl-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: radial-gradient(ellipse at 50% 100%, rgba(255,110,30,.55), rgba(255,60,20,.15) 55%, transparent 75%); animation: ttlGlow 3.2s ease-in-out infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes ttlGlow { 50% { opacity: .45; transform: scale(1.05); } }
.ttl-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), transparent 30%, transparent 55%, rgba(0,0,0,.6)); pointer-events: none; }
.ttl-top { position: absolute; left: 0; right: 0; top: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ttl-logo { width: 82%; max-height: 33vh; object-fit: contain; animation: ttlDrop .6s cubic-bezier(.2,1.5,.4,1) both, ttlFloat 3.4s ease-in-out .7s infinite; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
@keyframes ttlDrop { from { transform: translateY(-120%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ttlFloat { 50% { transform: translateY(-6px); } }
.ttl-tag { font-size: 14px; font-weight: 700; color: #ffe6c8; text-shadow: 0 1px 4px #000, 0 0 10px #000; text-align: center; padding: 0 20px; }
.ttl-bottom { position: absolute; left: 0; right: 0; bottom: 70px; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 24px; }
.ttl-prompt { font-size: 18px; font-weight: 800; color: #fff; text-shadow: 0 2px 6px #000; animation: ttlPulse 1.4s ease-in-out infinite; text-align: center; }
@keyframes ttlPulse { 50% { opacity: .4; transform: scale(.97); } }
.ttl-btn { width: 100%; max-width: 300px; min-height: 52px; font-size: 18px; }
.ttl-best { font-size: 13px; color: #ffd9a8; text-shadow: 0 1px 4px #000; }
.ttl-trophy { position: absolute; right: 10px; top: 4px; width: 48px; height: 48px; border-radius: 12px; background: rgba(16,16,16,.7); border: 1px solid #444; color: #ffd34d; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; z-index: 5; }
.ttl-trophy { z-index: 6; }
.ttl-trophy-ic { font-size: 24px; line-height: 1; }
.ttl-modal { position: absolute; inset: 0; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; z-index: 10; animation: scrIn .2s; }
.ttl-box { width: 82%; max-width: 330px; background: var(--bg2); border: 1px solid #3a3a3a; border-radius: 18px; padding: 20px 16px; display: flex; flex-direction: column; gap: 12px; text-align: center; }
.ttl-box p { margin: 0; font-size: 15px; line-height: 1.5; }

.prf-head, .dex-head { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.prf-head h1, .dex-head h1 { margin: 0; font-size: 20px; font-weight: 800; flex: 1; }
.prf-back { width: 48px; height: 48px; border-radius: 50%; background: var(--bg3); border: 0; color: #fff; font-size: 22px; cursor: pointer; flex: none; }
.prf-welcome { font-size: 14px; color: var(--flame2); margin: 4px 0 8px; }
.prf-me { display: flex; align-items: center; gap: 14px; margin: 8px 0 14px; }
.prf-av { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: #333; border: 4px solid #555; flex: none; }
.prf-who { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.prf-who b { font-size: 18px; word-break: break-all; }
.prf-lab { font-size: 13px; font-weight: 700; color: var(--muted); margin: 14px 0 6px; }
.prf-in { width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; color: #fff; font-size: 16px; padding: 12px; min-height: 46px; outline: 0; }
.prf-in:focus, .prf-in.kfocus { border-color: var(--blue); }
textarea.prf-in { resize: none; height: 78px; }
.prf-avs, .prf-rings { display: flex; gap: 10px; flex-wrap: wrap; }
.prf-avb { width: 64px; height: 64px; border-radius: 50%; padding: 0; border: 3px solid #333; background: #333; overflow: hidden; cursor: pointer; }
.prf-avb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.prf-avb.on, .prf-sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--flame); }
.prf-seg { display: flex; gap: 6px; }
.prf-seg button { flex: 1; min-height: 46px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; padding: 6px 4px; }
.prf-seg button.on { background: var(--flame); border-color: var(--flame); }
.prf-hint { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.prf-sw { width: 46px; height: 46px; border-radius: 50%; border: 3px solid #222; cursor: pointer; padding: 0; }
.prf-skins { display: flex; gap: 8px; }
.prf-sk { flex: 1; background: var(--bg2); border: 2px solid var(--line); border-radius: 14px; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; min-height: 110px; justify-content: center; text-align: center; }
.prf-sk img { width: 48px; height: 48px; object-fit: contain; }
.prf-sk .crk { font-size: 34px; height: 48px; line-height: 48px; }
.prf-sk.on { border-color: var(--flame); background: #2a1a12; }
.prf-sk small { font-size: 12px; color: var(--flame2); }
.prf-ver { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; background: var(--bg2); border: 2px solid var(--line); border-radius: 14px; padding: 8px 12px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 56px; text-align: left; }
.prf-ver img { width: 40px; height: 40px; object-fit: contain; }
.prf-ver.on { border-color: var(--blue); }
.prf-save { display: flex; margin: 22px auto 0; width: 100%; max-width: 320px; min-height: 52px; }

.dex-prog { margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.dex-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.dex-tabs button { flex: 1; min-height: 46px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.dex-tabs button.on { background: #fff; color: #000; }
.dex-list { display: flex; flex-direction: column; gap: 10px; }
.dex-card { display: flex; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.dex-card.lock { background: #0a0a0a; border-style: dashed; color: #666; align-items: center; }
.dex-th { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; background: #333; }
.dex-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.dex-body b { font-size: 15px; }
.dex-body p { margin: 0; font-size: 13px; color: #ccc; line-height: 1.4; }
.dex-stat { font-size: 12px; color: var(--flame2); font-weight: 700; }
.dex-src { font-size: 11px; color: var(--muted); line-height: 1.35; word-break: break-all; user-select: text; -webkit-user-select: text; }
.dex-ph { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: #333; }
.dex-ph.sil { filter: brightness(0); opacity: .5; }
