.intro-page{min-height:100vh;color:#fff7e5;background:linear-gradient(100deg,rgba(10,28,49,.94),rgba(12,34,54,.65)),url('/assets/Background.jpg') center/cover fixed;padding:32px max(24px,6vw)}.intro-page header{display:flex;justify-content:space-between;align-items:center;gap:20px}.intro-page .brand{color:#ffe6a6}.intro-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:8vw;align-items:center;min-height:78vh}.intro-copy h1{font-size:clamp(32px,3.8vw,64px);line-height:1.4;letter-spacing:-.04em}.intro-copy em{font-style:normal;color:#ffe1a0}.intro-copy p{color:#d0dce6;font-size:18px;line-height:1.9}.intro-features{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}.intro-features span{border:1px solid #8e977d;border-radius:40px;padding:9px 16px;color:#f2dfa8}.intro-page footer{color:#a5b5c1;font-size:13px}.auth-panel{padding:30px;background:#fffaf0;color:#20344b;border:1px solid #e1cc9b;border-radius:22px;box-shadow:0 24px 80px #0005}.auth-panel p{font-size:13px;line-height:1.8;color:#546171}.auth-panel h2{font-size:25px}.auth-panel form .btn{width:100%;margin-top:14px}.auth-tabs{display:flex;border-bottom:1px solid #d8cdb7;margin-bottom:26px}.auth-tabs button{flex:1;border:0;padding:14px;background:transparent;color:#637286;font-weight:700;cursor:pointer}.auth-tabs .active{color:#8b5e19;border-bottom:3px solid #b8812b}.auth-panel #auth-feedback{color:#8c3a1d;font-weight:700;min-height:24px}
.auth-panel label,.panel label,.deck-art-editor label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;margin:12px 0}.auth-panel input,.panel input,.panel select,.panel textarea,.deck-art-editor select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #b5c2ce;background:#fffdf7;color:#18374f;border-radius:9px;min-height:44px;font:inherit}.panel textarea{min-height:100px;resize:vertical}.panel input[type=file]{font-size:12px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.panel{margin-bottom:20px}.panel h2{margin:22px 0 14px}.member-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.member-row>div{flex:1;min-width:140px}.member-row small,.effect-row small{display:block;margin:6px 0;color:#536980}.member-row label{min-width:110px}.student-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #d8dfdf}.credential-box{padding:22px;background:#fff2cb;color:#593d05;border:2px solid #c59933;border-radius:12px;margin:20px 0;overflow-wrap:anywhere}.record-row{border-bottom:1px solid #d8dfdf;padding:15px 0}.record-row>span{display:block;font-size:12px;color:#687b8c}.creator-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.creator-layout>aside{position:sticky;top:24px}.creator-preview{position:relative;isolation:isolate;width:100%;aspect-ratio:5/7;background:#e0c797;border:7px solid #b88745;border-radius:24px;box-shadow:0 12px 30px #122c3f30;overflow:hidden;color:#263a40}.preview-frame,.custom-card-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:-1}.preview-content{padding:15px;position:relative;text-align:center}.preview-art{display:block;width:100%;height:180px;object-fit:cover;border-radius:50% 50% 8px 8px;border:3px solid #b78d45}.preview-cost{position:absolute;top:10px;left:8px;border-radius:50%;background:#176b9f;color:white;padding:13px 7px;font-weight:900;box-shadow:0 3px 10px #0004;z-index:2}.preview-content h2{font-family:serif;margin:10px 0 5px;font-size:23px;text-shadow:0 1px white}.preview-content>span:not(.preview-cost){font-size:12px}.preview-content p{background:#fff6dcdf;padding:14px;border-radius:8px;min-height:75px;line-height:1.5;margin:10px 0;font-size:13px;overflow-wrap:anywhere}.preview-content strong{font-size:19px}.design-jade{background-color:#abcfc2!important;border-color:#368e7c!important}.design-royal{background-color:#b0bfd6!important;border-color:#375d97!important}.creator-preview.era-samguk{border-color:#ac5129}.creator-preview.era-goryeo{border-color:#348f80}.creator-preview.era-joseon{border-color:#4b72af}.card{isolation:isolate}.custom-card-frame{z-index:0;opacity:.85}.card>*:not(.custom-card-frame){position:relative}.card>.cost,.card>.card-corner{position:absolute}.card-art,.card-name,.card-scroll,.card-bottom,.card-type,.card-combat{z-index:1}.effect-presets{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.effect-presets button{border:1px solid #a9bbbd;background:#eef7f4;color:#194f48;border-radius:9px;padding:12px;cursor:pointer}.effect-row{border:1px solid #bacacc;background:#f5faf8;border-radius:12px;padding:15px;margin:10px 0}.effect-row p{font-size:13px;color:#476576}.effect-row input{max-width:130px}.creator-layout details{background:#f5efdd;padding:16px;border-radius:10px;line-height:1.8}.creator-layout summary{cursor:pointer;font-weight:700}.deck-cover{position:absolute;right:0;top:0;width:45%;height:100%;object-fit:cover;opacity:.3;pointer-events:none}.deck-tile{position:relative;overflow:hidden}.deck-art-editor img{width:100%;max-height:150px;object-fit:cover;border-radius:10px}.deck-art-editor{border-bottom:1px solid #cad7d8;padding-bottom:16px;margin-bottom:20px}.rule-note{line-height:1.7}.panel pre{white-space:pre-wrap;overflow-wrap:anywhere}.panel form .btn{margin-top:10px}.panel input:focus,.panel select:focus,.auth-panel input:focus{outline:3px solid #d6a44e55;border-color:#b38129}
@media(max-width:1000px){.intro-grid{gap:30px}.creator-layout{grid-template-columns:minmax(0,1fr) 260px}.preview-art{height:145px}.preview-content{padding:10px}.preview-content h2{font-size:20px}}@media(max-width:700px){.intro-page{padding:22px 18px}.intro-grid{grid-template-columns:1fr;padding:25px 0}.intro-copy h1{font-size:32px}.intro-copy p{font-size:15px}.intro-features{margin:18px 0}.auth-panel{padding:23px}.creator-layout{display:flex;flex-direction:column-reverse;gap:20px}.creator-layout>aside{position:static;max-width:290px;width:100%;margin:auto}.creator-layout>form{width:100%;box-sizing:border-box}.form-grid{grid-template-columns:1fr}.member-row{gap:10px}.member-row>div{flex-basis:100%}.form-row{flex-wrap:wrap}.form-row>label{max-width:100%}}
.card-tags{border:1px solid #c4d0cf;border-radius:10px;margin:15px 0;padding:12px;display:flex;flex-wrap:wrap;gap:12px}.panel .card-tags label{display:flex;flex-direction:row;align-items:center;font-size:13px;margin:0;gap:7px}.panel .card-tags input{width:18px;min-height:18px;accent-color:#347e70}.card-tags legend{font-size:14px;font-weight:700;padding:0 6px}
.audio-previews{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.audio-previews audio{width:100%;height:38px}.preview-particle{display:block;color:#725626;margin-top:3px;font-weight:700}.particle-fire{box-shadow:0 12px 30px #be3b2738}.particle-wind{box-shadow:0 12px 30px #278c9b38}.particle-light{box-shadow:0 12px 30px #d6a72d40}.particle-ink{box-shadow:0 12px 30px #1b293c40}.particle-jade{box-shadow:0 12px 30px #23876538}@media(max-width:700px){.audio-previews{grid-template-columns:1fr}}
.intro-page{word-break:keep-all}.panel textarea{height:120px}.preview-art{object-position:center 25%}.creator-layout>.panel{min-width:0}.creator-layout .card-tags{max-width:100%}
.profile-menu{position:relative}.profile-menu>summary{list-style:none;cursor:pointer}.profile-menu>summary::-webkit-details-marker{display:none}.profile-menu[open] .profile-button{background:#edf2fb}.profile-caret{font-size:13px;color:#718096;transition:transform .16s}.profile-menu[open] .profile-caret{transform:rotate(180deg)}.profile-popover{position:absolute;z-index:80;right:0;top:calc(100% + 12px);width:220px;padding:8px;background:#fffdf8;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 18px 45px #142a4860;color:#20344b}.profile-popover:before{content:'';position:absolute;right:27px;top:-7px;width:12px;height:12px;background:#fffdf8;border-left:1px solid #cbd5e1;border-top:1px solid #cbd5e1;transform:rotate(45deg)}.profile-identity{padding:11px 12px 13px;border-bottom:1px solid #e1e6ec;margin-bottom:5px}.profile-identity strong,.profile-identity small{display:block}.profile-identity small{margin-top:5px;color:#6b7c8e;font-size:11px}.profile-popover button{display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;border:0;border-radius:7px;background:transparent;color:#20344b;text-align:left;font-size:12px}.profile-popover button:hover,.profile-popover button:focus-visible{background:#edf3fb}.profile-popover .profile-logout{color:#963c35;border-top:1px solid #e6e8ea;border-radius:0;margin-top:4px;padding-top:13px}.account-overview{display:grid;grid-template-columns:minmax(280px,1fr) 2fr;gap:20px}.account-profile{display:flex;align-items:center;gap:17px}.account-profile h2{margin:0 0 5px}.account-profile p{margin:0 0 5px}.account-profile small,.account-note{color:#718092}.account-avatar{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,#274e87,#152b50);border:3px solid #d4b769;color:#ffe4a2;font:27px Georgia,serif;box-shadow:0 7px 18px #18345635}.account-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.account-metrics article{padding:20px;border:1px solid #d4dce4;border-radius:10px;background:linear-gradient(145deg,#fffdf7,#f0f4fa)}.account-metrics span,.account-metrics strong{display:block}.account-metrics span{font-size:11px;color:#687a8d}.account-metrics strong{margin-top:8px;font:28px Georgia,serif;color:#244d82}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-note{display:block;margin:-5px 0 13px;font-size:11px}.account-activity .section-head{margin-top:0}.account-record-summary{display:flex;gap:7px;flex-wrap:wrap}.account-record-summary span{padding:6px 9px;border-radius:20px;background:#edf2f7;color:#40556b;font-size:11px}.account-session{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0 20px}.account-session p{font-size:12px;color:#6c7c8d}
@media(max-width:800px){.profile-popover{position:fixed;right:14px;top:67px}.profile-popover:before{display:none}.account-overview{grid-template-columns:1fr}.account-metrics{grid-template-columns:repeat(2,1fr)}.account-grid{grid-template-columns:1fr}.account-session{align-items:flex-start;flex-direction:column}.top-actions .connection{display:none}}
/* R1 profiles and ranking pages */
.avatar img,.account-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.leader-editor{border:1px solid #d5deeb;border-radius:16px;padding:16px;margin:18px 0}
.leader-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.leader-choices label{display:grid;grid-template-columns:20px 48px 1fr;align-items:center;gap:8px;border:1px solid #d5deeb;border-radius:12px;padding:10px;background:#f5f8ff;color:#163257}
.leader-choices label:has(input:checked){border:2px solid #c8952c;background:#fff8dc}
.leader-choices img{width:48px;height:48px;border-radius:50%}.leader-choices small{grid-column:2/4}
.ranking-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end}.ranking-filters label{flex:1;min-width:140px}
.ranking-table-wrap{overflow:auto;border:1px solid #d4ddeb;border-radius:14px;background:#fff}
.ranking-table{width:100%;border-collapse:collapse;color:#203655;font-variant-numeric:tabular-nums;white-space:nowrap}
.ranking-table th{background:#203c70;color:white;padding:14px;text-align:left}.ranking-table td{padding:14px;border-bottom:1px solid #e1e7ef}.ranking-table small{display:block;color:#617086}
.ranking-table tr:nth-child(even){background:#f4f7fc}.ranking-record{padding:16px 0;border-bottom:1px solid #d5deeb}.ranking-record>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ranking-record img{width:48px;height:48px;border-radius:50%}
.leader-panel{display:grid;gap:8px;padding:12px;background:#152b4b;border:1px solid #cfb873;border-radius:14px;color:#fff4d0}.leader-panel img{width:60px;height:60px;border-radius:50%;margin:auto}.leader-panel b,.leader-panel small{text-align:center}.leader-panel button{white-space:normal}
.achievement-checks{padding:12px;color:#f7e5b7}.achievement-checks article{padding:10px 0;border-bottom:1px solid #566379}.achievement-checks article div{font-size:13px;padding-top:5px}
.mulligan{max-width:900px;margin:8vh auto;padding:32px}.mulligan-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:24px 0}.mulligan-cards label{border:2px solid #aebcd3;border-radius:16px;padding:24px 12px;min-height:150px;background:#f4f7fc}.mulligan-cards label:has(input:checked){border-color:#b4771f;background:#fff2cc}.mulligan-cards .opening-choice{display:block;margin-top:14px}.mulligan-cards input{width:22px;height:22px}
.investment-badge{font-size:11px;color:#ffeab2;background:#203c70;border-radius:8px;padding:2px 5px}
.account-grid{align-items:start}
.nation{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(320px,1.3fr);gap:12px}
.nation-identity{min-width:0}.nation .victory-metrics{gap:12px;align-items:center}.nation .development strong{font-size:19px;white-space:nowrap}
.nation .nation-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0;width:100%;min-width:0}
.nation .nation-stats .stat{min-width:0;padding:7px 3px}.nation .nation-stats .stat b{font:700 13px/1.5 sans-serif;white-space:nowrap;letter-spacing:-1px}
.nation .nation-stats .stat:has(b[title="Lv3"]){border-color:#f1c65b;background:#94732755}.nation .nation-stats .stat:has(b[title="Lv5"]){border-color:#ffe999;background:#99812288}
body:not(.in-battle) #battle-fx{display:none}
@media(max-width:1100px){.nation{grid-template-columns:1fr auto}.nation .nation-stats{grid-column:1/-1}.nation .nation-stats .stat b{font-size:14px}.leader-panel{grid-column:1/-1}.achievement-checks{grid-column:1/-1}}
@media(max-width:700px){.leader-choices{grid-template-columns:1fr}.mulligan-cards{grid-template-columns:repeat(2,1fr)}.mulligan{margin:16px;padding:18px}}

/* Community operations and multiplayer */
.admin-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.admin-menu-grid button{text-align:left;cursor:pointer;color:var(--ink)}.shared-leader-preview{display:block;width:180px;height:180px;object-fit:cover;border-radius:18px;margin:20px 0}.notice-content{white-space:pre-wrap;overflow-wrap:anywhere}.notice-dialog,.challenge-dialog{max-width:640px;width:90vw;border:1px solid #d4dcec;border-radius:20px;padding:28px;color:#25365a;background:#fffefa}.notice-dialog::backdrop,.challenge-dialog::backdrop{background:#14213bb3}.lobby-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,1.4fr) minmax(240px,1fr);gap:18px;align-items:start}.lobby-grid .panel{min-width:0;margin:0}.lobby-room{border:1px solid #d4dcec;border-radius:12px;padding:14px;margin:12px 0;background:#f3f5fc;overflow-wrap:anywhere}.lobby-room h3{margin-top:0}.lobby-grid aside button{margin:10px 0;width:100%}.chat-messages{height:340px;overflow:auto;overscroll-behavior:contain;background:#f3f5fc;border:1px solid #d4dcec;border-radius:12px;padding:12px;overflow-wrap:anywhere}.chat-messages p{margin:8px 0}.chat-messages b{color:#3154a9}.social-chat form{display:flex;gap:8px;margin:12px 0}.social-chat input{min-width:0;flex:1}.battle-shell>.social-chat{max-width:840px;margin:18px auto;padding:18px;border-radius:16px;background:#fffefa}.battle-shell>.social-chat .chat-messages{height:150px}.spectator-side h2 img{width:48px;height:48px;border-radius:50%;vertical-align:middle;margin-right:12px}.spectator-cards{display:flex;gap:14px;flex-wrap:wrap}.spectator-cards article{padding:20px;background:#f3f5fc;border:2px solid #d4dcec;border-radius:12px}#shared-leader-form{max-width:800px}@media(max-width:1100px){.lobby-grid{grid-template-columns:1fr 1fr}.lobby-grid aside{grid-column:1/-1}}@media(max-width:680px){.lobby-grid,.admin-menu-grid{grid-template-columns:1fr}.lobby-grid aside{grid-column:auto}}

.sidebar{overflow-y:auto;overscroll-behavior:contain}.sidebar .nav{flex-shrink:0}@media(max-width:760px){.sidebar .nav{display:flex;flex-direction:row;overflow-x:auto}.sidebar .nav button{flex:0 0 88px}}

#room-open-form input[type=checkbox],#notice-form input[type=checkbox]{width:18px;height:18px;min-height:0;display:inline-block;vertical-align:middle;margin-right:8px}#room-open-form label:has(input[type=checkbox]),#notice-form label:has(input[type=checkbox]){display:block}
.game-title-image{display:block;width:min(100%,600px);height:auto;border-radius:18px;margin:0 auto 20px;object-fit:contain}
.registration-page{max-width:780px;margin:0 auto;padding:28px 20px 70px;color:#25365a}.registration-page h1{font-size:28px}.registration-title{display:block;width:220px;height:auto;margin:0 auto 16px;border-radius:12px}.registration-back{color:#375dc0}.registration-page form{background:#fffefa;padding:24px;border:1px solid #d4dcec;border-radius:14px}.registration-page label{display:block;margin:16px 0 6px}.registration-page label>input:not([type=checkbox]){display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #b5c3d8;border-radius:7px;font-size:16px}.registration-page fieldset{border:0;padding:0;min-width:0}.registration-page [hidden]{display:none!important}.policy-document{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;background:#f2f5fa;border:1px solid #d4dcec;padding:16px;font:14px/1.8 sans-serif}.registration-page .consent-choice{display:flex;align-items:flex-start;gap:9px;line-height:1.6}.consent-choice input{width:20px;height:20px;flex:none}.registration-page button{min-height:44px}.registration-page small{display:block;line-height:1.7}.registration-page [role=alert]{color:#ad283d}.registration-page [role=status]{font-size:13px}@media(max-width:600px){.registration-page{padding:16px 12px 50px}.registration-page form{padding:16px}.registration-title{width:170px}.game-title-image{max-width:330px}.intro-copy h1{font-size:28px}}

.intro-copy .game-title-image{max-height:320px;width:auto;max-width:100%}.intro-copy:has(.game-title-image) h1{font-size:clamp(26px,3vw,44px);margin:16px 0}.intro-grid:has(.game-title-image){align-items:center}
.community-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.community-tabs,.guide-steps{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 24px}.community-row{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #d8e0eb;padding:15px 6px;color:#223b60;cursor:pointer;overflow-wrap:anywhere}.community-row:hover{background:#eef3fc}.community-row small{display:block;color:#697a91;margin-top:6px}.community-comment{border-bottom:1px solid #d6dfed;padding:12px 0}.community-comment p,.rich-content{line-height:1.8;overflow-wrap:anywhere}.rich-content a{color:#255fa9;text-decoration:underline}.rich-content blockquote,.editor-body blockquote{border-left:3px solid #a8bbd6;padding-left:14px}.community-columns section,.community-columns article{min-width:0}.home-community{margin-top:28px}.rich-editor{border:1px solid #bdcce0;border-radius:10px;overflow:hidden;margin:8px 0 18px}.editor-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:9px;background:#edf2fa}.editor-toolbar button{padding:8px;border:1px solid #becde2;background:white;border-radius:5px;color:#273d5b;cursor:pointer}.editor-body{min-height:200px;max-height:500px;overflow:auto;padding:16px;line-height:1.7;background:white;outline-offset:-3px;overflow-wrap:anywhere}.rich-editor>small{display:block;padding:8px;background:#f6f8fc;color:#516680}.draft-review-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.draft-review-row>div{flex:1;min-width:180px}.guide-steps a{padding:12px;border:1px solid #c1cfe2;border-radius:8px;color:#25436c;text-decoration:none}.game-guide .panel{scroll-margin-top:24px;line-height:1.85}.guide-card-key{display:grid;grid-template-columns:160px 1fr;gap:24px;align-items:center}.guide-card-key img{width:100%}.game-guide li{margin:10px 0}.game-guide details{padding:12px;border-top:1px solid #d6deeb}.game-guide summary{cursor:pointer;font-weight:bold}#creator-preview>.card{width:100%;height:auto;aspect-ratio:2/3;min-height:0;pointer-events:none}#community-write input,#community-write textarea,#community-comment textarea{width:100%;box-sizing:border-box}#community-write textarea{height:250px}.sidebar .brand-icon{cursor:pointer}
@media(max-width:760px){.community-columns{grid-template-columns:1fr}.guide-card-key{grid-template-columns:110px 1fr;gap:12px}.community-tabs .btn{flex:1;padding:10px 6px}.game-guide .page-heading{flex-wrap:wrap}.editor-toolbar button{min-height:40px}}
.illustrated-auth.auth-panel{background:none;border:0;box-shadow:none;padding:0;width:100%;max-width:610px;justify-self:center}
.illustrated-login{position:relative;width:100%;aspect-ratio:963/863;container-type:inline-size}
.login-parchment{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.illustrated-login input{position:absolute;left:18.3%;width:63.4%;height:7.5%;margin:0;padding:0 12px;border:1px solid #bca67a;border-radius:8px;background:#fffdf4b8;color:#18354c;font-size:16px;box-shadow:inset 0 2px 5px #81672d16}
.illustrated-login .login-username{top:40.5%}.illustrated-login .login-password{top:55.3%}
.auth-panel .illustrated-login .illustrated-button{position:absolute;top:66%;left:18.3%;width:63.4%;height:8%;margin:0;border:0;background:url('/assets/buttonUI1_default.png') center/100% 100% no-repeat;color:#fff3cf;font-size:clamp(16px,3cqw,22px);font-weight:bold;filter:none}
.auth-panel .illustrated-login .illustrated-button:active{background-image:url('/assets/buttonUI1_press.png');transform:translateY(1px)}
.auth-panel .signup-link{position:absolute;top:74%;left:17%;width:66%;margin:0;text-align:center;color:#244765;font-size:clamp(10px,2.2cqw,13px);line-height:1.4}.signup-link a{color:#174c8d;font-weight:bold;text-underline-offset:3px}
.illustrated-auth #auth-feedback{margin:0 12%;color:#ffe8ad;text-align:center}
#creator-preview>.card{pointer-events:auto;cursor:crosshair}#creator-preview>.btn{width:100%;margin-top:12px}
.crop-dialog{width:min(94vw,580px);max-height:calc(100dvh - 32px);overflow:auto}.crop-dialog canvas{display:block;width:100%;aspect-ratio:4/3;height:auto;border:2px solid #bc9959;touch-action:none;cursor:move}.crop-dialog label{display:flex;align-items:center;gap:12px;margin:12px 0;font-size:14px}.crop-dialog input{flex:1;min-width:0;min-height:28px}.crop-dialog p{font-size:13px;line-height:1.6}.crop-error{color:#a13232}
@media(max-width:600px){.intro-page{padding:18px 8px}.intro-grid{gap:18px;min-height:0}.intro-copy{padding:12px}.intro-copy h1{font-size:27px}.intro-copy p{font-size:14px}.intro-features{margin-top:12px;font-size:11px}.intro-page footer{padding:16px;font-size:10px}.auth-panel .signup-link{font-size:10px}.illustrated-login input{padding:0 6px}.sidebar .brand-icon{display:none}.sidebar{padding-bottom:env(safe-area-inset-bottom)}.crop-dialog{padding:12px}}
.illustrated-login{min-height:520px}.login-parchment{object-fit:fill}.auth-panel .illustrated-login .illustrated-button{min-height:44px}.auth-panel .signup-link{top:76%}
.illustrated-auth{min-width:0}.illustrated-login{aspect-ratio:auto;height:520px;min-height:0}.intro-grid>*{min-width:0}
@media(max-width:600px){.intro-grid{grid-template-columns:minmax(0,1fr)}.illustrated-login{height:440px}.auth-panel .signup-link{top:78%}.intro-copy .game-title-image{max-width:100%}}
/* Community: night palace masthead, parchment reading surface and clear actions. */
.community-hub{color:#26374a}.community-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:34px;border:1px solid #b99b61;border-radius:16px;background:linear-gradient(90deg,#091e38ef,#0c2a46a6),url('/assets/Background.jpg') center 55%/cover;color:#fff2cc;box-shadow:0 12px 28px #152d491a}
.community-hero h1{font-size:clamp(25px,3vw,36px);margin:10px 0}.community-hero p{color:#cfdae6;line-height:1.7}.community-hero .eyebrow{color:#e8c57d}.community-hero>.btn{background:#102c47bb;color:#f8e6b9;border-color:#a98b57;white-space:nowrap}
.community-hub .community-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0}.community-tabs .btn{min-height:48px;background:#e8e5db;border:1px solid #b9b2a0;border-radius:8px;color:#354557}.community-tabs .btn.primary{background:linear-gradient(#24486c,#142f50);color:#ffe5a2;border-color:#bc9959;box-shadow:inset 0 -3px #c29a52}
.community-body{padding:24px;background:#f9f6ed;border:1px solid #d8ccb5;border-radius:12px}.board-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d6c6a7;margin-bottom:18px}.board-heading h2{margin:0 0 16px}.board-heading>span{font-size:12px;color:#687481}
.community-search{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.community-search label{display:grid;gap:7px;font-size:12px;flex:1;min-width:180px}.community-search input{min-height:44px;padding:10px 12px;border:1px solid #c1b391;border-radius:7px;background:#fffef9;width:100%;font:inherit}.community-search>.btn{min-height:44px}.tag-help{font-size:12px;line-height:1.6;color:#6c716e;margin:12px 0 18px}
.community-hub .board-list{padding:0;background:#fffdf7;border:1px solid #d5c7ab;border-radius:9px;overflow:hidden}.board-row{padding:18px 20px;border-bottom:1px solid #e4dac7}.board-row:last-child{border-bottom:0}.board-row:hover{background:#f0f3f5}.board-row .community-row{border:0;padding:0;background:none}.board-row strong{font-size:16px;color:#203d5b;line-height:1.6}.board-row small{font-size:12px;line-height:1.8;color:#71808a;margin-top:8px}.board-list>p{padding:45px 20px;text-align:center;color:#6e7982}
.post-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.post-tags:empty{display:none}.post-tags button{border:1px solid #cad5dd;background:#eaf0f4;color:#325777;border-radius:20px;padding:5px 10px;font-size:12px;min-height:30px}.post-tags button:hover{background:#d9e5ef}
.community-hub .panel{background:#fffdf8;border-color:#d8ccb5;border-radius:10px}.community-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #ded3bf;margin-top:20px}.community-hub .btn{border-radius:7px}.community-article>h2{margin-top:24px;font-size:26px;overflow-wrap:anywhere}.community-article>.rich-content{padding:24px 0;min-height:150px;border-top:1px solid #dfd3bf;margin-top:20px;line-height:1.9}.community-article>.btn{margin:6px}.community-composer .editor-body{min-height:260px}.community-composer .editor-toolbar{background:#183752}.community-composer .editor-toolbar button{background:#f7f1e3;border-color:#bda775;color:#213d58;min-height:36px}.community-composer .rich-editor{border-color:#c4b28a}.community-hub .modal-actions{justify-content:center;gap:14px}
@media(max-width:600px){.community-hero{padding:22px 18px;display:block}.community-hero>.btn{margin-top:10px}.community-hub .community-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:14px 0}.community-body{padding:14px 10px}.board-heading h2{font-size:20px}.community-search{gap:8px}.community-search label{flex-basis:100%}.community-search>.btn{flex:1}.board-row{padding:15px 12px}.community-hub .panel{padding:16px 12px}.community-hub .board-list{padding:0}.community-article>h2{font-size:22px}.community-actions>.btn{flex:1}.community-composer .editor-toolbar{padding:7px;gap:5px}.community-composer .editor-toolbar button{font-size:11px;padding:7px}.community-composer .editor-body{padding:12px;min-height:220px}.community-hub .ranking-filters{display:grid;grid-template-columns:1fr}}
/* 천년의 기록: navigation, boards and social feedback */
.sidebar .brand .subtitle-logo{display:block;width:100%;max-width:220px;height:auto;margin:4px auto 8px}.sidebar .brand{display:block;margin-bottom:22px}.nav button .menu-icon{width:34px;height:34px;object-fit:contain;flex:0 0 34px}.nav button{display:flex;align-items:center;gap:12px;min-height:48px}.result-hero.is-victory{background:url('/assets/victory.jpg') center/cover no-repeat;color:#253c55}.result-hero.is-victory h1{color:#8b601d;text-shadow:0 2px 12px #fff}.result-hero.is-victory p,.result-hero.is-victory .eyebrow,.result-hero.is-victory .result-numbers span{color:#334b65}.result-hero.is-victory .result-numbers b{color:#28486a}
.chat-message{display:flex;align-items:baseline;gap:9px;overflow-wrap:anywhere}.chat-sender{display:inline-block;flex-shrink:0;max-width:40%;border:1px solid #acbad2;border-radius:6px;padding:2px 7px;background:#e9eef8;color:#254365;font-size:12px;line-height:1.6}.chat-text{min-width:0;white-space:pre-wrap}.chat-unread{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;margin-left:8px;background:#c33340;border-radius:999px;color:white;font:bold 12px sans-serif}.chat-unread[hidden]{display:none}.chat-arrived{animation:chat-arrival .7s ease-out 3}@keyframes chat-arrival{50%{box-shadow:0 0 0 3px #dfae4b,0 0 18px #dfae4b66}}@media(prefers-reduced-motion:reduce){.chat-arrived{animation:none}}
.challenge-dialog{max-width:440px;width:calc(100% - 36px);box-sizing:border-box;padding:28px;border:1px solid #b1bfd5;border-radius:14px;background:#fffdf7;color:#203c59}.challenge-dialog::backdrop{background:#11253e88}.challenge-dialog label{display:grid;gap:10px}.challenge-dialog input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #9baec9;border-radius:6px;font:inherit}.challenge-dialog [data-challenge-seconds]{font-variant-numeric:tabular-nums;color:#af3c32}
.record-row{display:grid;grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(200px,2fr);align-items:center;gap:16px;padding:14px 12px}.record-row:nth-child(even){background:#f2f5fa}.record-row>p{margin:0;font-size:13px;overflow-wrap:anywhere}.record-row>strong{font-size:14px}.board-row{padding:14px 18px}.board-row .community-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;width:100%;text-align:left}.board-row .community-row small{margin:0;white-space:nowrap}.board-row .post-tags:empty{display:none}.board-row .post-tags{margin:5px 0 0}.board-row strong{overflow-wrap:anywhere}.draft-review-row{display:flex;align-items:center;gap:12px}.draft-review-row>div{flex:1}.draft-review-row h2{margin:0 0 7px}
@media(max-width:700px){.record-row{grid-template-columns:1fr auto;gap:7px}.record-row>p{grid-column:1/-1}.board-row .community-row{grid-template-columns:1fr;gap:4px}.board-row .community-row small{white-space:normal}.draft-review-row{flex-wrap:wrap}.draft-review-row>div{flex-basis:100%}.nav button .menu-icon{width:28px;height:28px;flex-basis:28px}}
@media(max-width:800px){.sidebar .brand{display:none}.nav button{gap:3px;min-height:56px;padding:5px 9px}.nav button .menu-icon{width:28px;height:28px;flex:0 0 28px}}
.reduce-motion .chat-arrived{animation:none}
@media(max-width:800px){.sidebar{overflow:hidden}.sidebar .nav{overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.sidebar .nav::-webkit-scrollbar{display:none}}
/* AI practice and card lifecycle feedback */
.mode-icon img{width:100%;height:100%;object-fit:contain}.ai-level-panel{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 20px}.ai-level-panel label{margin:0}.ai-level-panel select{width:auto;min-width:140px}.ai-level-panel p{margin:0;font-size:12px;flex:1;min-width:200px}.guide-card-key img{object-fit:contain;background:white}.game-guide dt{font-weight:700;margin-top:14px}.game-guide dd{margin:5px 0 12px;line-height:1.7}
.card-transition{position:fixed;pointer-events:none;z-index:92;isolation:isolate}.card-transition>img,.card-transition>.card,.card-transition>.field-card{width:100%;height:100%;min-width:0;max-width:none;margin:0;object-fit:contain;transform:none!important}.card-transition>strong{position:absolute;left:50%;top:35%;transform:translateX(-50%);white-space:nowrap;background:#143350ee;color:#fff4ce;border:1px solid #d7b965;border-radius:7px;padding:8px 12px;font-size:14px;box-shadow:0 3px 12px #0006}.invest-transition>strong{background:#61500eee}.destroy-transition>strong{background:#752b2bee}.card-transition.reduced>*:not(strong){opacity:.35}
.guide-card-key{grid-template-columns:minmax(240px,438px) minmax(0,1fr)}.guide-card-key img{max-width:438px;height:auto}@media(max-width:900px){.guide-card-key{grid-template-columns:1fr}.guide-card-key img{margin:auto}}
/* Compact management, tournament and editor layouts */
.breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.breadcrumb button{border:0;background:none;color:inherit;padding:4px 0;cursor:pointer;font:inherit}.breadcrumb button:hover{text-decoration:underline}.breadcrumb [aria-current]{font-weight:700}
.deck-avatar{width:86px;height:86px;object-fit:cover;border-radius:50%;border:3px solid #c5a059;box-shadow:0 3px 12px #14274433;display:block;margin:10px 0}.deck-tile .deck-cover{display:none}
.community-search{justify-content:flex-start}.community-search label{flex:0 1 340px;max-width:340px}.community-search input{width:100%}.board-list+[data-community=new]{margin-top:14px}
.rich-editor .editor-toolbar{display:flex;gap:0;flex-wrap:wrap;background:#f6f7f9;border-bottom:1px solid #d3d6de;padding:5px}.rich-editor .editor-toolbar button{min-width:34px;height:32px;border:0;border-radius:3px;background:transparent;padding:4px 8px;font:16px Georgia,serif;color:#283344}.rich-editor .editor-toolbar button:hover,.rich-editor .editor-toolbar button:focus-visible{background:#dce7f7;outline:2px solid #759bcc}.rich-editor .editor-toolbar button:nth-child(5),.rich-editor .editor-toolbar button:nth-child(8),.rich-editor .editor-toolbar button:nth-child(12){border-right:1px solid #cdd3dc;margin-right:5px}.editor-body{min-height:260px}.editor-body img,.rich-content img{display:block;max-width:100%;max-height:700px;object-fit:contain;margin:14px auto}.rich-editor small{display:block;padding:8px}
.draft-review-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto;gap:14px;align-items:center;padding:14px 18px!important;margin-bottom:8px!important}.draft-review-row h2{font-size:17px;margin:0 0 6px}.draft-review-row p{margin:3px 0;font-size:12px}.draft-review-row .btn{white-space:nowrap}
.member-list-row{display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr;gap:15px;align-items:center;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #d9dfeb;padding:16px;color:#253858;cursor:pointer}.member-list-row:hover{background:#eef4ff}.member-dialog{width:min(600px,92vw);border:1px solid #ccd6e7;border-radius:12px;padding:24px}.member-dialog::backdrop{background:#10203d88}.member-details{display:grid;grid-template-columns:90px 1fr;gap:14px}.member-details dd{margin:0;overflow-wrap:anywhere}.pagination{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.pagination [aria-current=page]{background:#263c63;color:white}#operator-metrics:empty{display:none}#operator-metrics{max-height:500px;overflow:auto}
.achievement-link{text-align:left;cursor:pointer;font:inherit;color:inherit}.achievement-link:hover{border-color:#ae893e;box-shadow:0 6px 20px #12274915}.achievement-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:20px}.achievement-cards .card{width:180px;height:270px;min-height:270px;margin:auto}.achievement-cards section>p{line-height:1.8;font-size:13px}.achievement-cards h3{text-align:center}.achievement-cards .tag{white-space:normal}dialog[data-kind=achievement]{width:min(1000px,94vw);max-width:1000px}
.tournament-banners{display:grid;gap:14px;margin:22px 0}.tournament-banner{display:flex;align-items:center;gap:24px;text-align:left;border:1px solid #c6a569;background:linear-gradient(110deg,#172b4d,#305776);color:white;border-radius:12px;overflow:hidden;cursor:pointer;width:100%;padding:16px}.tournament-banner>img{width:30%;height:110px;object-fit:cover;border-radius:8px}.tournament-banner strong,.tournament-banner small{display:block;margin-top:8px}.tournament-banner strong{font-size:22px}.banner-cup{font-size:58px;padding:12px}.tournament-banner .tag{background:#f5d98f;color:#243654}.tournament-list-row{display:grid;grid-template-columns:110px 1fr 160px 190px;gap:16px;align-items:center;width:100%;text-align:left;cursor:pointer;color:inherit}.tournament-title-image{display:block;max-width:100%;max-height:320px;object-fit:contain;margin:auto}.tournament-upload-preview{max-width:320px;max-height:160px;object-fit:contain}.seed-list{padding:0;list-style:none;max-width:680px}.seed-list li{display:flex;align-items:center;justify-content:space-between;border:1px solid #d4ddec;border-radius:6px;padding:8px 14px;margin:5px 0;background:#fff;cursor:grab}.seed-list li:nth-child(even){margin-bottom:18px}.bracket{display:flex;overflow-x:auto;gap:28px;padding:12px 0}.bracket-round{flex:0 0 220px;display:flex;flex-direction:column;justify-content:space-around;gap:16px}.bracket-match{border:1px solid #cbd6e7;border-radius:9px;background:#fff;padding:12px}.bracket-match>div{padding:8px}.bracket-match .winner{background:#edf5de;color:#3c5d18;font-weight:700}.tournament-badge{display:inline-block;font-size:15px}.tournament-detail .modal-actions{flex-wrap:wrap}
@media(max-width:700px){.member-list-row{grid-template-columns:1fr 1fr;gap:6px}.draft-review-row{grid-template-columns:1fr!important}.draft-review-row .btn{justify-self:start}.tournament-list-row{grid-template-columns:1fr 1fr}.tournament-banner{gap:12px}.tournament-banner strong{font-size:17px}.tournament-banner>img{height:90px}.breadcrumb{font-size:12px}.deck-avatar{width:68px;height:68px}}
.bracket-round{position:relative;padding-top:42px}.bracket-round>h3{position:absolute;top:0;left:0;margin:0}.tournament-upload-preview[hidden]{display:none}
/* Compact deck cards: portrait and name on the left, actual composition on the right. */
.home-bottom>section:first-child{container-type:inline-size}.deck-grid{grid-template-columns:1fr}
.deck-tile{padding:22px 20px 15px;min-height:0;background:#fffefb}.deck-tile.selected{border-color:#6d91f2;box-shadow:0 0 0 1px #6d91f255,0 2px 8px #1e376b12}.deck-tile .eyebrow{display:block;margin-bottom:12px;font-size:9px;letter-spacing:2px}
.deck-tile-body{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:14px;align-items:center;min-height:98px}.deck-tile .deck-avatar{width:76px;height:76px;margin:0;border:2px solid #c5a059;box-shadow:0 4px 10px #14274438}.deck-tile h3{margin:0 0 9px;font:19px/1.45 var(--serif);overflow-wrap:anywhere}.deck-subtitle{display:block;font-size:10px;line-height:1.6;color:#73809a}.deck-type-counts{display:grid;grid-template-columns:repeat(2,max-content);gap:8px 13px;align-content:center;font-size:15px;line-height:1.3;color:#182237}.deck-type-counts>span{white-space:nowrap}.deck-type-counts b{color:#e6322e;margin-left:3px;font-size:17px;font-variant-numeric:tabular-nums}.deck-version-note{display:block;margin-top:8px;color:#a05626;font-size:10px}.deck-tile .deck-meta{display:flex;margin-top:12px;padding-top:12px;font-size:10px;gap:14px;border-color:#d5dff0}.deck-print-note{align-self:center;color:#667891;font-size:11px;line-height:1.5}
@container(min-width:780px){.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:380px){.deck-tile-body{grid-template-columns:64px minmax(0,1fr);gap:10px}.deck-tile .deck-avatar{width:64px;height:64px}.deck-type-counts{grid-column:1/-1;grid-template-columns:repeat(3,max-content);font-size:13px;gap:8px 14px;margin-top:3px}.deck-type-counts b{font-size:15px}}

.rich-editor .editor-toolbar .editor-image-icon{display:block;width:24px;height:24px;object-fit:contain;margin:0}.rich-editor .editor-toolbar [data-editor-command="image"]{display:inline-flex;align-items:center;justify-content:center;padding:4px 5px}
.tournament-banner{position:relative;isolation:isolate;min-height:160px;align-items:flex-end;padding:22px 26px;border:1px solid #c8a869;box-shadow:0 5px 18px #172b4d18}
.tournament-banner.has-image>img{position:absolute;inset:0;width:100%;height:100%;border-radius:0;object-fit:cover;opacity:.78;z-index:-2}
.tournament-banner::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#10223cde,transparent 85%)}
.tournament-banner .banner-copy{display:block;position:relative;color:#fff;text-shadow:0 2px 5px #071428}
.tournament-banner .banner-copy strong{font-size:24px;margin:7px 0}.tournament-banner .banner-copy small{font-size:13px;margin-top:4px;color:#fff}.tournament-banner .tag{text-shadow:none}
.bracket-panel{padding:24px}.bracket-edit-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.bracket-edit-actions>span{font-size:13px;color:#5a6880}.bracket-scroll{overflow:auto;max-height:850px;border:1px solid #d9e1ec;background:#f7f9fc;border-radius:10px}.bracket-tree{display:block;max-width:none}.bracket-lines path{fill:none;stroke:#74869e;stroke-width:2}.bracket-tier-label{fill:#53637b;font-size:14px;font-weight:700}.bracket-tree .bracket-match{height:98px;padding:4px;border-radius:7px;margin:0;border:1px solid #bcc9da;box-shadow:0 2px 5px #172b4d0d;overflow:hidden}.bracket-match .bracket-player{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;height:34px;min-height:34px;margin:0 0 2px;padding:4px 8px;font-size:13px;border:0;border-radius:3px;background:#eef2f7;color:#243654;text-align:left}.bracket-player>span{overflow-wrap:anywhere;line-height:1.1;max-width:145px}.bracket-player>b{font-size:11px;flex-shrink:0}.bracket-match .winner{background:#e4f1d8;color:#386320}.bracket-match .loser{background:#fce8e6;color:#a33530}.bracket-match .empty{color:#8995a6}.bracket-match .selected-slot{outline:2px solid #bd8e28;outline-offset:-2px;background:#fff3d0}.bracket-player[draggable=true]{cursor:grab}.bracket-match>small{display:block;font-size:10px;color:#64748b;line-height:17px;padding-left:8px}.bracket-champion{font-size:22px;font-weight:700;color:#967022}
.battle-record-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:24px;align-items:stretch}.achievement.battle-record{position:relative;padding:30px 28px 26px;min-width:0;border:1px solid #d4ae58;border-radius:16px;background:#1c2030;color:#dcd9d0;box-shadow:inset 0 0 0 6px #141823,inset 0 0 0 7px #756038;display:flex;flex-direction:column;font-family:'Malgun Gothic',sans-serif}.battle-record::before,.battle-record::after{content:'◆';position:absolute;left:50%;transform:translateX(-50%);color:#d4ae58;font-size:15px;line-height:15px}.battle-record::before{top:-8px}.battle-record::after{bottom:-8px}.record-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;align-items:center}.record-top>span{color:#d4ae58;font-weight:700;letter-spacing:2px}.record-top time{color:#a9afc1;white-space:nowrap}.record-result{margin:28px 0 24px;text-align:center;color:#f0cd75}.battle-record.defeat .record-result{color:#e77a70}.battle-record.draw .record-result,.battle-record.aborted .record-result{color:#b5bfd7}.record-result h2{display:flex;align-items:center;gap:14px;margin:0;color:inherit;font:700 clamp(32px,3vw,49px) Georgia,serif;letter-spacing:4px}.record-result h2::before,.record-result h2::after{content:'';height:1px;background:currentColor;flex:1;opacity:.5}.battle-record .record-result p{margin:9px 0 0;color:inherit;letter-spacing:6px;font-size:14px}.record-reason{display:flex;align-items:center;gap:16px;border:1px solid #a68c53;border-radius:10px;background:#24293a;padding:15px 18px}.record-reason>span{font-size:28px;color:#efc964}.record-reason small{color:#a9afc1;font-size:11px}.battle-record .record-reason h3{margin:3px 0 0;font:700 20px 'Malgun Gothic',sans-serif;color:#eee2be;overflow-wrap:anywhere}.record-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 24px;text-align:center}.record-stats>div{padding:14px 3px 11px;border:1px solid #343c55;border-radius:9px;background:#24293a;display:flex;flex-direction:column;align-items:center}.record-stats dt{display:contents;font-size:10px;color:#b2b7c8}.record-stats dt>span{color:#dbaf48;font-size:24px;order:-2;margin-bottom:6px}.record-stats dd{order:-1;margin:0 0 7px;color:#ece0b9;font:700 24px Georgia,serif;white-space:nowrap}.record-stats dd small{font:11px 'Malgun Gothic',sans-serif;color:#afb6c9;margin-left:2px}.record-stats>div>small{color:#8f98af;font-size:9px;margin-top:3px}.record-achievement-head{display:flex;justify-content:space-between;font-size:12px;margin-bottom:10px}.record-achievement-head strong{color:#d6ad53}.record-achievement-head>span{color:#a9afc1}.record-achievements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.record-achievement{min-height:80px;border:1px solid #c49c4c;border-radius:8px;background:#24293a;display:flex;flex-direction:column;justify-content:center;text-align:center;padding:8px 5px;gap:8px}.record-achievement>span{color:#efc964;font-size:24px}.record-achievement>strong{font-size:12px;overflow-wrap:anywhere;color:#e9dfc4}.record-achievement.locked{border:1px dashed #414b67;background:#181c2a}.record-achievement.locked>span{color:#586480}.battle-record .record-note{font-size:11px;line-height:1.6;text-align:center;color:#a9afc1;margin:12px 0 22px}.battle-record .record-turns{margin-top:auto;width:100%;background:#d5b369;color:#211b0f;border:1px solid #f0d58a;border-bottom:3px solid #a18544;border-radius:9px;font-size:14px;font-weight:700;padding:14px}.record-turns>span{margin-left:10px}
@media(max-width:700px){.tournament-banner{min-height:148px;padding:18px}.tournament-banner.has-image>img{height:100%}.tournament-banner .banner-copy strong{font-size:20px}.bracket-panel{padding:14px}.bracket-panel .section-head{flex-wrap:wrap;gap:12px}.battle-record-grid{grid-template-columns:1fr}.achievement.battle-record{padding:28px 24px 24px}.record-result h2{font-size:42px}}

@media(max-width:700px){.record-stats>div:nth-child(2) dd{font-size:20px}}

.record-achievement.locked>svg{color:#586480;align-self:center}
.ui-icon{display:inline-block;flex-shrink:0;vertical-align:middle}.gold-panel{position:relative;border:1px solid #c8a354;background:#fffdf7;box-shadow:inset 0 0 0 5px #f4edda,inset 0 0 0 6px #d8c79e;border-radius:15px;color:#25365a}
.list-filter-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:26px 0 20px}.list-filters{display:flex;gap:10px;flex-wrap:wrap}.list-filter{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #afbce7;color:#25365a;background:#fff;border-radius:999px;padding:10px 20px;font-size:13px;font-weight:700}.list-filter.active{background:#354f9d;border-color:#354f9d;color:#fff}.list-filter .ui-icon{width:16px;height:16px}.list-total{font-size:12px;color:#64708a}.list-pagination{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:28px 0 14px}.page-number{border:1px solid #b8c5e5;border-radius:7px;background:#fff;color:#25365a;min-width:38px;min-height:38px;padding:7px 12px}.page-number.current{background:#354f9d;color:#fff;border-color:#354f9d;font-weight:700}.list-empty{grid-column:1/-1;text-align:center;padding:56px 20px;color:#62728b;border:1px dashed #bdc9df;border-radius:14px;background:#f8faff}.battle-record-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.codex-intro{padding:28px 32px}.codex-intro h2{font:22px var(--serif);display:flex;align-items:center;gap:16px;margin:4px 0 20px}.codex-intro h2::after{content:'◆';font:12px sans-serif;color:#bf9a52;flex:1;border-bottom:1px solid #d9c69c;text-align:right;line-height:0}.codex-intro ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0}.codex-intro li{display:flex;gap:14px;align-items:start;padding:18px;border:1px solid #cfd8fc;border-radius:12px;background:#edf1ff;font-size:13px;line-height:1.8}.codex-intro li>b{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border:1px solid #b8872a;border-radius:50%;background:#fff5dd;color:#8e641c;font:700 22px Georgia,serif}.codex-note{display:flex;align-items:start;gap:10px;font-size:12px;line-height:1.8;color:#657494;margin:22px 0 4px}.codex-note .ui-icon{width:16px;color:#a17122;margin-top:3px}.codex-legend{text-align:right;font-size:12px;color:#62708d}.codex-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.codex-card{padding:24px;display:flex;flex-direction:column;min-width:0}.codex-card-top{display:flex;align-items:start;justify-content:space-between;gap:16px}.codex-card-top .eyebrow{font-size:11px;letter-spacing:0;color:#996b24;font-weight:700}.codex-points{display:grid;place-items:center;flex-shrink:0;width:49px;height:49px;border:1px solid #b7852b;border-radius:50%;color:#936a22;background:#fff5dd;font:24px Georgia,serif}.codex-card h3{font:27px var(--serif);color:#25365a;margin:8px 0 13px}.codex-level{display:inline-flex;align-items:center;align-self:start;gap:7px;padding:5px 12px;border:1px solid #d4bbee;border-radius:999px;color:#884bb4;background:#f3eafa;font-size:12px}.codex-level.science{color:#287b9e;background:#e5f3fa;border-color:#acd8ec}.codex-level.military{color:#b7433d;background:#fdebea;border-color:#efbcb8}.codex-level.economy,.codex-level.morale{color:#587539;background:#eff7e5;border-color:#c5dbaa}.codex-level .ui-icon{width:14px;height:14px}.codex-combination{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0;min-height:30px;font-size:13px}.combination-card{display:inline-flex;align-items:center;gap:6px}.combination-card .ui-icon{width:15px;height:15px;color:#a16d19}.combination-card .ui-icon:has(path[d^="m3 8"]){color:#287b9e}.combination-plus{color:#a17122}.combination-card.action-card{background:#fff5dc;border:1px solid #bd8b36;border-radius:6px;padding:5px 8px}.codex-card .codex-detail{width:100%;margin-top:auto;border:1px solid #c29850;border-radius:9px;background:#fff;color:#25365a;font-size:13px;font-weight:700;padding:12px}.codex-detail>span{margin-left:12px}
.lobby-heading{align-items:end}.lobby-connection{display:inline-flex;align-items:center;gap:9px;border:1px solid #d2dcf4;background:#fffdf7;border-radius:999px;padding:10px 15px;color:#647392;font-size:12px;white-space:nowrap}.lobby-connection>i,.user-presence>i{width:8px;height:8px;background:#bc9952;border-radius:50%;display:inline-block}.lobby-connection>i.online{background:#43805b}.lobby-redesign{grid-template-columns:minmax(0,1.05fr) minmax(0,1.3fr) minmax(0,1fr);gap:24px}.lobby-left{display:grid;gap:22px;min-width:0}.lobby-redesign .panel{padding:25px 23px}.lobby-panel-title{display:flex;align-items:center;gap:10px;font:21px var(--serif);color:#25365a;margin:0 0 18px!important;padding-bottom:20px;border-bottom:1px solid #dac69b;position:relative}.lobby-panel-title::after{content:'◆';position:absolute;bottom:-7px;left:50%;background:#fffdf7;padding:0 7px;color:#b89349;font:12px sans-serif}.lobby-panel-title>.ui-icon{color:#996b24}.lobby-count{margin-left:auto;font:700 12px sans-serif;padding:3px 10px;border-radius:999px;border:1px solid #cbd7ff;background:#edf1ff;color:#354f9d}.lobby-redesign .lobby-room{margin:14px 0;padding:15px;border:1px solid #cbd7f9;background:#fff;border-radius:13px}.room-title-row{display:flex;align-items:start;gap:7px}.lobby-room h3{font:18px var(--serif);color:#25365a;margin:0;flex:1}.room-lock .ui-icon{width:14px;height:16px;color:#8e641c}.room-status{font-size:11px;padding:3px 9px;border-radius:999px;border:1px solid #b8ddc7;background:#e9f6ed;color:#387252;font-weight:700;white-space:nowrap}.room-status.playing{color:#936a22;background:#fff0cf;border-color:#efcd85}.room-status.finished{color:#6b7181;background:#f0f1f5;border-color:#cfd3df}.room-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#627392;font-size:11px;margin:12px 0}.room-meta .ui-icon,.room-spectators .ui-icon{width:14px;height:14px}.room-deck{display:inline-flex;align-items:center;gap:4px}.room-capacity{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#637393}.room-seats{display:flex;gap:4px}.room-seats>i{width:13px;height:13px;border:1px dashed #8297cb;border-radius:50%}.room-seats>i.filled{background:#354f9d;border:1px solid #354f9d}.room-spectators{display:inline-flex;align-items:center;gap:6px;margin-left:auto}.room-actions{display:flex;gap:8px;margin-top:12px}.room-actions .btn{flex:1;border:1px solid #afbce7;border-radius:7px;font-weight:700;padding:10px;font-size:12px}.lobby-redesign .btn.primary{background:#354f9d;color:#fff;border-color:#293e7e;border-bottom:3px solid #263866}.lobby-rooms-empty{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 10px}.empty-card-stack{width:120px;height:96px;position:relative;margin-bottom:23px}.empty-card-stack>i{position:absolute;left:30px;top:0;width:64px;height:88px;border:1px dashed #bd8b36;border-radius:8px;background:#fff6df;display:grid;place-items:center;color:#bc8a2b;font:28px Georgia,serif}.empty-card-stack>i:first-child{transform:rotate(-11deg) translate(-26px,10px);background:#fffdf7}.empty-card-stack>i:nth-child(2){transform:rotate(11deg) translate(26px,10px);background:#fffdf7}.lobby-rooms-empty h3{font:19px var(--serif);margin:8px 0}.lobby-rooms-empty p{font-size:12px;color:#647392;line-height:1.7}.lobby-rooms-empty .btn{margin-top:8px;border-radius:9px;padding:12px 22px}.lobby-user-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e7dbc2;font-size:13px}.lobby-user-row:last-child{border-bottom:0}.lobby-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;flex-shrink:0;background:#354f9d;color:#fff;font:700 18px var(--serif)}.lobby-user-row:nth-child(3n+2) .lobby-avatar{background:#916b23}.lobby-user-row:nth-child(3n+3) .lobby-avatar{background:#386949}.lobby-user-row>div{min-width:0;flex:1;overflow-wrap:anywhere}.lobby-user-row strong{font-weight:500;color:#25365a}.self-label{display:inline-block;margin-left:5px;padding:2px 5px;border-radius:5px;background:#fff0cf;color:#936a22;font-size:10px}.user-presence{display:flex;gap:5px;align-items:center;margin-top:4px;font-size:10px;color:#43805b}.user-presence>i{width:6px;height:6px;background:#43805b}.user-presence.busy{color:#997426}.user-presence.busy>i{background:#b88b29}.lobby-user-row .btn{border-radius:8px;border-color:#b8c6e7;background:#fff;padding:9px 15px;font-size:12px;color:#25365a}.lobby-users-empty{font-size:12px;color:#647392}
.lobby-chat-panel{height:100%}.lobby-social-chat{display:flex;flex-direction:column;height:100%}.lobby-redesign .chat-messages{background:#edf1ff;border:1px solid #ccd7fc;min-height:340px;height:540px;flex:1;padding:16px;border-radius:12px}.lobby-chat-empty{height:100%;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;color:#627392}.lobby-chat-empty>.ui-icon{width:28px;height:28px;color:#8a9acc}.lobby-chat-empty strong{font-size:14px}.chat-quick-replies{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0}.chat-quick-replies button{border:1px solid #b8c5ec;background:#fff;border-radius:999px;padding:8px 11px;font-size:11px;color:#354f9d}.lobby-social-chat form{margin:12px 0 0;gap:10px}.lobby-social-chat form .btn{border-radius:8px;display:flex;align-items:center;gap:6px;white-space:nowrap;padding:10px 15px}.lobby-chat-message{display:flex;align-items:start;gap:10px;margin:12px 0 20px}.lobby-chat-message .lobby-avatar{width:31px;height:31px;font-size:15px}.chat-message-body{max-width:calc(100% - 41px);min-width:0}.chat-meta{display:flex;align-items:center;gap:7px;font-size:10px;color:#687899;margin-bottom:6px}.lobby-social-chat .chat-sender{border:0;border-radius:5px;padding:2px 6px;background:#dfe7ff;color:#4d608e;font-size:10px;max-width:100%;overflow-wrap:anywhere}.lobby-social-chat .chat-messages .chat-bubble{background:#fff;border:1px solid #cbd7fc;border-radius:3px 13px 13px 13px;color:#25365a;padding:10px 12px;font-size:12px;line-height:1.7;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.lobby-chat-message.own{justify-content:end}.lobby-chat-message.own .chat-message-body{max-width:88%}.lobby-chat-message.own .chat-meta{justify-content:end}.lobby-social-chat .own .chat-bubble{background:#354f9d;color:#fff;border-color:#354f9d;border-radius:13px 3px 13px 13px}
.lobby-deck-choice{border:0;margin:0;padding:0}.lobby-deck-choice legend{font-size:12px;font-weight:700;margin:5px 0 10px}.lobby-redesign aside .lobby-deck-option{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 8px;padding:10px 12px;border:1px solid #cbd7fc;background:#fff;border-radius:10px;min-height:58px;text-align:left;color:#25365a}.lobby-deck-option strong{flex:1;min-width:0;font:15px var(--serif)}.lobby-redesign .lobby-deck-option.selected{background:#fff5dd;border-color:#be8c2c}.mini-deck{border:1px solid #b5c3e4;border-radius:3px;width:28px;height:37px;display:grid;place-items:center;color:#a8b6dd;background:#fff}.selected .mini-deck{border-color:#be8c2c;color:#be8c2c}.deck-radio{width:19px;height:19px;border:2px solid #a9b9df;border-radius:50%;flex-shrink:0}.selected .deck-radio{border-color:#be8c2c;background:radial-gradient(circle,#be8c2c 0 4px,transparent 5px)}.lobby-preparation form label{font-size:12px;margin:18px 0 12px}.lobby-preparation .spectator-option{padding:12px;border:1px solid #cbd7fc;border-radius:8px;background:#fff}.lobby-redesign aside .btn{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font-weight:700;font-size:12px;line-height:1.4;padding:13px 8px}.lobby-redesign aside .random-challenge{border-color:#c49c4c;background:#fff;color:#25365a}.lobby-redesign aside .cancel-challenge{border-color:#cbd7fc;background:#fff;color:#647392}.lobby-help{display:flex;align-items:start;gap:10px;color:#647392;font-size:11px;line-height:1.9;margin:20px 0 0}.lobby-help .ui-icon{width:15px;color:#a17122;margin-top:4px}
@media(max-width:1200px){.lobby-redesign{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}.lobby-redesign aside{grid-column:1/-1}.lobby-deck-choice [role=radiogroup]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.codex-intro ol{grid-template-columns:1fr}.codex-intro li{padding:14px}}
@media(max-width:700px){.battle-record-grid,.codex-grid{grid-template-columns:1fr}.codex-intro{padding:22px}.codex-intro h2{font-size:20px}.codex-card{padding:24px}.codex-card h3{font-size:25px}.list-filter{padding:9px 14px;font-size:12px}.list-pagination{gap:5px}.page-number{padding:6px 9px}.codex-legend{font-size:11px;text-align:left}.lobby-redesign{grid-template-columns:1fr}.lobby-heading{align-items:start;gap:12px}.lobby-connection{white-space:normal}.lobby-redesign aside{grid-column:auto}.lobby-redesign .panel{padding:22px}.lobby-redesign .chat-messages{height:340px;flex:none}.lobby-deck-choice [role=radiogroup]{grid-template-columns:1fr}.lobby-panel-title{font-size:21px}.lobby-rooms-empty{min-height:300px}}

/* Compact battle records: poker-card proportions, at most four columns. */
@media(min-width:761px){.layout{grid-template-columns:248px minmax(0,1fr)}.sidebar{width:248px}}
.battle-record-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));max-width:1260px;gap:20px;align-items:start}
.achievement.battle-record{container-type:inline-size;box-sizing:border-box;width:100%;max-width:300px;aspect-ratio:63/88;min-height:0;padding:18px 16px 16px;border-radius:12px;justify-self:start}
.battle-record .record-top{font-size:3.5cqw;gap:5px;line-height:1.3}.battle-record .record-top>span{letter-spacing:1.2px}
.battle-record .record-result{margin:5cqw 0 4cqw}.battle-record .record-result h2{font-size:11.5cqw;gap:3cqw;letter-spacing:2px;line-height:1.15}.battle-record .record-result p{margin:2cqw 0 0;font-size:4cqw;letter-spacing:3px;line-height:1.3}
.battle-record .record-reason{padding:3cqw 4cqw;gap:3cqw;min-height:17cqw;border-radius:7px}.battle-record .record-reason>span{font-size:8cqw}.battle-record .record-reason>div{min-width:0}.battle-record .record-reason small{font-size:3.5cqw}.battle-record .record-reason h3{font-size:5cqw;line-height:1.25;margin:1cqw 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.battle-record .record-stats{gap:2cqw;margin:4cqw 0}.battle-record .record-stats>div{padding:3cqw 1cqw 2.5cqw;border-radius:6px;min-height:27cqw}.battle-record .record-stats dt{font-size:3.5cqw}.battle-record .record-stats dt>span{font-size:7cqw;margin-bottom:1.5cqw}.battle-record .record-stats dd,.battle-record .record-stats>div:nth-child(2) dd{font-size:7cqw;margin:0 0 2cqw}.battle-record .record-stats dd small{font-size:3cqw;margin-left:1px}.battle-record .record-stats>div>small{font-size:3cqw;margin-top:1cqw}
.battle-record .record-achievement-head{font-size:3.8cqw;margin-bottom:2cqw}.battle-record .record-achievements{gap:2cqw;max-height:20cqw;min-height:20cqw;overflow-y:auto;overscroll-behavior:contain;flex-shrink:0}.battle-record .record-achievement{min-height:20cqw;padding:2cqw 1cqw;gap:1cqw;border-radius:6px}.battle-record .record-achievement>span{font-size:6cqw}.battle-record .record-achievement>strong{font-size:3.5cqw;line-height:1.25}.battle-record .record-achievement.locked>svg{width:6cqw;height:6cqw}
.battle-record .record-note{font-size:3.5cqw;line-height:1.4;margin:2.5cqw 0 3cqw}.battle-record .record-turns{font-size:4.3cqw;padding:3cqw 2cqw;border-radius:6px;min-height:12cqw}.battle-record .record-turns>span{margin-left:2cqw}
.battle-record .record-stats>div{font-size:3.5cqw;line-height:1.2}.battle-record .record-stats dt>span{line-height:1}.battle-record .record-stats dd{line-height:1.1}

/* Community: cream and gold panels, blue navigation, compact reading rows. */
.community-hub{color:#25365a}.community-hub .community-hero{display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#25365a}.community-hero h1{font:700 clamp(28px,3vw,40px) var(--serif);margin:12px 0}.community-hero p{color:#59698e;font-size:14px}.community-hero .eyebrow{color:#9d6815}
.community-hub .community-tabs{gap:12px;margin:26px 0 24px}.community-tabs .btn{display:flex;align-items:center;justify-content:center;gap:12px;background:#fffefb;border:1px solid #ced6f4;color:#25365a;min-height:54px;border-radius:11px;font-weight:700}.community-tabs .ui-icon{color:#9d6815;width:18px;height:18px}.community-tabs .btn.primary{background:#354f9d;color:#fff;border-color:#293e7c;box-shadow:inset 0 -3px #c9a056}.community-tabs .btn.primary .ui-icon{color:#fff}
.community-hub .community-body{padding:0;border:0;background:none}.community-hub .gold-panel{padding:30px 32px;border:1px solid #c99e50;border-radius:15px;background:#fffdf6;box-shadow:inset 0 0 0 5px #faf2dc,inset 0 0 0 6px #ddc8a1}.community-hub .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #cfa052;border-radius:9px;color:#25365a;min-height:42px;font-weight:700}.community-hub .btn.primary{background:#354f9d;color:#fff;border-color:#293e7c;border-bottom:3px solid #c9a056}.community-hub .btn.danger{border-color:#efa9a1;color:#b9493d}.community-hub .btn .ui-icon{width:16px;height:16px}
.community-divider{position:relative;height:1px;background:#e5d2a8;margin:23px 0}.community-divider>span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:0 8px;background:#fffdf6;color:#b79049;font-size:11px}.community-hub .board-heading{margin:0;border:0;align-items:center}.community-hub .board-heading h2,.community-composer h2,.community-rankings>h2{font:28px var(--serif);margin:10px 0 0}.community-count{display:inline-flex;border-radius:999px;border:1px solid #d0d9ff;background:#edf2ff;color:#354f9d;padding:5px 12px;font-size:12px;font-weight:700;white-space:nowrap}
.community-hub .community-search{flex-wrap:nowrap;align-items:center;max-width:660px}.community-search label{position:relative;display:block;min-width:0;margin:0}.community-search label>.ui-icon{position:absolute;left:14px;top:15px;color:#7684a8;width:18px;height:18px}.community-hub .community-search input{padding:12px 14px 12px 42px;background:#fff;border-color:#b7c4ec;font-size:14px;min-height:46px}.community-search>.btn{flex:none;min-width:80px;min-height:46px}.community-hub .tag-help{color:#657598;font-size:12px}
.community-hub .board-list{padding:0;border:0;background:none;overflow:visible}.community-hub .board-row{padding:18px 20px;margin:12px 0;border:1px solid #ced8f7;border-radius:12px;background:#fff}.community-hub .board-row:hover{background:#f7f9ff}.community-hub .board-row .community-row{padding:0;border:0;grid-template-columns:minmax(0,1fr) auto;gap:16px}.board-row-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.board-row-title strong{font:19px/1.5 var(--serif);color:#25365a}.board-row-meta{display:flex;align-items:center;gap:9px}.board-row-meta small{font-size:12px!important;color:#657598!important}.row-arrow{font-size:23px;color:#9d6815;margin-left:10px}.community-avatar{display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#354f9d;color:#fff;font-weight:700;font-size:13px}.notice-label,.comment-count,.suggestion-label{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;font:700 11px sans-serif;border-radius:999px;white-space:nowrap}.notice-label{color:#fff;background:#95671a}.notice-label .ui-icon,.comment-count .ui-icon{width:12px;height:12px}.comment-count{background:#e3f4fb;color:#207b9b;border:1px solid #abdbe9}.suggestion-label{background:#fff4d8;color:#85600e;border:1px solid #e6c98b}.community-hub .post-tags button{padding:3px 9px;min-height:24px;border-color:#d0d9f4;background:#eef3ff;color:#4762b0;font-size:11px}.board-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:22px}.community-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:24px 0 0;color:#59698e;font-size:13px}.board-footer .community-pagination{margin:0}.community-empty{text-align:center;border:1px dashed #ccaa6a;border-radius:12px;padding:35px 20px;background:#fffefb}.community-empty .empty-card-stack{transform:scale(.8);margin:0 auto 12px}.community-empty h3{font:22px var(--serif);margin:12px 0}.community-empty p{font-size:13px;color:#657598}
.community-detail{max-width:960px;margin:auto}.community-hub .community-article>h2{font:30px/1.4 var(--serif);margin:12px 0}.article-board{display:block;margin-top:24px}.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px}.article-meta time{color:#657598;font-size:12px}.article-meta .post-tags{margin:0}.community-hub .community-article>.rich-content{border:0;margin:0;padding:3px 0 22px;min-height:150px;color:#25365a;line-height:1.85}.community-hub .community-article>.btn{margin:0}.community-actions{margin:20px 0 0;border-color:#e5d2a8}.community-comments>h3{display:flex;align-items:center;gap:10px;font:23px var(--serif);margin:6px 0 20px}.community-comments>h3>.ui-icon{color:#9d6815}.community-comment{display:flex;align-items:start;gap:12px;border:1px solid #ced8f7;border-radius:12px;padding:16px 18px;background:#fff;margin:12px 0}.community-comment>.community-avatar{width:36px;height:36px;flex-basis:36px;background:#2c7050}.community-comment>div{flex:1;min-width:0}.comment-meta{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px}.comment-meta time{font-size:11px;color:#657598}.community-comment p{font-size:14px;margin:9px 0 0;overflow-wrap:anywhere}.community-comment>.btn{flex:none;min-height:36px}.community-comments form label{margin-top:24px}.community-comments textarea{height:130px;background:#fff;border-color:#b7c4ec}.comment-submit{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}.comment-submit>small{color:#657598}
.community-composer .community-field>span{display:flex;justify-content:space-between;align-items:center}.community-field small{font-weight:400;color:#657598;font-size:12px}.community-composer input,.community-composer select{background:#fff;border-color:#b7c4ec}.community-composer .editor-label{font:700 14px sans-serif;margin:24px 0 8px}.community-composer .rich-editor{border:1px solid #c9a056;border-radius:12px}.community-composer .editor-toolbar{background:#f0f3ff;border-bottom:1px solid #d0d9ff;padding:10px;gap:3px}.community-composer .editor-toolbar button{border:0;background:none;color:#25365a;font-size:15px;min-width:34px;min-height:34px}.community-composer .editor-toolbar button:hover{background:#dde5ff}.community-composer .editor-toolbar button:nth-child(5),.community-composer .editor-toolbar button:nth-child(8),.community-composer .editor-toolbar button:nth-child(12),.community-composer .editor-toolbar button:nth-child(15){border-right:1px solid #c9d3ef;border-radius:0;margin-right:6px;padding-right:12px}.community-composer .editor-body{min-height:280px;padding:20px;background:#fffefb}.editor-body:empty:before{content:attr(data-placeholder);color:#7c89ab;pointer-events:none}.editor-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 14px;background:#f0f3ff;color:#657598;font-size:11px;border-top:1px solid #d0d9ff}.editor-footer>small{flex:1}.editor-footer>span{white-space:nowrap}.composer-note,.ranking-help{display:flex;align-items:start;gap:10px;font-size:12px;line-height:1.8;color:#657598}.composer-note>.ui-icon,.ranking-help>.ui-icon{color:#9d6815;flex:none;width:16px;height:16px;margin-top:3px}.notice-options{display:flex;align-items:center;gap:24px}.notice-options>label{flex:1}.notice-options .notice-popup{flex-direction:row;align-items:center}.notice-popup input{width:18px;min-height:18px}
.community-hub .ranking-filters{background:#f0f3ff;border:1px solid #d0d9ff;border-radius:12px;padding:18px;gap:14px}.ranking-filters label{margin:0;font-size:12px;min-width:140px}.ranking-filters input,.ranking-filters select{background:#fff;border-color:#b7c4ec}.ranking-filters>.btn{margin:0;min-height:46px}.ranking-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}.community-hub .podium-card{display:flex;align-items:center;gap:14px;min-width:0;padding:20px;border:1px solid #ced8f7;border-radius:12px;background:#fff;color:#25365a;text-align:left;min-height:126px}.community-hub .podium-card.gold-panel{border-color:#c99e50;background:#fffdf6}.podium-card.empty{border-style:dashed;background:none}.podium-card small{display:block;color:#657598;font-size:11px;line-height:1.7;margin-top:4px}.podium-user{flex:1;min-width:0;overflow-wrap:anywhere}.podium-user>strong{font:20px var(--serif)}.podium-points{text-align:right}.podium-points>b{font:700 34px Georgia,serif;color:#916312}.rank-medal{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #96a5d2;border-radius:50%;color:#59698e;background:#f0f3ff;font:700 16px Georgia,serif}.rank-medal.rank-1{background:#fff5df;color:#916312;border-color:#c99e50}.podium-card .rank-medal{width:52px;height:52px;font-size:27px}.podium-card.empty .rank-medal{border-style:dashed;background:#fff}.ranking-table th{background:#354f9d;font-size:12px;padding:13px 12px}.ranking-table th .ui-icon{width:14px;height:14px;vertical-align:middle;margin-right:5px}.ranking-table td{font-size:12px;padding:14px 12px}.ranking-table td:nth-child(2){min-width:115px}.ranking-points{font:700 22px Georgia,serif;color:#916312}.ranking-bar{display:block;height:5px;min-width:50px;background:#e1e6f6;border-radius:3px;margin-top:5px;overflow:hidden}.ranking-bar i{display:block;height:100%;background:#354f9d}.ranking-bar.economy i{background:#986919}.ranking-bar.culture i{background:#8051a0}.ranking-bar.science i{background:#2584a7}.ranking-bar.morale i{background:#b74777}.ranking-empty{text-align:center;padding:32px!important}
/* Registration information and visible progress. */
.registration-page{max-width:720px;padding:48px 20px 60px}.registration-heading{text-align:center}.registration-heading h1{font:700 40px var(--serif);margin:14px 0}.registration-heading p{font-size:14px;color:#59698e}.registration-steps{display:flex;list-style:none;justify-content:space-between;padding:0;margin:30px auto;max-width:500px}.registration-steps li{position:relative;flex:1;display:flex;align-items:center;flex-direction:column;gap:10px;color:#657598;font-size:12px}.registration-steps li:not(:last-child):after{content:'';position:absolute;top:22px;left:calc(50% + 28px);width:calc(100% - 56px);border-top:2px dashed #b4c2ed}.registration-steps li.complete:after{border-top:2px solid #c99e50}.registration-steps b{display:grid;place-items:center;width:44px;height:44px;background:#fff;border:2px dashed #96a5d2;border-radius:50%;font:700 22px Georgia,serif}.registration-steps li.current{color:#25365a;font-weight:700}.registration-steps .current b{background:#354f9d;color:#fff;border:2px solid #354f9d;outline:2px solid #c99e50;outline-offset:4px}.registration-steps .complete b{border:2px solid #c99e50;color:#916312;background:#fff5df}.registration-page #registration-form{padding:36px 38px;border:1px solid #c99e50;border-radius:15px;background:#fffdf6;box-shadow:inset 0 0 0 5px #faf2dc,inset 0 0 0 6px #ddc8a1}.registration-page h2{font:28px var(--serif);margin:10px 0 0}.registration-page label{font-size:14px;font-weight:700;margin:24px 0 9px}.registration-page input:not([type=checkbox]){display:block;width:100%;height:48px;border:1px solid #b7c4ec;border-radius:9px;padding:11px 14px;background:#fff;color:#25365a;font-size:15px}.registration-page input:focus{outline:3px solid #d9e3ff;border-color:#7085bc}.registration-page .registration-help{font-size:11px;line-height:1.7;color:#657598;margin:10px 0 0}.username-field{display:flex;align-items:center;gap:10px}.username-field>input{min-width:0;flex:1}.registration-page .btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c99e50;background:#fff;color:#25365a;border-radius:9px;font-weight:700;font-size:13px;min-height:48px;text-decoration:none;white-space:nowrap}.registration-page .btn.primary{background:#354f9d;color:#fff;border-color:#293e7c;border-bottom:3px solid #c99e50}.registration-passwords{display:grid;grid-template-columns:1fr 1fr;gap:16px}.password-field{position:relative}.registration-page .password-field input{padding-right:46px}.password-field>button{position:absolute;right:1px;top:1px;width:43px;height:46px;border:0;background:none;color:#59698e;min-height:0}.password-field .ui-icon{width:18px;height:18px}.registration-role{display:flex;align-items:center;gap:14px;font-size:12px;line-height:1.7;color:#657598;padding:16px 18px;background:#f0f3ff;border:1px solid #d0d9ff;border-radius:12px;margin:22px 0}.registration-role>span{white-space:nowrap;border:1px solid #c99e50;border-radius:999px;padding:4px 10px;color:#916312;background:#fff5df;font-weight:700}.registration-actions{display:flex;gap:12px;border-top:1px solid #e5d2a8;padding-top:20px;margin-top:24px}.registration-actions>*{flex:1}.registration-actions>.primary{flex:1.6}.registration-login{text-align:center;color:#657598;font-size:12px;margin-top:28px}.registration-login a{color:#354f9d;font-weight:700}.registration-page #registration-feedback:empty{display:none}.registration-page .policy-document{border-radius:9px;border-color:#d0d9ff;background:#f0f3ff}
@media(max-width:1100px){.ranking-podium{grid-template-columns:1fr}.community-hub .podium-card{min-height:95px}.ranking-filters{display:grid!important;grid-template-columns:1fr 1fr}.ranking-filters label{min-width:0}.ranking-filters>.btn{grid-column:1/-1}}
@media(max-width:700px){.community-hub .gold-panel{padding:23px 20px}.community-hub .community-tabs{grid-template-columns:1fr 1fr;gap:8px}.community-hero h1{font-size:30px}.community-hub .board-heading h2,.community-composer h2,.community-rankings>h2{font-size:24px}.community-hub .board-row{padding:15px}.community-hub .board-row .community-row{grid-template-columns:1fr;gap:10px}.board-row-meta{flex-wrap:wrap}.row-arrow{margin-left:auto}.community-hub .board-row strong{font-size:17px}.community-search>.btn{min-width:64px;padding:10px}.board-footer{justify-content:center}.board-footer>.btn{width:100%}.community-comment{flex-wrap:wrap;padding:14px}.community-comment>.btn{margin-left:auto}.community-composer .editor-toolbar{padding:7px}.community-composer .editor-body{min-height:240px;padding:14px}.editor-footer{align-items:start}.notice-options{flex-wrap:wrap;gap:0}.notice-options>label{min-width:100%}.ranking-filters{grid-template-columns:1fr}.registration-page{padding:30px 16px 45px}.registration-heading h1{font-size:32px}.registration-page #registration-form{padding:26px 22px}.registration-passwords{grid-template-columns:1fr;gap:0}.registration-role{flex-direction:column;align-items:start}.registration-actions{flex-direction:column}.username-field{gap:8px}.username-field>.btn{padding:10px;font-size:12px}.registration-steps{margin:28px 0}.community-detail .community-article>h2{font-size:25px}}
.community-hub .community-tabs .btn{min-height:54px;border-color:#ced6f4;border-radius:11px;background:#fffefb}.community-hub .community-tabs .btn.primary{background:#354f9d;border-color:#293e7c}

/* Login announcements: native modal, expandable notices, daily preference. */
dialog.notice-dialog{position:fixed;width:min(640px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 40px);padding:28px 30px 22px;border:1px solid #c99e50;border-radius:13px;background:#fffdf6;color:#25365a;box-shadow:inset 0 0 0 5px #faf2dc,inset 0 0 0 6px #ddc8a1,0 20px 70px #06142d70;overflow:auto}
.notice-dialog::backdrop{background:#0b1836d9}.notice-dialog header{padding-right:36px}.notice-dialog .eyebrow{display:inline-flex;align-items:center;gap:7px;color:#9d6815;font-size:10px}.notice-dialog .eyebrow .ui-icon{width:14px;height:14px}.notice-dialog h2{margin:9px 0 0;font:700 23px/1.4 var(--serif);color:#25365a}.notice-dialog .community-divider{margin:18px 0}.notice-popup-x{position:absolute;right:12px;top:10px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;border:0;background:none;color:#657598;border-radius:7px;font-size:24px}.notice-popup-x:hover{background:#edf2ff}.notice-popup-list{display:grid;gap:12px;max-height:55dvh;overflow-y:auto;overscroll-behavior:contain;padding:3px}.notice-popup-item{padding:12px 14px;border:1px solid #d0d9ff;border-radius:9px;background:#f0f3ff;min-width:0}.notice-popup-item summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:44px;font-size:14px;border-radius:5px}.notice-popup-item summary::-webkit-details-marker{display:none}.notice-popup-item summary strong{flex:1;min-width:0;overflow-wrap:anywhere;font-weight:600;line-height:1.5}.notice-popup-badge{border:1px solid #d3b474;background:#fff5df;color:#916312;border-radius:999px;font-size:10px;padding:3px 8px;flex:none}.notice-popup-chevron{font-size:18px;color:#657598;transition:transform .15s}.notice-popup-item details[open] .notice-popup-chevron{transform:rotate(180deg)}.notice-popup-item .rich-content{font-size:13px;line-height:1.85;padding:12px 0 4px;overflow-wrap:anywhere;border-top:1px solid #d8e0f6}.notice-popup-item .rich-content img{max-width:100%;height:auto}.notice-popup-preview{font-size:12px;line-height:1.7;color:#59698e;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:pre-line}.notice-popup-item details[open]+.notice-popup-preview{display:none}.notice-fold-close{display:flex;align-items:center;gap:6px;margin:6px 0 0 auto;min-height:44px;padding:8px 12px;border:1px solid #b7c4ec;border-radius:6px;background:#fff;color:#354f9d;font-size:12px;font-weight:700}.notice-popup-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid #e5d2a8;margin-top:18px}.notice-today{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;cursor:pointer;color:#59698e}.notice-today input{width:18px;height:18px;margin:0;accent-color:#354f9d}.notice-dialog .notice-popup-confirm{min-height:44px;min-width:160px;border:1px solid #c99e50;border-bottom:3px solid #c99e50;border-radius:8px;background:#354f9d;color:#fff;font-size:13px;font-weight:700}.notice-dialog button:focus-visible,.notice-dialog summary:focus-visible,.notice-today:has(input:focus-visible){outline:3px solid #c99e50;outline-offset:3px}.notice-dialog input:focus-visible{outline:0}
@media(max-width:600px){dialog.notice-dialog{padding:24px 20px 20px}.notice-dialog h2{font-size:20px}.notice-popup-footer{gap:8px}.notice-dialog .notice-popup-confirm{min-width:90px}.notice-today{font-size:11px}.notice-popup-item{padding:10px}.notice-popup-item summary{font-size:13px}.notice-popup-list{max-height:50dvh}}
@media(prefers-reduced-motion:reduce){.notice-popup-chevron{transition:none}}

.rich-align-left{text-align:left}.rich-align-center{text-align:center}.rich-align-right{text-align:right}
progress.ranking-bar{appearance:none;border:0;width:100%;color:#354f9d;--bar-color:#354f9d}progress.ranking-bar::-webkit-progress-bar{background:#e1e6f6;border-radius:3px}progress.ranking-bar::-webkit-progress-value{background:var(--bar-color);border-radius:3px}progress.ranking-bar::-moz-progress-bar{background:var(--bar-color);border-radius:3px}progress.ranking-bar.economy{--bar-color:#986919}progress.ranking-bar.culture{--bar-color:#8051a0}progress.ranking-bar.science{--bar-color:#2584a7}progress.ranking-bar.morale{--bar-color:#b74777}
.draft-selection{display:flex;gap:16px;align-items:center;flex-wrap:wrap;position:sticky;top:0;background:#fffdf6;padding:14px;border:1px solid #c99e50;z-index:2}.draft-selection label,.draft-review-row>label{display:flex;align-items:center;gap:8px;min-height:44px}.draft-selection input,.draft-review-row>label input{width:20px;height:20px;margin:0}.draft-review-row{flex-wrap:wrap}.draft-changes{width:100%;overflow:auto}.draft-changes table{width:100%;border-collapse:collapse}.draft-changes th,.draft-changes td{text-align:left;padding:10px;border-bottom:1px solid #d8dfef;vertical-align:top;white-space:pre-wrap;overflow-wrap:anywhere}.draft-changes td{max-width:450px}.draft-feedback{white-space:pre-wrap;color:#8a3434}.draft-review-row>div{min-width:0}
.draft-selection label,.draft-review-row>label{flex-direction:row;width:auto;flex:none;margin:0}.draft-review-row>label{align-self:flex-start}
.codex-card-actions{display:flex;align-items:center;gap:10px;margin-top:auto}.codex-card-actions .codex-detail{flex:1;min-width:0;width:auto;margin:0}.achievement-stamp{width:58px;height:58px;flex:none;object-fit:contain;transform:rotate(-7deg);mix-blend-mode:multiply}.codex-not-earned{flex:none;font-size:11px;color:#68758f}.codex-card.completed{border-color:#bf9b54}.codex-card-actions .codex-detail{white-space:normal;line-height:1.5}
.room-create-dialog input:not([type=checkbox]),.room-create-dialog select{min-height:46px;border:1px solid #b7c4ec;border-radius:9px;padding:10px 12px;background:#fff;color:#25365a}.room-create-dialog input:focus-visible,.room-create-dialog select:focus-visible{outline:2px solid #c6a158;outline-offset:2px}
.lobby-mobile-tabs,.lobby-create-shortcut{display:none}.room-create-dialog{box-sizing:border-box;width:min(94vw,560px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:2px solid #c6a158;border-radius:15px;padding:18px;background:#fffdf6;color:#25365a}.room-create-dialog .modal-head{position:sticky;top:-18px;background:#fffdf6;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:8px}.room-create-dialog .modal-head button{min-width:44px;min-height:44px}.room-create-dialog input,.room-create-dialog select{box-sizing:border-box;width:100%;min-width:0;font-size:16px}.room-create-dialog .spectator-option{display:flex;align-items:center;gap:10px;flex-direction:row;min-height:44px}.room-create-dialog .spectator-option input{width:20px;min-height:20px}.room-create-dialog .btn.primary{width:100%;min-height:46px}.room-create-dialog select{height:46px}.room-create-dialog .modal-head h2{font-size:22px}
@media(max-width:700px){.lobby-mobile-tabs{display:flex;gap:6px;margin-bottom:12px}.lobby-mobile-tabs button{flex:1;min-height:44px;border-radius:9px;font-size:12px}.lobby-mobile-tabs button[aria-pressed="true"]{background:#354f9d;color:#fff;border-color:#c6a158}.lobby-create-shortcut{display:flex;gap:8px;margin:12px 0}.lobby-create-shortcut button{min-height:44px;flex:1;font-size:12px}.lobby-redesign .lobby-preparation{display:none}.lobby-redesign.mobile-view-rooms .lobby-chat-panel,.lobby-redesign.mobile-view-chat .lobby-left,.lobby-redesign.mobile-view-people .lobby-chat-panel,.lobby-redesign.mobile-view-people .lobby-left>section:not(.lobby-presence),.lobby-redesign.mobile-view-rooms .lobby-presence{display:none}.lobby-redesign.mobile-view-chat .lobby-chat-panel{display:block}.lobby-redesign .lobby-chat-panel .chat-messages{height:clamp(220px,44dvh,440px);max-height:44dvh}.lobby-redesign .lobby-rooms-empty{min-height:240px;padding:24px 12px}.lobby-heading h1{font-size:28px}.lobby-heading p{font-size:13px}.lobby-redesign .gold-panel{padding:18px}.room-create-dialog{padding:16px;padding-bottom:max(20px,env(safe-area-inset-bottom));max-height:calc(100dvh - 20px)}.room-create-dialog .modal-head{top:-16px}}

@media(max-width:700px){#lobby-rooms,#lobby-users{max-height:58dvh;overflow:auto;overscroll-behavior:contain}.room-create-dialog label{display:flex;flex-direction:column;gap:8px;margin:16px 0}.room-create-dialog .modal-head button{flex:none}.room-create-dialog::backdrop{background:#0b1836cc}}
.wallet{display:flex;gap:12px;align-items:center;padding:10px;color:#17294c;background:#fff9e8;border:1px solid #d3b574;border-radius:12px;font-weight:700}.wallet span{display:flex;align-items:center;gap:5px}.wallet img{width:28px;height:22px;object-fit:contain}.inn-content{position:relative;isolation:isolate}.inn-content:before{content:'';position:absolute;inset:0;background:url('/assets/merchant-back.jpg') center/cover;opacity:.09;z-index:-1;pointer-events:none}.inn-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.inn-tabs [aria-pressed=true]{background:#284681;color:#fff}.inn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin:18px 0}.inn-product>img{height:180px;width:100%;object-fit:contain}.inn-composition{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:15px 0}.inn-composition label{display:flex;align-items:center;justify-content:space-between;gap:8px}.inn-composition input{width:64px}.inn-check{display:inline-flex;gap:5px;margin:8px}.inn-anchors{display:flex;justify-content:center;gap:20px;align-items:center;padding:20px}.inn-anchors strong{display:block;color:#9b6507}.sale-fields{margin:20px 0;padding:15px;border:1px solid #d0b581;border-radius:12px}.sale-fields>label{display:inline-flex;gap:6px;margin-right:20px}.sale-price{display:none;gap:15px;margin-top:12px}.sale-fields:has(input[value=store]:checked) .sale-price{display:flex}.sale-price label{flex:1}#card-builder>.form-grid:first-of-type{grid-template-columns:repeat(3,minmax(0,1fr))}.rich-color-navy{color:#17294c}.rich-color-red{color:#af2626}.rich-color-blue{color:#214eaa}.rich-color-gold{color:#976509}.rich-color-green{color:#236a45}.rich-color-purple{color:#743da0}.rich-size-1{font-size:12px}.rich-size-2{font-size:14px}.rich-size-3{font-size:16px}.rich-size-4{font-size:18px}.rich-size-5{font-size:24px}.rich-size-6{font-size:30px}.rich-size-7{font-size:36px}.editor-tools{display:flex;gap:10px}.editor-tools label{display:flex;gap:6px;align-items:center}.soldier-summon{animation:soldier-fade 700ms ease-out}@keyframes soldier-fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.soldier-summon{animation:none}}@media(max-width:650px){.inn-composition,#card-builder>.form-grid:first-of-type{grid-template-columns:repeat(2,minmax(0,1fr))}.inn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inn-product>img{height:120px}.inn-anchors{padding:10px;gap:8px}.wallet{padding:6px;font-size:12px}.wallet img{width:22px}}

.inn-card-preview{max-width:210px;margin:0 auto}.inn-card-preview .card{width:100%}

.inn-mini-art{display:block;width:100%;height:110px;object-fit:cover;border-radius:10px;margin-bottom:8px}.inn-anchors article{max-width:180px;text-align:center}.inn-anchors .inn-mini-art{height:95px}
