/*
Theme Name: 夢魂 (Yumetama)
Theme URI: https://yume-uranai.info
Author: aon000
Description: 前世・来世に特化したスピリチュアル夢占いポータルサイト
Version: 1.0.0
Text Domain: yumetama
*/

:root {
  --bg: #06060f;
  --bg2: #0a0a16;
  --card: #0e0e1e;
  --card-h: #131328;
  --text: #e8e4f0;
  --text2: #a8a0b8;
  --muted: #686080;
  --gold: #c9a84c;
  --gold-l: #e8cb6a;
  --gold-g: rgba(201,168,76,.2);
  --indigo: #2a2560;
  --teal: #5eead4;
  --border: rgba(201,168,76,.1);
  --glow: 0 0 30px rgba(201,168,76,.1);
  --grad: linear-gradient(135deg, #c9a84c, #e8cb6a 40%, #5eead4);
  --r: 10px;
  --r-lg: 18px;
  --r-xl: 24px;
  --fd: 'Shippori Mincho', serif;
  --fb: 'Zen Kaku Gothic New', sans-serif;
  --fu: 'M PLUS 1', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; line-height: 1.9; }
a { color: var(--gold-l); text-decoration: none; }
::selection { background: var(--gold); color: #000; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
.ctn { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* Canvas */
#canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Network Bar */
.net { background: rgba(6,6,15,.92); border-bottom: 1px solid var(--border); padding: 5px 0; font-size: .7rem; position: fixed; top: 0; left: 0; right: 0; z-index: 200; backdrop-filter: blur(12px); }
.net-in { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.net-l { color: var(--muted); font-family: var(--fu); }
.net-links { display: flex; gap: 14px; }
.net-links a { color: var(--muted); font-family: var(--fu); }
.net-links a:hover, .net-links a.cur { color: var(--gold); }

/* Header */
.hdr { position: fixed; top: 26px; left: 0; right: 0; z-index: 100; background: rgba(6,6,15,.88); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.hdr-in { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 58px; }
.logo { font-family: var(--fd); font-size: 1.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .06em; cursor: pointer; }
.logo small { font-size: .68rem; -webkit-text-fill-color: var(--muted); margin-left: 6px; font-family: var(--fb); font-weight: 300; }
.nav { display: flex; gap: 20px; }
.nav a { font-size: .82rem; color: var(--text2); cursor: pointer; }
.nav a:hover { color: var(--gold); }

/* Buttons */
.auth-btns { display: flex; gap: 8px; }
.btn-s { padding: 6px 16px; border-radius: 100px; font-size: .78rem; cursor: pointer; font-family: var(--fu); font-weight: 500; border: none; transition: all .3s; }
.btn-l { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-l:hover { border-color: var(--gold); }
.btn-r { background: var(--grad); color: #000; }
.btn-r:hover { box-shadow: var(--glow); }

/* User Menu */
.usr { display: none; align-items: center; gap: 8px; cursor: pointer; position: relative; }
.usr .av { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: #000; font-weight: 700; font-family: var(--fu); }
.usr .un { font-size: .82rem; color: var(--text2); }
.usr-dd { position: absolute; top: 44px; right: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); min-width: 180px; display: none; overflow: hidden; z-index: 110; }
.usr-dd.active { display: block; }
.usr-dd a { display: block; padding: 10px 16px; font-size: .84rem; color: var(--text2); border-bottom: 1px solid rgba(201,168,76,.06); cursor: pointer; }
.usr-dd a:hover { background: var(--card-h); }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 110px 24px 70px; position: relative; }
.hero::before { content: ''; position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,76,.05), rgba(42,37,96,.06), transparent 70%); filter: blur(60px); animation: p 10s ease-in-out infinite; }
@keyframes p { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: .4; } 50% { transform: translate(-50%,-50%) scale(1.1); opacity: 1; } }

.mandala { width: 120px; height: 120px; margin-bottom: 24px; position: relative; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.m-ring { position: absolute; border: 1px solid rgba(201,168,76,.2); border-radius: 50%; }
.m-ring:nth-child(1) { top: 0; left: 0; right: 0; bottom: 0; }
.m-ring:nth-child(2) { top: 15%; left: 15%; right: 15%; bottom: 15%; border-color: rgba(201,168,76,.3); }
.m-ring:nth-child(3) { top: 30%; left: 30%; right: 30%; bottom: 30%; border-color: rgba(201,168,76,.5); }
.m-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2rem; }

.hero h1 { font-family: var(--fd); font-size: clamp(2.2rem,5vw,3.6rem); font-weight: 800; margin-bottom: 6px; background: linear-gradient(135deg,#fff,#c9a84c,#e8cb6a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .06em; animation: fu .7s ease-out; }
.hero-sub { font-family: var(--fd); font-size: clamp(.82rem,1.8vw,.98rem); color: var(--text2); margin-bottom: 36px; letter-spacing: .18em; animation: fu .7s ease-out .12s both; }
.hero-concept { max-width: 520px; font-size: .88rem; color: var(--text2); line-height: 2.1; margin-bottom: 40px; animation: fu .7s ease-out .22s both; }
@keyframes fu { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Search */
.srch { width: 100%; max-width: 620px; margin: 0 auto; animation: fu .7s ease-out .32s both; }
.srch-box { position: relative; }
.srch-box input { width: 100%; padding: 16px 52px 16px 22px; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r-lg); color: var(--text); font-size: .98rem; font-family: var(--fb); outline: none; transition: all .4s; }
.srch-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-g); }
.srch-box input::placeholder { color: var(--muted); }
.srch-btn { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 11px; background: var(--grad); border: none; cursor: pointer; color: #000; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.hints { margin-top: 10px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: center; }
.hints .lb { font-size: .74rem; color: var(--muted); }
.hints span { font-size: .74rem; color: var(--gold); background: rgba(201,168,76,.06); padding: 3px 11px; border-radius: 100px; cursor: pointer; border: 1px solid transparent; transition: all .3s; }
.hints span:hover { background: rgba(201,168,76,.14); border-color: var(--gold-g); }

/* Section */
.main { padding: 36px 0 60px; }
.sh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.st { font-family: var(--fd); font-size: 1.22rem; font-weight: 700; display: flex; align-items: center; gap: 9px; letter-spacing: .03em; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Soul Grid */
.soul-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.soul-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px 20px; cursor: pointer; transition: all .4s; position: relative; overflow: hidden; }
.soul-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.soul-card:hover { background: var(--card-h); transform: translateY(-3px); box-shadow: var(--glow); }
.soul-card:hover::after { opacity: 1; }
.soul-card .si { font-size: 1.6rem; margin-bottom: 5px; display: block; }
.soul-card .sn { font-size: .92rem; font-weight: 600; margin-bottom: 3px; font-family: var(--fd); }
.soul-card .sp { font-size: .76rem; color: var(--gold); font-family: var(--fu); margin-bottom: 3px; }
.soul-card .sm { font-size: .78rem; color: var(--text2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Quiz */
.quiz-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; text-align: center; margin-bottom: 48px; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 20px 0; }
.quiz-opt { padding: 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r); cursor: pointer; transition: all .3s; text-align: left; }
.quiz-opt:hover { border-color: var(--gold); background: rgba(201,168,76,.04); }
.quiz-opt.sel { border-color: var(--gold); background: rgba(201,168,76,.08); box-shadow: var(--glow); }
.quiz-opt .qe { font-size: 1.3rem; margin-bottom: 3px; display: block; }
.quiz-opt .qt { font-size: .86rem; font-weight: 500; }
.quiz-opt .qs { font-size: .72rem; color: var(--muted); margin-top: 1px; }

/* Blueprint */
.bp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; text-align: center; margin-bottom: 48px; }
.bp-inputs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 16px 0; }
.bp-inputs input { padding: 10px 14px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r); color: var(--text); font-size: .88rem; font-family: var(--fb); outline: none; transition: all .3s; }
.bp-inputs input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-g); }
.bp-btn { padding: 12px 32px; border-radius: var(--r-lg); background: var(--grad); border: none; color: #000; font-size: .9rem; font-weight: 700; cursor: pointer; transition: all .3s; font-family: var(--fb); }
.bp-btn:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.bp-result { display: none; margin-top: 20px; text-align: left; padding: 20px; background: rgba(201,168,76,.04); border: 1px solid var(--border); border-radius: var(--r); }
.bp-result.active { display: block; animation: fu .5s ease-out; }

/* Blur Wrap (for logged out users) */
.blur-wrap { position: relative; }
.blur-ct { filter: blur(7px); pointer-events: none; user-select: none; }
.blur-cta { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); text-align: center; z-index: 10; }
.blur-inner { background: rgba(6,6,15,.9); backdrop-filter: blur(10px); border: 1px solid var(--gold); border-radius: var(--r-xl); padding: 28px; max-width: 400px; margin: 0 auto; }
.blur-inner h3 { font-family: var(--fd); font-size: 1.05rem; margin-bottom: 6px; }
.blur-inner p { font-size: .82rem; color: var(--text2); margin-bottom: 14px; }
.blur-inner button { padding: 11px 26px; border-radius: 100px; background: var(--grad); border: none; color: #000; font-size: .88rem; font-weight: 600; cursor: pointer; }

/* Columns */
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 48px; }
.col-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: all .4s; }
.col-card:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.col-thumb { width: 100%; height: 130px; background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(42,37,96,.06)); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.col-body { padding: 16px 18px; }
.col-cat { font-size: .68rem; color: var(--gold); font-family: var(--fu); font-weight: 600; margin-bottom: 3px; }
.col-title { font-size: .9rem; font-weight: 500; margin-bottom: 5px; line-height: 1.4; }
.col-meta { font-size: .7rem; color: var(--muted); font-family: var(--fu); }

/* Ranking */
.rk-item { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 18px; margin-bottom: 8px; cursor: pointer; transition: all .4s; }
.rk-item:hover { background: var(--card-h); transform: translateX(4px); }
.rk-n { font-family: var(--fd); font-size: 1.3rem; font-weight: 700; min-width: 32px; text-align: center; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.rk-info { flex: 1; }
.rk-name { font-size: .9rem; font-weight: 500; }
.rk-stat { font-size: .7rem; color: var(--muted); font-family: var(--fu); }

/* Contact */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 48px; }
.ct-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; text-align: center; }
.ct-card h3 { font-family: var(--fd); font-size: 1rem; margin-bottom: 6px; }
.ct-card p { font-size: .8rem; color: var(--text2); margin-bottom: 14px; }
.ct-btn { padding: 10px 24px; border-radius: 100px; border: none; font-size: .85rem; font-family: var(--fb); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ct-web { background: var(--grad); color: #000; }
.ct-line { background: #06c755; color: #fff; }

/* Modal */
.mo { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(6,6,15,.85); backdrop-filter: blur(8px); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.mo.active { display: flex; }
.md { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-xl); max-width: 440px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; position: relative; box-shadow: 0 24px 80px rgba(0,0,0,.5); animation: mi .4s ease-out; }
.md-lg { max-width: 640px; }
@keyframes mi { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.mx { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(201,168,76,.1); border: 1px solid var(--border); color: var(--text2); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.mx:hover { background: var(--gold); color: #000; }

/* Auth Modal */
.at { font-family: var(--fd); font-size: 1.3rem; font-weight: 800; text-align: center; margin-bottom: 4px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.as { font-size: .84rem; color: var(--text2); text-align: center; margin-bottom: 18px; }
.tabs { display: flex; margin-bottom: 20px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.tab { flex: 1; padding: 10px; text-align: center; cursor: pointer; font-size: .84rem; font-family: var(--fu); font-weight: 500; background: transparent; color: var(--muted); border: none; }
.tab.active { background: var(--gold); color: #000; }

.sso-btns { display: flex; gap: 8px; margin-bottom: 12px; }
.sso-b { flex: 1; padding: 10px; border-radius: var(--r); border: 1px solid var(--border); background: var(--card); color: var(--text2); font-size: .78rem; font-family: var(--fu); cursor: pointer; text-align: center; }
.sso-b:hover { border-color: var(--gold); }
.sso-d { text-align: center; margin: 14px 0; font-size: .76rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.sso-d::before, .sso-d::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Form */
.fg { margin-bottom: 12px; }
.fl { display: block; font-size: .76rem; color: var(--text2); margin-bottom: 3px; font-family: var(--fu); font-weight: 500; }
.fl .rq { color: var(--teal); font-size: .66rem; margin-left: 2px; }
.fi { width: 100%; padding: 10px 14px; background: var(--card); border: 1.5px solid var(--border); border-radius: var(--r); color: var(--text); font-size: .88rem; font-family: var(--fb); outline: none; transition: all .3s; }
.fi:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-g); }
.fi::placeholder { color: var(--muted); }
select.fi { appearance: none; padding-right: 30px; }
.fr { display: flex; gap: 8px; }
.fr .fg { flex: 1; }
.fc { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: var(--text2); margin-bottom: 10px; cursor: pointer; }
.fc input { margin-top: 3px; accent-color: var(--gold); }
.fs { width: 100%; padding: 11px; border-radius: var(--r); background: var(--grad); border: none; color: #000; font-size: .92rem; font-family: var(--fb); font-weight: 700; cursor: pointer; margin-top: 4px; }
.ff { text-align: center; margin-top: 12px; font-size: .76rem; color: var(--muted); }
.ff a { color: var(--gold-l); cursor: pointer; }

/* 2FA */
.tfa-inputs { display: flex; gap: 7px; justify-content: center; margin-bottom: 14px; }
.tfa-input { width: 42px; height: 48px; text-align: center; font-size: 1.2rem; font-family: var(--fu); font-weight: 700; background: var(--card); border: 2px solid var(--border); border-radius: var(--r); color: var(--text); outline: none; }
.tfa-input:focus { border-color: var(--gold); }

/* Detail Modal */
.m-kw { font-family: var(--fd); font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .03em; }
.m-sub { font-size: .78rem; color: var(--muted); margin-bottom: 16px; font-family: var(--fu); }
.m-div { height: 1px; background: var(--border); margin: 14px 0; }
.m-sec { font-family: var(--fd); font-size: .96rem; font-weight: 700; margin-bottom: 8px; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.m-txt { font-size: .86rem; color: var(--text2); line-height: 2; margin-bottom: 14px; }
.m-traits { display: flex; flex-wrap: wrap; gap: 6px; }
.m-trait { padding: 4px 12px; border-radius: 100px; font-size: .72rem; background: rgba(201,168,76,.08); border: 1px solid var(--border); color: var(--gold); font-family: var(--fu); }

/* Diary */
.diary-sec { padding-top: 96px; min-height: 100vh; }
.d-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; margin-bottom: 20px; }
.d-form h3 { font-family: var(--fd); font-size: 1.1rem; margin-bottom: 14px; }
.d-ta { width: 100%; min-height: 110px; padding: 12px; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r); color: var(--text); font-size: .88rem; font-family: var(--fb); outline: none; resize: vertical; line-height: 1.8; }
.d-ta:focus { border-color: var(--gold); }
.d-ta::placeholder { color: var(--muted); }
.d-save { margin-top: 14px; padding: 11px 26px; border-radius: var(--r-lg); background: var(--grad); border: none; color: #000; font-size: .88rem; font-family: var(--fb); font-weight: 700; cursor: pointer; }
.d-entry { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 18px; margin-bottom: 8px; }

/* Daily Fortune */
.daily { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; margin-bottom: 48px; position: relative; overflow: hidden; }

/* Footer */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 36px 24px 18px; }
.ft-in { max-width: 1100px; margin: 0 auto; }
.ft-top { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 24px; }
.ft-brand { flex: 1; min-width: 220px; }
.ft-bn { font-family: var(--fd); font-size: 1rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; letter-spacing: .04em; }
.ft-brand p { font-size: .76rem; color: var(--muted); line-height: 1.8; }
.ft-links { flex: 1; min-width: 130px; }
.ft-links h4 { font-size: .7rem; color: var(--muted); font-family: var(--fu); margin-bottom: 8px; }
.ft-links a { display: block; font-size: .8rem; color: var(--text2); padding: 2px 0; }
.ft-net { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ft-net h4 { font-size: .7rem; color: var(--muted); font-family: var(--fu); margin-bottom: 6px; }
.ft-net-l { display: flex; gap: 14px; flex-wrap: wrap; }
.ft-net-l a { font-size: .76rem; color: var(--text2); }
.ft-net-l a:hover { color: var(--gold); }
.ft-btm { border-top: 1px solid var(--border); padding-top: 12px; font-size: .68rem; color: var(--muted); }

/* Mobile Nav */
.mob { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(6,6,15,.95); backdrop-filter: blur(16px); border-top: 1px solid var(--border); z-index: 100; padding: 6px 0; }
.mob-in { display: flex; justify-content: space-around; }
.mob-i { text-align: center; font-size: .58rem; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.mob-i .mi { font-size: 1.1rem; display: block; margin-bottom: 1px; }
.mob-i.active, .mob-i:hover { color: var(--gold); }

/* Toast */
.toast { position: fixed; bottom: 28px; right: 28px; z-index: 400; background: var(--card); border: 1px solid var(--gold); border-radius: var(--r); padding: 12px 20px; box-shadow: 0 8px 32px rgba(0,0,0,.4); display: none; align-items: center; gap: 8px; font-size: .84rem; max-width: 360px; }
.toast.active { display: flex; animation: fu .4s ease-out; }

/* Single Soul Keyword */
.single-soul { padding-top: 110px; min-height: 100vh; }
.single-soul .soul-header { text-align: center; margin-bottom: 40px; }
.single-soul .soul-emoji { font-size: 3rem; margin-bottom: 10px; display: block; }
.single-soul .soul-content-section { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; margin-bottom: 20px; }
.soul-score-bar { height: 6px; background: rgba(201,168,76,.1); border-radius: 3px; margin-top: 8px; }
.soul-score-fill { height: 100%; background: var(--grad); border-radius: 3px; transition: width .8s ease-out; }

/* Archive */
.archive-header { padding-top: 110px; text-align: center; margin-bottom: 40px; }
.archive-header h1 { font-family: var(--fd); font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); color: var(--text2); font-size: .84rem; }
.pagination .current { background: var(--gold); color: #000; border-color: var(--gold); }

/* Responsive */
@media(max-width:768px) {
  .nav { display: none; }
  .mob { display: block; }
  body { padding-bottom: 56px; }
  .soul-grid { grid-template-columns: 1fr 1fr; }
  .quiz-opts { grid-template-columns: 1fr 1fr; }
  .ct-grid { grid-template-columns: 1fr; }
  .ft-top { flex-direction: column; gap: 16px; }
  .fr { flex-direction: column; gap: 0; }
  .bp-inputs { flex-direction: column; align-items: center; }
}
@media(max-width:480px) {
  .soul-grid { grid-template-columns: 1fr; }
  .quiz-opts { grid-template-columns: 1fr; }
  .col-grid { grid-template-columns: 1fr; }
}
