*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:dark;background:#100f1e}body{margin:0;background:#100f1e;color:#f6f4ff;font:16px/1.5 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #ecc2ff;outline-offset:3px}.icon{display:inline-block;width:1.35em;height:1.35em;flex:none;background:currentColor;mask:var(--glyph) center/contain no-repeat}header{background:#10101f;border-bottom:1px solid #31283f}.top,.heroInner,.wrap{max-width:1480px;margin:auto}.top{padding:10px 4%;min-height:64px;display:flex;gap:3vw;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-size:22px;letter-spacing:-.7px;font-weight:750;line-height:1.1}.brand small{display:block;font-size:11px;letter-spacing:.3px;margin-top:4px}.logo{display:grid;place-items:center;background:linear-gradient(135deg,#fff,#eee4cf);color:#b52f43;box-shadow:3px 4px #71617c,0 0 20px #bd85ff66;border-radius:5px;width:31px;height:40px;transform:rotate(13deg);font:bold 27px SimSun,serif}nav,.usernav,.ctas{display:flex;align-items:center;gap:12px}nav a,.usernav button{display:flex;gap:7px;align-items:center;border-radius:22px;padding:8px 15px;font-weight:600;font-size:14px}.active{background:#322749}.usernav button{background:transparent;border:0}.usernav .profile,.primary{background:linear-gradient(#a36bff,#6e39c5);border:1px solid #a879ed;border-radius:9px}.hero{background-color:#141427;background-image:linear-gradient(90deg,#121222 12%,#161528 37%,#2018317a 54%,transparent 68%),url('/assets/home-hero.webp');background-repeat:no-repeat;background-position:center,right 30%;background-size:cover,cover;border-bottom:1px solid #322944}.heroInner{padding:30px 4% 22px}.hero h1{font-size:clamp(44px,4.6vw,76px);line-height:.99;letter-spacing:-2.5px;margin:0;font-weight:800}.hero em{color:#b98bff;font-style:normal}.hero p{color:#ded9ef;font-size:18px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 25px;font-weight:700}.secondary{border:1px solid #bcb0cc;border-radius:8px;background:#151122aa}.mininav{display:flex;margin-top:26px}.mininav a{display:flex;align-items:center;gap:10px;border-right:1px solid #3b3049;padding:0 15px}.mininav a:first-child{padding-left:0}.mininav a:last-child{border:0}.mininav .icon{font-size:23px;color:#c18df9}.mininav b,.mininav small{display:block;font-size:13px}.mininav small{color:#d8d4e4;font-size:12px}.wrap{padding:20px 1.8% 42px}.featureGrid,.toolGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.feature,.box,.toolGrid a,.guideGrid a{border-radius:12px;border:1px solid #37304f}.feature{position:relative;display:flex;align-items:center;gap:18px;padding:18px 20px;background:linear-gradient(110deg,var(--tint),#191a2b);border-color:var(--line)}.f0{--tint:#3a235f;--line:#7950a9;--ink:#ca9aff}.f1{--tint:#203760;--line:#426caf;--ink:#7acaff}.f2{--tint:#173e40;--line:#2f8781;--ink:#65f0da}.f3{--tint:#50392d;--line:#976c34;--ink:#ffd069}.feature>.icon{font-size:32px;color:var(--ink);filter:drop-shadow(0 0 7px var(--ink))}.feature h2,.box h2,.popular h2{margin:0;font-size:clamp(20px,1.8vw,27px);letter-spacing:-.65px}.feature p,.box p{margin:4px 0;color:#dfdceb}.feature p,.toolGrid small,.guideGrid small{font-size:14px}.corner{position:absolute;right:12px;top:8px;color:var(--ink)}.middle,.lower{display:grid;grid-template-columns:1.65fr 1fr;gap:20px;margin:20px 0}.box{padding:20px;background:linear-gradient(120deg,#1d1b31,#1a192a);position:relative}.box h2,.popular h2{display:flex;align-items:center;gap:12px}.box h2 .icon,.popular h2 .icon,.toolGrid .icon,.track .icon{color:#bb8ef8}.daily{background:#231e43 url('/assets/daily-challenge.webp') center / 100% 100% no-repeat;text-align:center}.daily p{text-align:left}.dailyHand,.tiles{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;margin:20px 0}.tile{display:inline-grid;align-content:center;justify-items:center;line-height:1;background:linear-gradient(120deg,#fffdf5,#ded6ce);border-radius:4px;border:1px solid #c8c1bd;color:#222135;box-shadow:inset -2px -3px 0 #c6bdbb,0 2px 2px #141124;min-width:0;width:clamp(19px,2.85vw,45px);height:clamp(32px,4vw,59px);font:bold clamp(18px,2vw,29px)/1 SimSun,serif}.tile em{font:bold .52em/1 serif;font-style:normal;color:#af2d3c}.tile.s{color:#14725c}.tile.p{color:#413565}.tile.z{color:#33324b}.continue p{margin-left:40px}.track{display:flex;align-items:center;gap:12px;padding:8px 4px;border-top:1px solid #322b46}.track .icon,.toolGrid .icon{background-color:#be95ff}.track>span{flex:1}.track small{float:right;color:#bfb6cf}.track strong,.toolGrid strong,.guideGrid strong{font-size:15px}.track progress{display:block;margin-top:5px;height:8px;width:100%;border:0;border-radius:20px;overflow:hidden}.track progress::-webkit-progress-bar{background:#3a3451}.track progress::-webkit-progress-value{background:#b381f3}.popular{position:relative}.more{position:absolute;top:5px;right:4px;font-size:14px;color:#ca9cfe}.guides .more{top:25px;right:20px}.toolGrid,.guideGrid{margin-top:14px}.toolGrid a{padding:15px;background:#26243b;display:flex;align-items:flex-start;gap:13px}.toolGrid .icon{font-size:24px}.toolGrid small,.guideGrid small{display:block;color:#d3cfde;margin-top:3px}.lower{grid-template-columns:1.95fr 1fr}.guideGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guideGrid a{background:#262337;overflow:hidden;padding-bottom:12px}.guideGrid img{width:100%;aspect-ratio:1.93;object-fit:cover}.guideGrid strong,.guideGrid small{display:block;padding-inline:10px}.tabs{display:flex;margin-top:12px;border:1px solid #453b5a;border-radius:9px;overflow:hidden}.tabs button{flex:1;background:transparent;border:0;padding:7px 0;font-size:13px}.tabs [aria-pressed=true]{background:#7147b1}.leaderboard li{padding:8px}.leaderboard li b{float:right}.empty{color:#bfb4ce;padding:16px 0}.feature:hover,.toolGrid a:hover,.guideGrid a:hover{filter:brightness(1.15)}dialog{width:min(720px,94vw);max-height:86dvh;border:1px solid #65527e;border-radius:15px;background:#211e32;color:#f8f5ff;padding:30px;box-shadow:0 24px 95px #0009}dialog::backdrop{background:#090811b8;backdrop-filter:blur(5px)}.close{position:absolute;right:10px;top:8px;background:none;border:none;font-size:25px}dialog h2{margin:0 20px 14px 0}dialog label{display:block;margin:10px 0;color:#d9cdec}dialog input,dialog select{border:1px solid #645876;background:#141321;color:white;padding:10px;border-radius:7px;max-width:100%}dialog input{width:100%}dialog button:not(.close),.link{border:1px solid #65517d;background:#382a4b;border-radius:7px;padding:8px 12px;margin:4px}.actions{display:flex;flex-wrap:wrap}.result{padding-top:12px;color:#e2c7ff}.list a{display:block;padding:12px;border-bottom:1px solid #42374f}.article{max-width:800px;margin:35px auto;padding:25px}.article h1{font-size:40px;line-height:1.1}.article img{width:100%;max-height:240px;object-fit:cover;border-radius:12px}.article p{color:#dfd9ec}.article a{color:#cfa4ff}.river{padding:6px 0;border-bottom:1px solid #4c4059}
@media(min-width:1500px){.hero{background-size:cover,cover}}@media(max-width:1000px){.feature{padding:14px;gap:9px}.feature>.icon{font-size:23px}.top{gap:10px}nav{gap:0}.toolGrid a{padding:11px}.hero{background-size:cover,auto 100%}.guides .more{position:static;display:block}.dailyHand{gap:2px}}
@media(max-width:760px){.top{padding:12px 4%}nav{display:none}.brand{font-size:20px}.featureGrid,.toolGrid{grid-template-columns:1fr 1fr;gap:9px}.middle,.lower{grid-template-columns:1fr}.heroInner{padding:115px 5% 19px}.hero{background-position:center,right top;background-size:cover,auto 76%;background-image:linear-gradient(0deg,#151424 6%,#151424e3 34%,#15142450 70%,transparent),url('/assets/home-hero.webp')}.hero h1{font-size:44px}.hero p{font-size:16px}.mininav{justify-content:space-between}.mininav a{padding:0 5px;gap:4px}.mininav small{display:none}.feature .corner{display:none}.feature p{font-size:13px}.feature{align-items:flex-start}.tile{width:5.6vw;height:8.2vw;font-size:4.3vw}.box{padding:16px}.wrap{padding:14px 3%}.guideGrid{gap:6px}.guideGrid strong{font-size:13px}.guideGrid small{font-size:12px}.wide{display:none}.usernav{gap:2px}.usernav button{padding:7px}.mininav .icon{font-size:18px}.hero .primary,.hero .secondary{padding:9px 17px}.hero p{max-width:410px}.lower .more{font-size:13px}.feature h2{font-size:19px}}
.tile small{display:block;font:bold clamp(7px,.78vw,12px)/1.15 'Segoe UI',sans-serif;letter-spacing:-.06em;text-align:center}.tile.p small{color:#ad3746}.tile.s small{color:#267351}.hero{position:relative;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#141425 36%,#171428 47%,#171428ab 55%,transparent 68%)}@media(max-width:760px){.tile small{font-size:1.65vw}.hero:before{display:none}}
.language-picker{font-weight:600;line-height:1.35;font-family:inherit;font-size:14px;background:#211d33;color:#f6f2ff;border:1px solid #625471;border-radius:7px;padding:6px 3px;cursor:pointer}.dialog-language{text-align:right;margin:-8px 32px 8px 0}html:not(:lang(en)) .hero h1{line-height:1.12}html:lang(ko) body{word-break:keep-all}@media(max-width:1000px){.top{gap:8px}nav a{padding-inline:8px}.usernav{gap:3px}}@media(max-width:520px){.top{flex-wrap:wrap;gap:7px}.top .profile{font-size:0;gap:0}.top .profile .icon{font-size:16px}.top .language-picker{max-width:90px}.mininav a{min-width:0}.usernav button{padding:6px}.article h1{font-size:32px}}
img.tile { display:inline-block; object-fit:fill; border:0; background:transparent; box-shadow:none; border-radius:0; vertical-align:middle; }
#choices button:has(img.tile) { padding:.25rem; }
.river img.tile, #body p img.tile { width:25px; height:32px; margin:2px; }
.red-five { position:relative; display:inline-flex; }
.red-five::after { content:'赤'; position:absolute; bottom:2px; right:1px; padding:1px 2px; border-radius:3px; background:#b52236; color:white; font:bold 10px/1 sans-serif; }

.usernav .shop-link{padding:6px 10px;border-radius:7px;color:#e6d1ff;font-size:14px;font-weight:600;white-space:nowrap}
.shop-link:hover,.shop-link[aria-current]{background:#322749}

/* Homepage standings */
.lower{grid-template-columns:minmax(0,.96fr) minmax(0,1fr);align-items:stretch}
.leaderboard{isolation:isolate;overflow:hidden;border-color:#815995;background:linear-gradient(145deg,#2f233f,#211b32 56%,#392344);box-shadow:inset 0 0 30px #ae72d011}
.leaderboard::before{content:"";position:absolute;inset:0 0 auto auto;width:180px;height:66px;background:url('/assets/board-blossoms.webp') right top/cover;mask-image:linear-gradient(100deg,transparent,#000 45%);z-index:-1}
.leaderboard h2{font-family:Georgia,serif;letter-spacing:.05em}
.leaderboard h2 .icon{color:#ffd88c;border-right:1px solid transparent}
.leaderboard .tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0 14px;border-color:#786087;border-radius:12px;background:#211b30}
.leaderboard .tabs::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(#eac4fc,#c88be6);clip-path:inset(0 var(--tab-right,66.6667%) 0 var(--tab-left,0%) round 11px)}
.leaderboard .tabs:has([data-range="week"][aria-pressed=true]){--tab-left:33.3333%;--tab-right:33.3333%}
.leaderboard .tabs:has([data-range="all"][aria-pressed=true]){--tab-left:66.6667%;--tab-right:0%}
.leaderboard .tabs button{padding:9px 3px;font-weight:650}
.leaderboard .tabs [aria-pressed=true]{color:#291337;background:transparent}
@media(prefers-reduced-motion:no-preference){
    .leaderboard .tabs::before{transition:clip-path 240ms cubic-bezier(.22,.72,.22,1)}
    .leaderboard .tabs button{transition:color 160ms ease}
}
#board{overflow-x:auto}
#board table{table-layout:fixed;width:100%;border-spacing:0;font-size:clamp(12px,1.04vw,16px);background:#201b2dcc;border-radius:10px;overflow:hidden}
#board th,#board td{padding:6px 7px;text-align:left;border-bottom:1px solid #624a714f}
#board th:nth-child(1){width:13%}#board th:nth-child(2){width:27%}#board th:nth-child(3){width:24%}#board th:nth-child(4){width:23%}
#board td{overflow-wrap:anywhere}
#board tbody tr{height:55px}
#board .board-empty{color:#bfb4ce}
#board .board-pages{display:flex;justify-content:center;gap:8px;margin-top:10px}
#board .board-pages button{padding:5px 12px;border:1px solid #65517d;border-radius:7px;background:#382a4b}
#board .board-pages button:disabled{opacity:.45;cursor:default}
#board[data-range="week"],#board[data-range="all"]{padding-bottom:21.5px}
#board th{background:#352640;color:#efdef7;font-weight:600}
#board td:first-child,#board th:first-child{text-align:center}
#board td:last-child,#board th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.board-player{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.board-player img{width:34px;height:34px;object-fit:cover;border:1px solid #ce96d8;border-radius:50%;background:#43334e}
#board .medal{width:34px;height:34px;object-fit:contain;vertical-align:middle}
#board .tier{width:42px;height:42px;object-fit:contain;vertical-align:middle}
#board tfoot{background:linear-gradient(100deg,#5c3773,#503164)}
#board tfoot td{border-top:6px solid #2b2138}
#board small{display:block;color:#c0abc9;margin-top:5px;font-size:11px;text-align:right}
@media(max-width:1020px){.lower{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.leaderboard{padding:12px}#board th,#board td{padding:6px 3px}.board-player{gap:4px}.board-player img,#board .medal{width:25px;height:25px}#board .tier{width:30px;height:30px}}

.hero .ctas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,clamp(495px,45vw,760px));gap:clamp(10px,1.3vw,22px)}
.hero .ctas a{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:clamp(8px,1.3vw,21px);min-height:clamp(68px,6vw,100px);padding:9px;border:2px solid var(--rim);border-radius:clamp(13px,1.3vw,23px);box-shadow:inset 0 0 7px var(--glow),0 0 13px var(--glow);color:#fff;text-shadow:0 2px 5px #22132688}
.hero-play{--rim:#f1dcff;--glow:#a357ff;background:linear-gradient(165deg,#964ce5,#592799 78%)}
.hero-ranked{--rim:#ffdb91;--glow:#cb9056;background:linear-gradient(155deg,#825955,#3c283c 65%,#654053)}
.hero .ctas a::after{content:"";position:absolute;inset:auto 0 0 auto;width:27%;height:80%;background:url('/assets/profile-petals.webp') left bottom/cover;mix-blend-mode:screen;opacity:.56;mask-image:linear-gradient(115deg,transparent 20%,black);z-index:-1}
.hero .ctas a:hover{filter:brightness(1.12)}
.hero .ctas strong,.hero .ctas small{display:block;line-height:1.18}
.hero .ctas strong{font-size:clamp(21px,2.1vw,36px)}
.hero .ctas small{margin-top:5px;font-size:clamp(12px,.95vw,17px);font-weight:600}
.hero-play .icon{width:clamp(30px,3.1vw,57px);height:clamp(30px,3.1vw,57px)}
.hero-ranked img{width:clamp(40px,5vw,85px);height:auto}
.rank-entry-notice{text-align:center;padding:8px 0}
.rank-entry-notice h2{margin:0 0 12px}
.rank-entry-notice p{margin:0 0 16px;color:#ded9ef}
#dialog .rank-entry-notice .primary{min-width:140px;background:linear-gradient(#a36bff,#6e39c5);border-color:#a879ed}
@media(max-width:520px){.hero .ctas{width:100%;gap:8px}.hero .ctas a{gap:5px;padding:8px 5px}.hero .ctas strong{font-size:clamp(16px,4vw,21px)}.hero .ctas small{font-size:11px}.hero-play .icon{width:24px;height:24px}.hero-ranked img{width:32px}}

#dialog:has(.online-notice),
#dialog:has(.rank-entry-notice),
#dialog:has(.dialog-loading){width:min(790px,92vw,139dvh);padding:0;border:2px solid #c385f6;border-radius:clamp(16px,2vw,29px);overflow:hidden;background:radial-gradient(ellipse at 50% 85%,#44285f,#281d3d 80%);box-shadow:0 0 17px #af60e96e,0 18px 64px #090514aa}
#dialog:has(.rank-entry-notice),
#dialog:has(.dialog-loading){width:min(520px,92vw)}
#dialog:has(.online-notice)::backdrop,
#dialog:has(.rank-entry-notice)::backdrop,
#dialog:has(.dialog-loading)::backdrop{background:#0a0714bd;backdrop-filter:blur(6px)}
#dialog:has(.online-notice) .dialog-language,
#dialog:has(.rank-entry-notice) .dialog-language,
#dialog:has(.dialog-loading) .dialog-language{display:none}
#dialog:has(.online-notice) .close,
#dialog:has(.rank-entry-notice) .close,
#dialog:has(.dialog-loading) .close{z-index:2;top:14px;right:14px;width:clamp(32px,4vw,44px);aspect-ratio:1;padding:0;border:1px solid #8555a6;border-radius:50%;background:#302044;color:white;line-height:1;font-size:clamp(22px,2.8vw,32px)}
.online-notice{text-align:center;position:relative;isolation:isolate;padding-bottom:4%;container-type:inline-size}
.online-notice>img{width:100%;display:block;mask-image:linear-gradient(#000 90%,transparent)}
.online-notice::after,
.rank-entry-notice::after,
.dialog-loading::after{content:"";position:absolute;z-index:-1;bottom:0;right:0;width:28%;height:38%;background:url('/assets/profile-petals.webp') left bottom/cover;transform:scaleX(-1);mask-image:linear-gradient(130deg,transparent 6%,#000 85%);pointer-events:none}
.rank-entry-notice::before,
.dialog-loading::before{content:"";position:absolute;z-index:-1;top:0;left:0;width:32%;height:44%;background:url('/assets/profile-petals.webp') left bottom/cover;transform:scaleY(-1);mask-image:linear-gradient(135deg,#000 20%,transparent 85%);opacity:.9;pointer-events:none}
.rank-entry-notice,
.dialog-loading{text-align:center;position:relative;isolation:isolate;padding:clamp(28px,5vw,42px) clamp(20px,5vw,36px) clamp(26px,4.5vw,38px);display:flex;flex-direction:column;align-items:center;justify-content:center;container-type:inline-size}
.rank-notice-emblem{width:clamp(76px,22cqw,108px);height:auto;margin:0 auto 10px;display:block;filter:drop-shadow(0 0 18px #f5b95b88) drop-shadow(0 6px 14px #0a0518aa)}
.online-notice h2,
.rank-entry-notice h2,
.dialog-loading h2{margin:0 5%;font-size:clamp(22px,5.3cqw,38px);line-height:1.2;background:linear-gradient(105deg,#f4e6ff 40%,#ffe197 60%);color:transparent;background-clip:text}
.online-notice p,
.rank-entry-notice p{color:#dfc3f6;font-size:clamp(14px,3.2cqw,20px);margin:10px 4% 22px;line-height:1.5}
#dialog .online-notice button,
#dialog .rank-entry-notice .primary{margin:0;min-width:clamp(150px,46%,240px);padding:10px 28px;border:2px solid #f2ceff;border-radius:50px;color:white;background:linear-gradient(#a35de7,#6935b1);box-shadow:0 0 13px #aa60f5,inset 0 0 9px #b983fa;font-size:clamp(15px,3.4cqw,20px);font-weight:700}
.dialog-loading{min-height:210px;gap:16px}
.dialog-loading-orb{position:relative;width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,#4a2c6b,#241738);border:2px solid #c992ff88;box-shadow:0 0 22px #a45df066}
.dialog-loading-orb::before{content:"";position:absolute;inset:-6px;border-radius:50%;border:2px solid transparent;border-top-color:#ffe197;border-right-color:#c98eff;animation:dialog-spin 1s linear infinite}
.dialog-loading-orb span{font:800 28px/1 SimSun,serif;color:#ffe6b0;text-shadow:0 0 10px #f0b15a99}
@keyframes dialog-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.dialog-loading-orb::before{animation:none}}
@media(max-height:500px){#dialog:has(.online-notice),#dialog:has(.rank-entry-notice),#dialog:has(.dialog-loading){width:min(92vw,116dvh);max-height:calc(100dvh - 12px)}}

.lower .guides{isolation:isolate;overflow:hidden;border-color:#9964b0;background:linear-gradient(145deg,#282039,#1d192e 65%,#352047);padding-bottom:clamp(84px,8vw,148px)}
.lower .guides::before{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:auto;aspect-ratio:856/179;background:url('/assets/guides-scenery.webp') center bottom/cover;mask-image:linear-gradient(transparent,#000 26%)}
.lower .guideGrid{margin-top:24px}
.lower .guideGrid a{border-color:#544063;background:linear-gradient(#2a233a,#2c253f);box-shadow:0 5px 12px #12101e44}
#board .my-rank{display:block;font-weight:650;font-size:.84em;color:#f1dbff}
#board tfoot td{border-top-width:12px}
@media(max-width:520px){.lower .guides{padding-bottom:68px}.lower .guideGrid{margin-top:12px}}
.home-footer{text-align:center;padding:15px 20px 22px;border-top:1px solid #383047}
.home-footer a{display:inline-block;padding:5px;color:#d7baf2;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.top nav a[href="#privacy"]{white-space:nowrap}
@media(max-width:1100px){.top:has(a[href="#privacy"]){flex-wrap:wrap}}
@media(max-width:760px){.top nav:has(a[href="#privacy"]){display:flex}.top nav:has(a[href="#privacy"]) a:not([href="#privacy"]){display:none}}

/* Align the banner frame with the cards inside the centered content wrapper. */
html:is([data-page="home"], [data-page="learn"]) {
    --banner-gutter: 1.8%;
}
@media (max-width: 760px) {
    html:is([data-page="home"], [data-page="learn"]) { --banner-gutter: 3%; }
}
[data-page="home"] .hero, .learn-hero {
    margin-inline: calc(max(0px, (100% - 1480px) / 2) + var(--banner-gutter));
}
/* Mobile landscape & medium screens: keep left text readable without blacking out the character's face. */
@media (max-width: 1024px) and (min-width: 761px) {
    .hero:before {
        background: linear-gradient(90deg, #141425d9 16%, #1714288c 34%, transparent 54%);
    }
    .hero {
        background-image: linear-gradient(90deg, #121222e0 10%, #16152899 30%, #20183138 46%, transparent 60%), url('/assets/home-hero.webp');
        background-position: center, right 22%;
    }
}
@media (max-height: 540px) and (orientation: landscape) {
    .hero:before { display: none; }
    .hero {
        background-image: linear-gradient(90deg, #121222eb 0%, #161528bf 28%, #1a152c59 46%, transparent 62%), url('/assets/home-hero.webp');
        background-position: center, right 20%;
        background-size: cover, auto 108%;
    }
    .heroInner { padding: 18px 4% 16px; }
}
.home-community { margin-top: 22px; }
.hc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hc-head h2 { margin: 0; }
.hc-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hc-write { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #9d5cff, #6f42c1); box-shadow: 0 3px 12px rgba(133, 82, 232, .3); }
.hc-write:hover { filter: brightness(1.08); }
.hc-more { font-size: 13px; font-weight: 600; color: #c4b5fd; white-space: nowrap; }
.hc-more:hover { color: #fff; }
.hc-body { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.55fr); gap: 18px; align-items: start; }
.hc-intro p { margin: 0 0 12px; font-size: 13.5px; color: #c4bedf; line-height: 1.6; }
.hc-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.hc-tags a { padding: 5px 10px; border-radius: 8px; font-size: 12px; color: #dcd7f2; background: #191731; border: 1px solid #3c345c; transition: border-color .15s, background .15s; }
.hc-tags a:hover { border-color: #8b5cf6; background: #262148; color: #fff; }
.hc-list { display: flex; flex-direction: column; gap: 9px; }
.hc-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; border-radius: 12px; background: #151428cc; border: 1px solid #373052; transition: border-color .15s, background .15s; }
.hc-item:hover { border-color: #8b5cf6aa; background: #1c1a36e6; }
.hc-item-main { min-width: 0; flex: 1; }
.hc-item strong { display: block; font-size: 14px; color: #f6f4ff; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-item-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 12px; color: #9f98bc; }
.hc-item-stats { font-size: 12px; color: #b7b0d4; white-space: nowrap; flex: none; }
@media (max-width: 820px) { .hc-body { grid-template-columns: 1fr; } .hc-item strong { white-space: normal; } }
