
:root{color-scheme:light;--ink:#29365d;--muted:#58627d;--green:#245cad;--mint:#dcefff;--line:#dae1f2;--paper:#fffdf5;--coral:#ff94c4}*{box-sizing:border-box}body{margin:0;background:#e6f2ff;color:var(--ink);font:18px/1.65 -apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.6}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #146eae;outline-offset:3px}button{border:0;background:none}button,input{min-height:48px}p{margin:0 0 16px}h1,h2,h3{line-height:1.4;margin:0 0 12px}h1{font-size:26px}h2{font-size:22px}h3{font-size:19px}small,.small{font-size:14px;color:var(--muted)}.app{max-width:480px;margin:24px auto;background:var(--paper);box-shadow:0 12px 60px #2c4a3715;border-radius:28px;min-height:820px;overflow:hidden;position:relative}.demo{background:#ffe69a;text-align:center;color:#685019;font-size:13px;padding:7px 12px;font-weight:600}.brand{display:flex;align-items:center;gap:10px;padding:20px 22px 12px;font-size:21px;font-weight:750;letter-spacing:.04em}.brand .mark{display:grid;place-items:center;background:var(--green);color:white;border-radius:15px;width:40px;height:40px}.brand small{margin-left:auto;letter-spacing:0;font-weight:500}.icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;flex-shrink:0}.content{padding:16px 22px 24px;min-height:640px}.eyebrow{color:var(--green);font-size:14px;font-weight:700;margin-bottom:8px;letter-spacing:.09em}.section{margin-top:26px}.card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px}.balance{background:#ffeb9a;border:0;position:relative}.balance .number{font-size:48px;line-height:1.2;letter-spacing:-.03em;font-weight:750}.balance .unit{font-size:20px;margin-left:5px}.balance .row{align-items:flex-end;margin:8px 0}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{display:inline-block;border-radius:99px;background:#fff9;padding:4px 10px;font-size:13px;font-weight:600}.muted{color:var(--muted)}.primary,.secondary,.danger{border-radius:14px;min-height:54px;padding:12px 18px;font-weight:650}.primary{background:var(--green);color:white}.secondary{background:white;border:1px solid #bacbed}.danger{color:#a33525;background:#fff0ed}.full{width:100%}.mode-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.mode{border:1.5px solid var(--line);border-radius:16px;background:white;min-height:102px;padding:10px 3px;text-align:center;font-size:17px;font-weight:650}.mode small{display:block;font-size:12px;margin-top:6px;font-weight:400}.mode[aria-pressed=true]{border:2px solid var(--green);background:var(--mint);color:var(--green)}.choice{display:block;font-size:12px;min-height:19px;margin-bottom:3px}.record{background:var(--coral);color:#642144;min-height:94px;font-size:24px;border-radius:22px;width:100%;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:700;box-shadow:0 5px 0 #df639d}.record .icon{width:30px;height:30px}.hint{font-size:14px;color:var(--muted);margin:12px 0;text-align:center}.join{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:20px}.join p{margin:0;font-size:15px}.join button{border-radius:12px;background:#e9e1ff;padding:8px 12px;font-size:14px;font-weight:650;white-space:nowrap}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);background:#fffdfaf5;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);padding:8px 10px max(10px,env(safe-area-inset-bottom));z-index:5;backdrop-filter:blur(12px)}.nav button{font-size:13px;font-weight:650;display:flex;align-items:center;flex-direction:column;gap:4px;padding:8px 0;border-radius:14px;color:var(--muted)}.nav button[aria-current=page]{background:var(--mint);color:var(--green)}.search{display:block;width:100%;border-radius:14px;border:1px solid #bacbed;padding:12px;background:white;color:var(--ink)}.calendar{padding:15px;margin:18px 0}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.cal-grid .weekday{font-size:12px;color:var(--muted);padding:8px 0}.day{min-height:46px;padding:3px 0;font-size:15px;border-radius:10px;position:relative}.day small{display:block;font-size:9px;line-height:10px;height:10px;color:var(--green)}.day.today{box-shadow:inset 0 0 0 1px var(--green)}.day[aria-pressed=true]{background:var(--green);color:white}.day[aria-pressed=true] small{color:white}.month{font-size:18px;font-weight:650}.month button{padding:4px 10px}.text-btn{color:var(--green);text-decoration:underline;font-size:15px}.history-item{display:block;text-align:left;background:white;border:1px solid var(--line);border-radius:16px;padding:16px;width:100%;margin:10px 0}.history-item strong{display:block;font-size:19px}.history-item p{font-size:14px;margin:6px 0 0;color:var(--muted)}.label{display:inline-block;font-size:12px;background:#f0eee6;color:#675c44;border-radius:6px;padding:2px 6px}.switch{display:flex;background:#e8eeff;border-radius:14px;padding:5px;gap:4px;margin:18px 0}.switch button{flex:1;border-radius:10px;font-size:17px;font-weight:650}.switch button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #0000000a;color:var(--green)}.plan{display:flex;width:100%;text-align:left;align-items:center;justify-content:space-between;border:1.5px solid var(--line);background:white;border-radius:16px;padding:14px 16px;margin:10px 0;gap:8px}.plan strong{display:block;font-size:23px}.plan small{display:block;font-size:13px}.plan .pt{text-align:right;font-size:20px;font-weight:650}.plan .bonus{font-size:12px;color:var(--green);font-weight:600}.plan[aria-pressed=true]{border:2px solid var(--green);background:var(--mint)}.shop-action{margin-top:20px}.gift{background:#fff0a8;border:0;text-align:center;padding:30px 20px}.gift-icon{height:72px;width:72px;border-radius:24px;background:#ffd254;display:grid;place-items:center;margin:0 auto 18px;color:#785210}.gift-icon .icon{width:38px;height:38px}.facts{padding:0;list-style:none;margin:22px 0}.facts li{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:16px}.facts strong{white-space:nowrap}.demo-note{font-size:14px;color:var(--muted);margin-top:20px}.toast{position:fixed;bottom:105px;left:50%;transform:translateX(-50%);width:min(410px,calc(100% - 40px));padding:14px 18px;background:#354e88;color:white;border-radius:14px;z-index:30;font-size:15px;box-shadow:0 5px 30px #0002}.toast:empty{display:none}dialog{width:min(440px,calc(100% - 28px));border:0;border-radius:24px;padding:24px;background:var(--paper);color:var(--ink);max-height:85dvh;overflow:auto;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#29365d88;backdrop-filter:blur(3px)}dialog .actions{display:flex;gap:10px;margin-top:22px}dialog .actions button{flex:1}.field{display:block;margin:14px 0;font-size:15px;font-weight:650}.field input,.field textarea{margin-top:6px;width:100%;padding:12px;border:1px solid #bacbed;border-radius:12px;color:var(--ink);background:white;font-size:18px}.field textarea{min-height:150px;resize:vertical}.error{color:#a33525;font-size:14px}.record-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}.time{font-size:23px;font-variant-numeric:tabular-nums;color:#a92e65;white-space:nowrap}.chat{min-height:300px}.bubble{border-radius:18px 18px 18px 4px;background:#dcefff;padding:15px 17px;margin-bottom:15px;max-width:95%;font-size:17px}.bubble:nth-child(even){background:#ffe3ee;margin-left:auto;border-radius:18px 18px 4px 18px}.bubble:nth-child(3n){background:#eee3ff}.speaker{display:block;font-size:12px;color:var(--muted);margin-bottom:4px;font-weight:650}.partial{color:#58627d;font-size:15px;margin-bottom:20px}.record-actions{display:flex;gap:10px;margin:20px 0 12px}.record-actions button{flex:1}.summary{background:#fff0b5;padding:18px;border-radius:16px;white-space:pre-wrap;font-size:16px}.empty{text-align:center;padding:35px 10px;color:var(--muted)}.below{padding-bottom:90px;text-align:center;color:#58627d;font-size:13px;margin:18px auto 28px;max-width:460px}.below button{font-size:13px;text-decoration:underline}.detail-copy{white-space:pre-wrap}.read-title{overflow-wrap:anywhere}.history-item strong{overflow-wrap:anywhere}.app [hidden]{display:none!important}@media(max-width:520px){body{background:var(--paper)}.app{margin:0;max-width:none;border-radius:0;min-height:100dvh;box-shadow:none;display:flex;flex-direction:column}.content{flex:1;min-height:0}.nav{margin-top:auto}.below{padding:0 15px 100px}.brand{padding-top:16px}.mode{font-size:16px}.balance .number{font-size:44px}}@media(max-width:380px){.mode-list{grid-template-columns:1fr}.mode{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:10px 12px}.mode small{margin:0}.choice{margin:0;min-width:48px}.balance .row:first-child{flex-wrap:wrap}.balance .row:first-child>span:first-child{white-space:nowrap}.brand{font-size:20px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s,border-color .15s}button:active{transform:translateY(1px)}}

/* Playful palette: sunshine, sky blue, berry pink and lavender. */
.brand .mark{background:#ffd254;color:#614913}
.brand{color:#344681}
.mode[data-mode="standard"]{background:#e2f2ff;border-color:#a7d8fb;color:#24578b}
.mode[data-mode="high"]{background:#eee4ff;border-color:#d3baf5;color:#664096}
.mode[data-mode="realtime"]{background:#ffe3ef;border-color:#f5b3cf;color:#8b305a}
.mode[data-mode="standard"][aria-pressed=true]{background:#c5e6ff;border:2px solid #24578b}
.mode[data-mode="high"][aria-pressed=true]{background:#e4d1ff;border:2px solid #664096}
.mode[data-mode="realtime"][aria-pressed=true]{background:#ffcbe1;border:2px solid #8b305a}
.nav button[data-tab="home"]{color:#24578b}
.nav button[data-tab="history"]{color:#664096}
.nav button[data-tab="shop"]{color:#8b305a}
.nav button[data-tab="ads"]{color:#775510}
.nav button[aria-current="page"][data-tab="home"]{background:#d4ecff}
.nav button[aria-current="page"][data-tab="history"]{background:#eadeff}
.nav button[aria-current="page"][data-tab="shop"]{background:#ffe0ed}
.nav button[aria-current="page"][data-tab="ads"]{background:#ffeb9a}
.calendar{border-color:#d3baf5}
.month{color:#664096}
.history-item .label{background:#eee4ff;color:#664096}
.switch button[aria-pressed=true]{background:#ffdceb;color:#8b305a}
.plan[aria-pressed=true]{background:#fff1f7;border-color:#a83b71}
.plan .bonus{color:#8b305a}

/* Selected direction P: Pop Adventure. Colors have consistent functional roles. */
:root{--ink:#13375b;--muted:#476682;--green:#12657c;--mint:#d9f6f5;--line:#bfe3ef;--paper:#f2fbff;--coral:#ff9977}
body{background:#e4f4ff}
.app{background:linear-gradient(180deg,#bceaff 0,#e6f7ff 330px,#f3fbff 620px);box-shadow:0 12px 60px #24577918}
.demo{background:#d7f2ff;color:#244f72}
.brand{color:#13375b}.brand .mark{background:linear-gradient(145deg,#56c9ff,#268ee5);color:white;box-shadow:0 3px 0 #1874bc}
.eyebrow{color:#265c80}.brand small{color:#345c7c}
.balance{background:linear-gradient(120deg,#fff4ae,#ffdc68);border:2px solid #ffdc6a;box-shadow:inset 0 2px 0 #fff9d8,0 4px 0 #eac252; color:#16395b}
.balance small,.balance .small{color:#42556b}.pill{background:#fff8d4;color:#314d64}
.mode[data-mode]{background:linear-gradient(160deg,#f3fdff,#d9f3fb);border:2px solid #90d9e8;color:#174f71;box-shadow:0 3px 0 #b5e4ed}
.mode[data-mode][aria-pressed=true]{background:linear-gradient(140deg,#c1f6e8,#89e1da);border:2px solid #15847f;color:#125553;box-shadow:0 3px 0 #219e98}
.mode small{color:#42657a}.mode[aria-pressed=true] small{color:#265f61}
.record{background:linear-gradient(110deg,#ff917f,#ffbf7a);color:#68251f;box-shadow:inset 0 2px 0 #ffd6b9,0 5px 0 #d8755d;border:2px solid #ffa17e}
.primary{background:linear-gradient(110deg,#ff917f,#ffbf7a);color:#68251f;box-shadow:0 3px 0 #d8755d}
.secondary{background:#fff;border-color:#b9ddec;box-shadow:0 2px 0 #d3e8f0}
.join{border-color:#bfe3ef}.join button{background:#fff;border:1px solid #b9ddec;color:#234f74;box-shadow:0 2px 0 #d3e8f0}
.nav{background:#f6fcfffa;border-top:1px solid #bfe3ef}
.nav button[data-tab]{color:#476682;background:transparent}
.nav button[aria-current=page][data-tab]{background:linear-gradient(145deg,#d3f1ff,#b7e7ff);color:#155d94;box-shadow:0 2px 0 #95d7f3}
.calendar{background:#fff;border-color:#b9ddec}.month{color:#174f71}
.day.today{box-shadow:inset 0 0 0 1px #168a89}.day[aria-pressed=true]{background:#176f80;color:#fff}
.history-item{border-color:#b9ddec;box-shadow:0 2px 0 #daedf5}.history-item .label{background:#fff0b4;color:#694e1d}
.switch{background:#dceff8}.switch button[aria-pressed=true]{background:#fff1a9;color:#4e471d;box-shadow:0 2px 0 #e4cc6d}
.plan{border-color:#b9ddec}.plan[aria-pressed=true]{background:linear-gradient(120deg,#e2fcf3,#c4f3ef);border-color:#16847e;box-shadow:0 3px 0 #a6ded8}.plan .bonus{color:#17675f}
.gift{background:linear-gradient(125deg,#fff4ae,#ffdc68);border:2px solid #ffdf7c;box-shadow:inset 0 2px 0 #fff9dc,0 4px 0 #eac252}
.gift-icon{background:linear-gradient(145deg,#ff997f,#ffc17f);color:#68251f;box-shadow:0 3px 0 #e89364}
.gift .small{color:#42556b}.summary{background:#fff2b8;color:#233f56}
.bubble{background:#d9f1ff}.bubble:nth-child(even){background:#fff0b4}.bubble:nth-child(3n){background:#d0f3e7}
.toast{background:#1f5878;color:#fff}.time{color:#a53e2e}.search,.field input,.field textarea{border-color:#aacddd}
dialog{background:#f5fbff}dialog::backdrop{background:#14375388}
@media(max-width:520px){body{background:#f2fbff}}

/* P reference layout: sky, clouds and forest; split point card and game controls. */
.p-home .app{background:#e9f8ff}.p-home .app>.demo,.p-home .brand{display:none}
.p-home .content{padding:0 18px 14px}.p-home .p-hero{position:relative;margin:0 -18px;padding:18px 15px 25px;text-align:center;background:linear-gradient(#b6e9ff,#def5ff);isolation:isolate}
.p-scenery{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.p-top{display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:700;margin-bottom:8px}.p-demo{padding:5px 12px;border-radius:15px;background:#d1f1ff;box-shadow:0 3px 6px #5db6d933}.p-guest{display:flex;gap:6px;align-items:center}.p-guest .icon{width:22px;height:22px}
.p-logo{width:77px;height:55px;margin:0 auto 5px;position:relative;background:linear-gradient(150deg,#45bdff,#258bed);border-radius:25px;box-shadow:inset 1px 2px 2px #9bdcff,0 3px 0 #388ccb;color:white;display:flex;align-items:center;justify-content:center}
.p-logo:after{content:'';position:absolute;bottom:-9px;left:12px;border-width:12px 13px 0 0;border-style:solid;border-color:#278fec transparent transparent transparent}.p-logo span{font-size:32px;letter-spacing:3px;line-height:1;padding-bottom:4px}.p-logo i{position:absolute;width:17px;height:6px;right:-24px;top:8px;border-radius:8px;background:#ff9b7c;transform:rotate(-32deg)}.p-logo i:nth-of-type(2){top:22px;right:-29px;transform:rotate(0)}.p-logo i:nth-of-type(3){top:36px;transform:rotate(30deg)}
.p-wordmark{font-size:26px;font-weight:800;margin:10px 0 15px;letter-spacing:.04em}.p-hero h1{font-size:28px;letter-spacing:-.04em;margin-bottom:6px;font-weight:800;white-space:nowrap}.p-hero p{font-size:16px;font-weight:650;margin:0;color:#385f81}
.p-balance{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:13px 12px;margin-top:-7px;position:relative;border-radius:21px;box-shadow:inset 0 2px 0 #fffbe0,0 4px 0 #ebc657,0 7px 10px #639caf22}
.p-balance-left{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.p-balance-left>.icon{width:30px;height:39px}.p-balance-label{font-size:14px;font-weight:750;white-space:nowrap}.p-balance .number{font-size:40px}.p-balance .unit{font-size:20px;font-weight:750}
.p-duration{border-radius:15px;background:#fff3b0;box-shadow:inset 0 1px 0 #fff9d8,0 3px 8px #d5ac3b22;text-align:center;padding:9px 9px;min-width:116px}.p-duration span{display:block;font-size:12px;font-weight:700}.p-duration strong{font-size:26px;white-space:nowrap}
.p-modes{margin:23px 0 20px}.p-modes h2{font-size:23px;font-weight:800;margin-bottom:13px}.p-home .mode-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.p-home .mode[data-mode]{min-height:160px;padding:13px 3px 10px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-radius:20px;gap:5px;box-shadow:inset 0 2px 0 white,0 4px 0 #9ed9e5,0 6px 8px #529aac22}.p-home .mode[data-mode][aria-pressed=true]{box-shadow:inset 0 2px 0 #e3fff5,0 4px 0 #159c98,0 6px 8px #529aac22}
.p-home .mode>.icon{width:35px;height:35px;color:#1970ad;stroke-width:2.5}.p-home .mode[aria-pressed=true]>.icon{color:#078d91}.p-home .mode-name{font-size:16px;color:#13375b;font-weight:800;white-space:nowrap}.p-check{border:2px solid #8fbdce;border-radius:50%;width:22px;height:22px;color:transparent;display:grid;place-items:center;font-size:16px;line-height:1}.mode[aria-pressed=true] .p-check{background:#159c98;border-color:#159c98;color:white}.p-home .mode small{font-size:12px;margin:0;font-weight:650;white-space:nowrap}
.p-home .record{border-radius:48px;min-height:89px;border:3px solid #ffa480;box-shadow:inset 0 3px 0 #ffd6b5,inset 0 -5px 0 #ee8c68,0 5px 0 #d8785e,0 8px 10px #80766b22;font-size:24px;gap:15px}.p-home .record>.icon{width:39px;height:43px;stroke-width:2.6}
.p-apple{margin-top:24px;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;background:#fff;border:1.5px solid #d0e3ed;border-radius:21px;box-shadow:0 4px 0 #c5dbe7,0 6px 8px #64879d22;font-weight:750;font-size:20px;padding:12px;min-height:65px;color:#172638}.apple-symbol{font-size:33px;line-height:1}.apple-arrow{font-size:32px;color:#7d97b4;margin-left:8px}.p-footnote{margin:13px 0 0;font-size:11px;text-align:center;color:#476682}
.nav{padding-top:9px;padding-bottom:12px}.nav button{font-size:14px}.nav button>.icon{width:26px;height:26px;stroke-width:2.4}.nav button[aria-current=page]{position:relative}.nav button[aria-current=page]:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#ff8c6d;bottom:1px}
@media(max-width:360px){.p-home .content{padding-left:12px;padding-right:12px}.p-home .p-hero{margin-left:-12px;margin-right:-12px}.p-hero h1{font-size:24px}.p-hero p{font-size:13px}.p-balance-left{gap:5px}.p-balance-left>.icon{width:24px}.p-balance-label{font-size:12px}.p-balance .number{font-size:32px}.p-duration{min-width:102px;padding:8px 5px}.p-duration strong{font-size:23px}.p-duration span{font-size:11px}.p-home .mode-name{font-size:14px}.p-home .mode small{font-size:10px}.p-home .record{font-size:22px}.p-home .p-hero{padding-top:14px}}

/* Match the proportions and icon treatment of the approved P mockup. */
.p-home .p-hero{padding-bottom:22px}.p-top{font-size:12px}.p-demo{padding:5px 10px}.p-logo{width:64px;height:47px;margin-top:-26px;border-radius:22px}.p-logo span{font-size:35px}.p-wordmark{font-size:24px;margin:10px 0 18px}.p-hero h1{margin-top:0;font-size:29px}.p-hero p{font-size:15px}
.p-balance{padding:12px 15px;background:linear-gradient(120deg,#fff29a,#ffdc64);border-color:#ffdf6b;gap:14px}.p-balance-left{gap:12px;border-right:2px solid #efbf4f;padding-right:8px}.p-balance-left>.icon{flex-shrink:0;width:29px;height:36px}.p-balance .number{font-size:36px;line-height:1.2}.p-duration{min-width:126px;padding:8px}.p-duration strong{font-size:25px}.p-duration span{font-size:12px}
.p-home .mode[data-mode]{min-height:132px;border-color:#80dce6}.p-home .mode[data-mode][aria-pressed=true]{background:linear-gradient(130deg,#c2f8f1,#58e4d5);border-color:#0eb6a8}.p-home .mode>.icon{height:32px}.p-home .mode small{color:#5796aa}.p-home .mode[aria-pressed=true] small{color:#178f94}.p-home .mode .icon rect{fill:currentColor}.p-home .record{background:linear-gradient(110deg,#ff8d7b,#ffbf79);color:#751c19}.p-home .record .icon rect{fill:currentColor}.p-home .p-modes{margin-top:19px}.p-home .p-modes h2{font-size:23px}.p-apple{min-height:54px;margin-top:20px;padding:7px}.nav button[aria-current=page]>.icon{color:#476682;fill:none;stroke:currentColor}
@media(max-width:360px){.p-top{font-size:10px}.p-logo{width:57px;height:43px;margin-top:-20px}.p-hero h1{font-size:25px}.p-hero p{font-size:13px}.p-balance{padding:11px 9px;gap:9px}.p-balance-left{gap:5px;padding-right:5px}.p-balance-left>.icon{width:22px}.p-balance .number{font-size:29px}.p-duration{min-width:103px;padding:8px 4px}.p-duration span{font-size:10px}.p-duration strong{font-size:22px}}
.p-apple>.icon{width:28px;height:28px}.apple-official{display:block;margin:20px auto 12px;padding:0;border:0;background:transparent;width:280px;max-width:100%;border-radius:10px;box-shadow:none}.apple-official img{display:block;width:100%;height:auto}.apple-official:focus-visible{outline:3px solid #187cca;outline-offset:4px}
/* Compact left-aligned home identity. */
.p-home .p-hero{padding:17px 18px 20px}.p-top{margin-bottom:22px}.p-brand{display:flex;align-items:center;gap:12px}.p-brand .p-logo{width:39px;height:32px;border-radius:13px;margin:0}.p-brand .p-logo span{font-size:23px;letter-spacing:1px}.p-brand .p-logo:after{bottom:-5px;left:8px;border-width:7px 8px 0 0}.p-brand .p-logo i{display:none}.p-brand .p-wordmark{margin:0;font-size:23px;letter-spacing:0}.p-hero h1{margin:0 0 6px}.p-hero p{font-size:14px}.invite-card{margin-bottom:22px;padding:21px;background:linear-gradient(125deg,#d4fff3,#aee8ff);border:2px solid #8edcd1;border-radius:24px;box-shadow:0 4px 0 #8acfc7}.invite-card h2{margin:0 0 10px}.invite-card p{margin:8px 0 16px}.invite-amount{font-size:30px;color:#076b77;font-weight:800}.invite-code{display:block;padding:12px;background:white;border:2px dashed #83c8d4;border-radius:12px;text-align:center;letter-spacing:3px;font-size:23px;font-weight:800}.invite-result{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.invite-result>div{padding:12px;background:#e5faf3;border-radius:14px;text-align:center}.invite-result strong{display:block;font-size:24px;color:#087d70}.invite-status{font-weight:700;color:#076b77}
@media(max-width:360px){.p-home .p-hero{padding:14px 12px 18px}.p-brand{gap:9px}.p-brand .p-wordmark{font-size:21px}.p-hero p{font-size:13px}.p-top{margin-bottom:18px}}

/* Keep the landscape at its original height independently of compact content. */
.p-home .p-scenery{height:230px;bottom:auto}
.p-home .p-hero{background:transparent;padding-bottom:30px}
.p-home .app{background:linear-gradient(#b6e9ff 0px,#def5ff 230px,#e9f8ff 260px)}
.p-home .p-top{margin-bottom:30px}
.p-home .p-modes{margin-top:29px;margin-bottom:29px}
.p-home .p-modes h2{margin-bottom:18px}
.p-home .p-apple{margin-top:30px}
.p-home .p-footnote{margin-top:18px}
@media(max-width:360px){.p-home .p-scenery{height:216px}.p-home .p-hero{padding-bottom:28px}.p-home .p-top{margin-bottom:26px}}

.p-home .p-scenery{top:-10px}

.registration-card{margin-bottom:22px;padding:21px;background:#fff;border:2px solid #d0e3ed;border-radius:24px;box-shadow:0 4px 0 #c5dbe7}
.registration-card h2{margin:0 0 10px;font-size:23px;font-weight:800}
.registration-card h2 .icon{width:31px;height:31px;fill:#16395b;stroke:none;vertical-align:middle;margin-left:5px}
.registration-card p{margin:8px 0 16px}
.registration-amount{font-size:clamp(20px,6vw,30px);line-height:1.3;color:#16395b;font-weight:800}
.registration-action{display:block;width:100%;min-height:56px;padding:10px 14px;border:2px solid #ffa480;border-radius:18px;background:linear-gradient(110deg,#ff8d7b,#ffbf79);color:#751c19;box-shadow:0 3px 0 #d8785e;font-size:17px;font-weight:800}
.p-menu{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;color:#13375b;background:#ffffffc7;border:1px solid #bddce8}
.p-menu .icon{width:28px;height:28px}
.account-note{margin:20px 0 10px}
.account-links{display:flex;flex-direction:column;gap:8px;margin:10px 0 20px}
.account-delete{margin-top:12px}

/* Tier medals keep their metal color in both selected and unselected states. */
.p-home .mode[data-mode="standard"]>.icon{color:#b87333}
.p-home .mode[data-mode="high"]>.icon{color:#929eac}
.p-home .mode[data-mode="realtime"]>.icon{color:#d5a119}

.hide-page-brand .brand{display:none}

.nav button[aria-current=page]:after{display:none}
.search-wrap{display:block;position:relative;width:100%}
.search-wrap .search{padding-left:43px}
.search-glass{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:#557a91;stroke-width:2;stroke-linecap:round;pointer-events:none}

.p-home .mode>.metal-icon{filter:drop-shadow(0 1px 0 #ffffffb3)}

.p-home .legal{padding:18px 22px 115px;font-size:14px}.legal a{color:#176580}.busy{padding:32px;text-align:center}.form-note{font-size:14px;margin:14px 0}.field-check{display:flex;gap:10px;font-size:14px;margin:16px 0}.field-check input{min-height:24px;width:24px;flex-shrink:0}.nav[hidden]{display:none}.record-caption{text-align:center;margin:24px 0}.recording-dot{display:inline-block;width:12px;height:12px;background:#e55943;border-radius:50%;margin-right:10px}.read-title{font-size:24px}.dialog-error{min-height:20px}.legal h2{margin-top:24px}.detail-copy{overflow-wrap:anywhere}audio{width:100%;margin:10px 0}.p-modes .mode-list.single{grid-template-columns:1fr}.p-home .mode-list.single .mode{min-height:88px;flex-direction:row;padding:14px 20px}.nav{max-width:480px}.summary{overflow-wrap:anywhere}.below{padding-bottom:100px}.pending{margin:15px 0;padding:14px;border:1px solid #ddb54b;border-radius:14px;background:#fff6cb}

/* Transcript bubbles follow 営業録's conversation layout and palette. */
.minutes-chat-scroll { max-height: 520px; overflow-y: auto; padding: 8px 0; }
.minutes-bubble { background: var(--speaker-color); border-radius: 15px; padding: 12px 16px; margin: 12px auto 12px 0; max-width: 88%; width: fit-content; color: #243f35; }
.minutes-bubble-right { margin-left: auto; margin-right: 0; }
.minutes-bubble p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; margin: 5px 0 0; }
.minutes-speaker-name { color: #254537; font-size: 14px; font-weight: 700; }
.minutes-speaker-name:is(button) { background: transparent; border: 0; padding: 4px 0; cursor: pointer; text-align: left; text-decoration: underline dotted; }
.bubble-edit { display: block; margin-top: 8px; font-size: 12px; }
.minutes-bubble mark { background: #ffe89a; color: inherit; font-weight: 700; }
#all-audio-player audio { width: 100%; margin: 12px 0; }
#live-conversation { margin-top: 20px; }
#live-conversation .minutes-chat-scroll { max-height: 45vh; }
.field select { width: 100%; padding: 12px; font: inherit; border: 1px solid #b6d1dd; border-radius: 12px; background: white; }

/* History opens directly into the message conversation. */
.p-detail .read-title{font-size:21px;margin:4px 0 6px}
.p-detail .read-title~p.small{margin-bottom:4px}
.detail-tabs{margin:12px 0 8px}
#detail-conversation{margin-top:0}
#detail-conversation>.field{margin:8px 0}
#detail-conversation .minutes-chat-scroll{max-height:none;min-height:45dvh}
#detail-conversation .minutes-bubble{font-size:16px}
#detail-summary,#detail-audio{margin-top:16px}

/* Keep the last content above fixed navigation; the shop already has its footer spacer. */
:root{--bottom-nav-height:calc(100px + env(safe-area-inset-bottom,0px))}
html{scroll-padding-bottom:calc(var(--bottom-nav-height) + 24px)}
body:has(>#shop-footer[hidden]) .app:has(>.nav:not([hidden]))>.content{padding-bottom:calc(var(--bottom-nav-height) + 24px)}

/* 営業録 MinutesRecordingChat: fixed chrome, one scrolling conversation. */
body.p-record{background:#e9f8ff;overflow:hidden;height:100dvh;overscroll-behavior:none}
.p-record .app{position:fixed;inset:0;margin:0 auto;width:min(480px,100%);height:100dvh;min-height:0;max-height:100dvh;border-radius:0;box-shadow:none;background:#e9f8ff;overflow:hidden}
.p-record .app>.content{padding:0!important;min-height:0;height:100%;overflow:hidden}
.recording-screen{height:100%;display:flex;flex-direction:column;color:#233f56;font-size:14px;line-height:1.5}
.recording-header{background:linear-gradient(120deg,#b6e9ff,#def5ff);color:#13375b;display:flex;align-items:center;gap:12px;flex:none;min-height:80px;padding:calc(12px + env(safe-area-inset-top)) 20px 12px;border-bottom:1px solid #b5deed}
.recording-header #record-title-edit{display:flex;align-items:center;gap:6px;min-width:0;flex:1;text-align:left;color:#13375b;padding:12px 0;min-height:56px;font-size:17px;font-weight:600;border-radius:8px}
.recording-header #record-title-edit span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recording-header svg{flex:none}
.recording-clock{display:flex;flex-direction:column;align-items:center;flex:none;line-height:1.45}.recording-clock span{font-size:11px}.recording-clock strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.recording-conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 20px 28px;overflow-wrap:anywhere}
.p-record #live-conversation{margin-top:0}
.p-record #live-conversation .minutes-chat-scroll{max-height:none;height:auto;overflow:visible;padding:0;border:0;background:transparent}
.recording-conversation .minutes-bubble{width:88%;max-width:88%;margin:6px 0;padding:12px;border-radius:14px;box-shadow:none;border:0}
.recording-conversation .minutes-bubble-right{margin-left:auto}.recording-conversation .minutes-speaker-name{display:block;min-height:32px;padding:5px 0;color:#233f56;font-weight:700;font-size:14px}
.recording-conversation .minutes-bubble p{font-size:15px;line-height:1.5;margin:0;white-space:pre-wrap}.recording-speaker-hint{font-size:12px;padding:8px 0;margin:0}
.recording-empty{text-align:center;margin:0;padding:32px 0;font-size:14px}.recording-empty.standard-empty{padding:48px 0;line-height:1.8;color:#0009}
.recording-conversation .partial{color:grey;padding:12px;margin:0;font-size:14px}.recording-conversation .partial:empty{display:none}
.recording-summary{background:#fff2b8;border-radius:18px;margin:10px 0;padding:16px}.recording-summary strong{font-size:14px}.recording-summary p{margin:8px 0 0;white-space:pre-wrap;font-size:14px}
.recording-controls{flex:none;background:white;border-top:1px solid #b5deed;padding:20px 20px calc(24px + env(safe-area-inset-bottom));color:#17675f}
.recording-controls-row{display:flex;gap:12px}.recording-controls-row>button{flex:1;min-width:0}
.recording-controls .recording-outline{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #80dcd2;border-radius:16px;min-height:48px;margin:0;padding:12px;font-size:14px;line-height:1.35;font-weight:500;color:#17675f;background:linear-gradient(130deg,#e2fcf3,#c4f3ef)}
.recording-wide{width:100%}.recording-controls .recording-wide{margin-bottom:12px}.recording-controls .recording-stop{width:100%;min-height:56px;margin-top:14px;padding:14px 16px;border-radius:18px;background:linear-gradient(110deg,#ff8d7b,#ffbf79);color:#751c19;border:1px solid #ffa480;box-shadow:inset 0 2px 0 #ffd6b5,0 3px 0 #df8b67;font-size:14px;font-weight:800}
.recording-error{font-size:12px;color:#b3261e;max-height:64px;overflow-y:auto;margin:0}.recording-error:empty{display:none}
.record-saving{height:4px;background:linear-gradient(90deg,#176fad 40%,#d8e7f1 40%);margin-bottom:8px}.recording-controls button:disabled{opacity:.45}

.recording-controls .recording-error:not(:empty){margin-bottom:12px}
@media(max-height:600px){.recording-header{min-height:68px;padding-top:calc(6px + env(safe-area-inset-top));padding-bottom:6px}.recording-controls{padding-top:12px;padding-bottom:calc(16px + env(safe-area-inset-bottom))}}

/* Audio controls wrap to available space; expanded players get their own row. */
#detail-audio .audio-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}
#detail-audio .audio-actions>button{flex:1 1 150px;min-width:0;padding:12px 16px}
#audio-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));gap:12px;margin-top:24px;align-items:start}
#audio-list>button{width:100%;min-width:0;padding:12px 10px;font-size:15px}
#audio-list>div{grid-column:1 / -1;min-width:0}
#audio-list>div:empty,#all-audio-player:empty{display:none}
#detail-audio audio{display:block;width:100%;max-width:100%;margin:8px 0 12px}
#detail-audio #audio-progress{margin:12px 0}
#detail-audio #audio-progress-bar{display:block;width:100%;height:10px;accent-color:#176580;margin:0 0 12px}
#detail-audio #audio-progress-bar[hidden]{display:none}
#detail-summary #save-text{display:block;width:100%;margin-bottom:12px;white-space:normal}

/* Use tablet and larger screen width, keeping the existing phone layout. */
@media(min-width:521px){
 .app{width:100%;max-width:none;margin:0;border-radius:0;min-height:100dvh;box-shadow:none}
 .nav{width:100%;max-width:none}
 .p-record .app{width:100%;max-width:none}
 .content{padding-left:28px;padding-right:28px}
 .p-home .content{padding-left:28px;padding-right:28px}
 .p-home .p-hero{margin-left:-28px;margin-right:-28px;padding-left:28px;padding-right:28px}
 .p-home .mode-list{gap:16px}
 .recording-header{padding-left:28px;padding-right:28px}
 .recording-conversation{padding-left:28px;padding-right:28px}
 .recording-controls{padding-left:28px;padding-right:28px}
 .below{max-width:none;padding-left:28px;padding-right:28px}
}

.billing-status{margin-top:24px;display:grid;gap:16px}.billing-contract{margin:0}.billing-contract h2{margin-top:0}.billing-pending{padding:12px 0}.billing-pending .text-btn{padding:12px 0}
.subscription-management{margin-top:12px;padding:12px 16px;border:1px solid var(--line);border-radius:14px}.subscription-management summary{cursor:pointer;font-weight:700}.subscription-management a{display:block;margin:12px 0}.subscription-management p:last-child{margin-bottom:0}
.web-ad-unavailable{opacity:.5}.web-ad-unavailable button:disabled{opacity:1}.web-ad-notice{margin:16px 0 0;padding:14px 16px;border-radius:14px;background:#eaf2ff;color:#294d84;font-size:15px;line-height:1.6;font-weight:650}
/* Shared browser plaza; the account and points use the existing service. */
.nav{grid-template-columns:repeat(5,minmax(0,1fr))}.nav button{min-width:0;padding-left:2px;padding-right:2px;font-size:12px}.home-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.home-extras button{white-space:normal;min-height:52px}.p-plaza .content{padding-top:16px}.plaza{max-width:1000px;margin:auto;padding-bottom:24px}.plaza-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.plaza-balance{font-size:14px;font-weight:700}.hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:28px 0}.hub-card{min-height:210px;padding:24px;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;border:0;color:#fff;text-align:center;box-shadow:0 10px 30px #17557817}.hub-card strong{font-size:24px}.hub-mark{font-size:48px;line-height:1}.hub-card.brain{background:linear-gradient(130deg,#258cb6,#3cb59e)}.hub-card.fortune{background:radial-gradient(ellipse at top,#293b70,#101c38);color:#f3d58c;outline:1px solid #ad8c41;outline-offset:-8px;border:2px solid #dec16f}.hub-card small{font-size:14px}.hub-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hub-links button{display:flex;flex-direction:column;text-align:left;gap:12px;color:var(--ink)}.hub-links button span{font-size:14px;color:var(--muted)}.brain-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:22px}.brain-card{position:relative;padding:24px 20px;border:1px solid #b4d8e8;border-radius:20px;background:#fff;display:flex;flex-direction:column}.brain-card h2{font-size:19px;margin:16px 0 0}.brain-card p{font-size:14px;flex:1;line-height:1.7}.brain-art{display:grid;place-items:center;height:95px;border-radius:14px;font-size:42px;font-weight:900;background:linear-gradient(120deg,#beeafa,#81cabd);color:#255979}.tone-1 .brain-art{background:linear-gradient(120deg,#d6c8ff,#a9b5ff)}.tone-2 .brain-art{background:linear-gradient(120deg,#ffc5d7,#ffd38d)}.tone-3 .brain-art{background:linear-gradient(120deg,#d3f1bb,#a9dbb6)}.tone-4 .brain-art{background:linear-gradient(120deg,#ffd8aa,#ffbda9)}.reorder{display:flex;justify-content:flex-end;gap:6px;margin-top:14px}.reorder button{width:38px;height:36px;border:1px solid #ccdde8;border-radius:8px;color:#426478;background:#f6fbfd}.fortune-view{background:#101b30;color:#eee9df;border:1px solid #6c603f;border-radius:24px;overflow:hidden;padding:20px}.fortune-view .plaza-top{margin-bottom:4px}.fortune-view h1,.fortune-view h2,.fortune-view .text-btn,.fortune-view .plaza-balance,.fortune-view a{color:#e5c778}.fortune-view .muted,.fortune-view .small{color:#c4cbd9}.fortune-view input,.fortune-view select,.fortune-view textarea{background:#1b2b46;color:#faf5df;border-color:#8e7950;color-scheme:dark;width:100%;font:inherit}.fortune-view .primary,.gold-button{background:linear-gradient(120deg,#b58834,#e9ca73);color:#1a2336;border:1px solid #f0d99b}.fortune-view .secondary{background:#203149;color:#f4db96;border:1px solid #827348}.fortune-view .field-check{align-items:flex-start}.fortune-view .field-check input{width:auto;flex:none}.fortune-view fieldset{border:1px solid #736547;border-radius:14px;padding:18px;min-width:0}.fortune-art{min-height:340px;background-size:cover;background-position:center 27%;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;position:relative;border-radius:15px;margin-top:18px;isolation:isolate}.fortune-art:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent 35%,#101b30 99%);border-radius:inherit}.fortune-art span{font-family:Georgia,serif;font-size:13px;letter-spacing:4px;color:#e0c57d}.fortune-art h1{margin:12px 0 0}.plaza-body{padding-top:6px}.fortune-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.fortune-menu button{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:18px;background:radial-gradient(ellipse at top,#27395e,#142039);color:#ebd39a;border:1px solid #b29a5f;border-radius:16px}.fortune-menu button span{font-size:35px}.fortune-menu button strong{font-size:22px}.fortune-menu small{font-size:13px}.fortune-result{margin:18px 0;padding:20px;border:1px solid #7b6d4c;border-radius:16px;background:#182640}.fortune-result h2{font-size:19px;margin:0 0 12px}.fortune-result p{line-height:1.85}.fortune-result p:last-child{margin-bottom:0}.game-stage:empty{display:none}.game-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:24px}.game-meta span{font-size:14px;color:#657e90}.game-question{font-size:42px;font-weight:800;text-align:center;margin:32px 0;letter-spacing:2px}.game-grid{display:grid;gap:10px;max-width:550px;margin:20px auto}.game-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.game-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.game-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.game-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.game-grid button{min-height:64px;font-size:25px;font-weight:800;background:#f1f8fc;color:#29597b;border:1px solid #8abace;border-radius:12px;touch-action:manipulation;padding:8px}.game-grid button.done{opacity:.25}.game-grid button.lit{background:#f3c651;color:#293b45;opacity:1;box-shadow:0 0 20px #ffcd50}.game-grid button:disabled{cursor:default}.game-stop{min-height:110px;font-size:24px}.game-grid.shogi-board{gap:2px;background:#9d733b;padding:3px}.shogi-board button{border-radius:0;border:0;background:#ebd3a3;color:#533c23;min-height:56px}.shogi-board .gote{transform:rotate(180deg)}.shogi-board .selected{background:#f6b85c}.shogi-board .legal{background:#aeddd6}.shogi-hand{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;min-height:44px}.shogi-hand button{padding:10px;border-radius:8px;border:1px solid #a98550;background:#f9e8c5}.shogi-hand button[aria-pressed=true]{background:#efb967}.board-scroll{overflow:auto}.ranking-list{padding:0;list-style:none}.ranking-list li{display:flex;gap:16px;align-items:center;padding:16px 8px;border-bottom:1px solid #d1e4ed}.ranking-list li span{flex:1;overflow-wrap:anywhere}.ranking-list .me{background:#fff0d3}.ranking-list b{font-size:14px}.tarot-spread{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:24px 0}.tarot-spread button{width:100px;aspect-ratio:3/5;background:#172442;color:#e5c778;border:1px solid #b9a061;border-radius:9px;overflow:hidden;padding:0;display:flex;flex-direction:column;justify-content:center}.tarot-spread img{width:100%;height:100%;object-fit:cover}.tarot-face-number{font-size:30px}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.compat-percentage{font-family:Georgia,serif;text-align:center;font-size:90px;margin:30px 0;color:#e8ca79}.compat-percentage small{font-size:30px}.zodiac-wheel{font-size:23px;color:#e5c778;text-align:center;line-height:1.8;margin:18px 0}.colour-gem{display:inline-block;vertical-align:middle;width:28px;height:28px;border:2px solid #dfc271;border-radius:50%;margin-right:12px}.palm-preview{display:block;max-height:340px;max-width:100%;object-fit:contain;margin:20px auto;border-radius:12px}.palm-preview[hidden]{display:none}.palm-clock{display:block;max-width:240px;max-height:280px;object-fit:contain;margin:24px auto}.palm-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.palm-images figure{margin:0;text-align:center;font-size:13px}.palm-images img{width:100%;border-radius:8px;display:block}.palm-overlay{position:relative}.palm-overlay svg{position:absolute;inset:0;width:100%;height:100%}.palm-images figcaption{margin:10px 0}.sketch-download{display:block;text-align:center;text-decoration:none;padding:14px}.consult-courses{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.gold-button{border-radius:12px;min-height:65px;padding:14px;font-size:18px;font-weight:700}.consult-history-item{display:flex;flex-direction:column;text-align:left;gap:10px;width:100%;padding:20px;background:#182640;color:#f4ecd4;border:1px solid #766646;border-radius:13px;margin:12px 0}.consult-history-item small{color:#d2bd83}.consult-turn{margin:24px 0 40px}.consult-question{padding:20px;background:#2b4359;border-radius:16px;margin-left:30px;overflow-wrap:anywhere}.alicis-name{color:#ebd291;font-size:18px}.fortune-result .summary{color:inherit;background:transparent;padding:0}.summary{overflow-wrap:anywhere}.plaza textarea{font:inherit;resize:vertical;line-height:1.6}.legal{max-width:760px;margin:auto;padding:40px 24px;line-height:1.9}.legal h2{margin-top:32px;font-size:20px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5aaada;outline-offset:3px}
@media(max-width:760px){.brain-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-card strong{font-size:20px}.hub-card{padding:20px 14px;min-height:190px}.hub-grid{gap:14px}.fortune-art{min-height:330px}.fortune-view{padding:16px}.people-grid{grid-template-columns:1fr}}
@media(max-width:480px){.brain-cards{grid-template-columns:1fr}.hub-links{grid-template-columns:1fr}.hub-card strong{font-size:18px}.hub-card small{font-size:12px}.hub-mark{font-size:38px}.hub-card{min-height:180px}.fortune-menu{gap:12px}.fortune-menu button strong{font-size:20px}.fortune-menu small{line-height:1.6}.fortune-view{border-radius:16px;padding:14px}.fortune-art{min-height:300px;padding:16px}.palm-images{grid-template-columns:1fr}.palm-images img{max-width:360px;margin:auto}.game-grid{gap:6px}.game-grid button{min-height:55px;font-size:21px}.shogi-board button{min-height:46px}.ranking-list li{gap:8px;font-size:13px}.consult-courses{grid-template-columns:1fr}.tarot-spread button{width:78px}.game-question{font-size:34px}.home-extras{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.plaza *{animation:none!important;transition:none!important}}

.plaza button,.plaza input,.plaza textarea,.plaza select{scroll-margin-bottom:calc(var(--bottom-nav-height) + 24px)}

.hub-card small{color:inherit;opacity:.88}
