/* Steel Throne v73 production bundle. */

/* === app.css === */
/* v33: fresh shared layout; module artwork has its own stylesheet. */
:root{color-scheme:dark;--gold:#d7b676;--line:#655139;--surface:#101519;--muted:#b5b0a4;--royal-gold:#d7b676;--royal-line:#655139;--royal-surface:#101519}
*,*::before,*::after{box-sizing:border-box}
html{font-size:16px;background:#06080b;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;color:#e9e4db;background:#080c10;font:16px/1.45 Arial,Helvetica,sans-serif}
a{color:#ead19e;text-underline-offset:3px}
img,video{max-width:100%;height:auto;vertical-align:middle}
button,input,textarea,select{font:inherit;color:inherit;max-width:100%}
button,a,input,select,textarea{touch-action:manipulation}
button,[type=submit]{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
button,.button,.btn,.bar,.grey-btn{min-height:44px;padding:10px 14px;border:1px solid #927347;border-radius:5px;background:linear-gradient(#343029,#171716);color:#f3ddb4;line-height:1.3}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select{width:100%;padding:10px 12px;background:#090e12;border:1px solid #6b6251;border-radius:4px;min-height:44px}
textarea{resize:vertical;min-height:90px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #ffe0a0;outline-offset:3px}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#f0d39c;line-height:1.2;overflow-wrap:anywhere}
h1{font-size:28px}h2{font-size:23px}h3{font-size:19px}
p{margin:10px 0}
.page-col{width:min(100%,520px);margin:0 auto;background:#0b1014;min-height:0}
.glass-panel{width:100%;padding:12px 10px;border:0;min-width:0}
.bg-img,.bg-veil,.game-title{display:none}
.block,.success,.warning,.info,.error,.notice{padding:12px;margin:10px 0;border:1px solid var(--line);background:#151b20;border-radius:5px;overflow-wrap:anywhere}
.success{border-color:#456a43}.error,.warning{border-color:#99533e}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:8px 5px;text-align:left;border-bottom:1px solid #39372f;overflow-wrap:anywhere}
form{margin:0}fieldset{min-width:0;border:1px solid var(--line)}
ul,ol{padding-left:24px}
progress{max-width:100%;accent-color:#cfac63}
details{margin:10px 0}summary{cursor:pointer;padding:10px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.r26-promotion{display:block;width:100%;margin:12px 0}.r26-promotion img{display:block;width:100%;height:auto}
.r26-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;margin:8px 0;border:1px solid var(--line);background:#171c20}
.r26-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #8d734d;background:#30271a;color:#f6e0b6;text-decoration:none}
.r26-heading{padding:12px 0}.r26-heading h1{margin:0}

/* Standalone account forms and auth dialog. */
.reg-card{width:min(100% - 24px,480px);margin:24px auto;padding:22px;background:#131a20;border:1px solid #796243;border-radius:8px}
.reg-logo{display:block;max-width:220px;margin:auto}
.reg-form,.auth-form{display:grid;gap:14px}
.reg-form label,.auth-form label{display:grid;gap:6px}
.reg-hp{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.auth-error,.reg-error{padding:10px;color:#ffc2a8}
/* Shared dialogs keep existing JS open/close contracts. */
.ov,.sp-modal-root.is-open{position:fixed;inset:0;z-index:110;display:flex;align-items:center;justify-content:center;padding:16px;background:#000c}
.sp-modal-root{display:none}
.ov>.card,.sp-modal{position:relative;z-index:1;width:min(460px,100%);max-height:90vh;overflow:auto;padding:20px;border:1px solid #987b4c;border-radius:8px;background:#111b23;text-align:center}
.sp-modal-backdrop{position:absolute;inset:0}
.sp-modal-actions,.lvl-rewards,.battle-rewards{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:12px 0}
.lvl-reward-item,.battle-reward-item,.battle-item-drop{display:flex;align-items:center;gap:8px}
.lvl-reward-item img,.battle-reward-item img,.battle-item-drop img{width:30px;height:30px;object-fit:contain}
.sp-modal-lock,.st-overlay-open{overflow:hidden}
.royal-closing{opacity:0}

/* v62 auth: compositor-only drawer. Reserve the desktop scrollbar gutter so
   opening the fixed panel never changes the page width. */
html.landing-root{scrollbar-gutter:stable}
.landing-page.auth-lock{overflow:hidden}
.landing-page .auth-honeypot{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.landing-page .auth-backdrop{
  display:block;position:fixed;inset:0;z-index:100;background:rgba(1,4,7,.78);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s ease,visibility 0s linear .24s;
  will-change:opacity;transform:translateZ(0);backface-visibility:hidden;
}
.landing-page .auth-backdrop.is-visible{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .24s ease}
.landing-page .auth-drawer{
  display:block;position:fixed;z-index:101;left:50%;right:auto;top:auto;bottom:max(8px,env(safe-area-inset-bottom));
  width:min(500px,calc(100% - 16px));max-height:calc(100dvh - 24px);margin:0;padding:0;overflow:visible;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(-50%,calc(100% + 48px),0);transform-origin:50% 100%;
  transition:transform .30s cubic-bezier(.22,.72,.18,1),opacity .18s linear,visibility 0s linear .30s;
  will-change:transform,opacity;backface-visibility:hidden;contain:layout style paint;
}
.landing-page .auth-drawer.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translate3d(-50%,0,0);transition:transform .30s cubic-bezier(.22,.72,.18,1),opacity .18s linear}
.landing-page .auth-drawer-inner{
  position:relative;isolation:isolate;width:100%;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;
  padding:58px 54px 48px;color:#ead9bd;background:linear-gradient(180deg,rgba(8,14,18,.97),rgba(4,9,13,.985));
  box-shadow:0 14px 38px #000c,inset 0 0 28px #0009;
  scrollbar-width:thin;scrollbar-color:#7e5f35 #071016;
  transform:translateZ(0);backface-visibility:hidden;contain:paint;
}
.landing-page .auth-drawer-inner::before{
  content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:url('/images/core/card-frame.webp') center/100% 100% no-repeat
}
.landing-page .auth-drawer-inner::after{
  content:'';position:absolute;z-index:-2;left:5%;right:5%;top:20px;bottom:20px;background:radial-gradient(circle at 50% 0,#5f271829,transparent 38%),linear-gradient(180deg,#0c151b,#050a0e 75%);box-shadow:inset 0 0 28px #000
}
.landing-page .auth-close{
  position:absolute;z-index:4;right:34px;top:29px;float:none;width:36px;height:36px;min-height:0;padding:0;border:1px solid #a77a3e;border-radius:3px;
  display:grid;place-items:center;background:linear-gradient(#3b2b1e,#17130f)!important;color:#f4d8a6;font:24px/1 Georgia,serif;box-shadow:inset 0 0 0 1px #0b0907,0 2px 5px #0009
}

.landing-page .auth-logo{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;margin:0 38px 24px 0;padding:0 0 13px;border-bottom:1px solid #8e6d3e70;font-family:Georgia,'Times New Roman',serif}
.landing-page .auth-logo img{grid-row:1/3;width:42px;height:42px;object-fit:contain}
.landing-page .auth-logo span{font-size:28px;line-height:1.04;color:#f2d7a4;text-shadow:0 2px 2px #000;font-variant:small-caps;letter-spacing:.018em}
.landing-page .auth-logo small{font-size:12px;line-height:1.15;text-transform:uppercase;letter-spacing:.12em;color:#a9987e}
.landing-page .auth-error{margin:0 0 16px;padding:10px 12px;border:1px solid #a44435;background:#2d100ecc;color:#ffd0bd;font-size:14px}
.landing-page .auth-form{display:grid;gap:14px}
.landing-page .auth-field{position:relative;display:grid!important;gap:7px;margin:0;color:#d9c6a5}
.landing-page .auth-field>span{font:15px/1.1 Georgia,'Times New Roman',serif;letter-spacing:.035em;color:#d8c5a4;text-shadow:0 1px 2px #000}
.landing-page .auth-field input{
  width:100%;height:48px;min-height:48px;padding:9px 13px;border:1px solid #86683d;border-radius:2px!important;
  background:linear-gradient(180deg,#091117,#050a0e)!important;color:#f2e6d3;box-shadow:inset 0 1px 8px #000b,0 1px 0 #c39a5320;
  outline:0
}
.landing-page .auth-field input:focus{border-color:#c99a50;box-shadow:inset 0 1px 8px #000b,0 0 0 2px #c6974732}
.landing-page .auth-password-field input{padding-right:52px}
.landing-page .auth-eye{
  position:absolute;right:8px;bottom:7px;width:34px;height:34px;min-height:0;padding:0;border:0!important;border-radius:2px!important;background:transparent!important;
  display:grid;place-items:center;color:#d9b978;font-size:20px;line-height:1;box-shadow:none!important;text-shadow:0 1px 2px #000
}
.landing-page .auth-eye:hover{background:#a87d3420!important;filter:none}
.landing-page .auth-links{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding-top:2px;font:14px/1.2 Georgia,'Times New Roman',serif}
.landing-page .auth-links a{color:#d7b879;text-decoration:none;border-bottom:1px solid #8a6838}
.landing-page .auth-links a:hover{color:#f4d8a6;border-bottom-color:#d7b879}
.landing-page .auth-submit{
  position:relative;isolation:isolate;width:76%;min-height:62px;margin:5px auto 0;padding:10px 28px;border:0!important;border-radius:0!important;background:transparent!important;
  color:#f7dfb5;font:20px/1 Georgia,'Times New Roman',serif;text-transform:uppercase;letter-spacing:.045em;text-shadow:0 2px 2px #000;box-shadow:none!important
}
.landing-page .auth-submit::before{content:'';position:absolute;z-index:-1;inset:-7px -14px;background:url('/images/core/button.webp') center/100% 100% no-repeat;opacity:.82}
.landing-page .auth-submit:hover::before{opacity:1}


@media (prefers-reduced-motion:reduce){
  .landing-page .auth-backdrop,.landing-page .auth-drawer{transition-duration:.01ms!important}
}

@media(max-width:520px){
  .landing-page .auth-drawer{bottom:max(4px,env(safe-area-inset-bottom));width:calc(100% - 8px);max-height:calc(100dvh - 8px)}
  .landing-page .auth-drawer-inner{max-height:calc(100dvh - 8px);padding:48px 36px 38px}
  .landing-page .auth-close{right:24px;top:23px;width:34px;height:34px}
  .landing-page .auth-logo{grid-template-columns:38px minmax(0,1fr);margin-right:34px}
  .landing-page .auth-logo img{width:36px;height:36px}
  .landing-page .auth-logo span{font-size:24px}
  .landing-page .auth-logo small{font-size:10px}
  .landing-page .auth-submit{width:84%}
}
@media(max-width:360px){
  .landing-page .auth-drawer-inner{padding:44px 27px 32px}
  .landing-page .auth-logo span{font-size:21px}
  .landing-page .auth-links{font-size:13px}
}


.modal-open{overflow:hidden}

/* CSP-safe width utilities for dynamic HP/progress bars. */
.spw-0{width:0%}.spw-1{width:1%}.spw-2{width:2%}.spw-3{width:3%}.spw-4{width:4%}.spw-5{width:5%}.spw-6{width:6%}.spw-7{width:7%}.spw-8{width:8%}.spw-9{width:9%}.spw-10{width:10%}.spw-11{width:11%}.spw-12{width:12%}.spw-13{width:13%}.spw-14{width:14%}.spw-15{width:15%}.spw-16{width:16%}.spw-17{width:17%}.spw-18{width:18%}.spw-19{width:19%}.spw-20{width:20%}.spw-21{width:21%}.spw-22{width:22%}.spw-23{width:23%}.spw-24{width:24%}.spw-25{width:25%}.spw-26{width:26%}.spw-27{width:27%}.spw-28{width:28%}.spw-29{width:29%}.spw-30{width:30%}.spw-31{width:31%}.spw-32{width:32%}.spw-33{width:33%}.spw-34{width:34%}.spw-35{width:35%}.spw-36{width:36%}.spw-37{width:37%}.spw-38{width:38%}.spw-39{width:39%}.spw-40{width:40%}.spw-41{width:41%}.spw-42{width:42%}.spw-43{width:43%}.spw-44{width:44%}.spw-45{width:45%}.spw-46{width:46%}.spw-47{width:47%}.spw-48{width:48%}.spw-49{width:49%}.spw-50{width:50%}.spw-51{width:51%}.spw-52{width:52%}.spw-53{width:53%}.spw-54{width:54%}.spw-55{width:55%}.spw-56{width:56%}.spw-57{width:57%}.spw-58{width:58%}.spw-59{width:59%}.spw-60{width:60%}.spw-61{width:61%}.spw-62{width:62%}.spw-63{width:63%}.spw-64{width:64%}.spw-65{width:65%}.spw-66{width:66%}.spw-67{width:67%}.spw-68{width:68%}.spw-69{width:69%}.spw-70{width:70%}.spw-71{width:71%}.spw-72{width:72%}.spw-73{width:73%}.spw-74{width:74%}.spw-75{width:75%}.spw-76{width:76%}.spw-77{width:77%}.spw-78{width:78%}.spw-79{width:79%}.spw-80{width:80%}.spw-81{width:81%}.spw-82{width:82%}.spw-83{width:83%}.spw-84{width:84%}.spw-85{width:85%}.spw-86{width:86%}.spw-87{width:87%}.spw-88{width:88%}.spw-89{width:89%}.spw-90{width:90%}.spw-91{width:91%}.spw-92{width:92%}.spw-93{width:93%}.spw-94{width:94%}.spw-95{width:95%}.spw-96{width:96%}.spw-97{width:97%}.spw-98{width:98%}.spw-99{width:99%}.spw-100{width:100%}

/* v57 CSP-safe helpers */
[hidden]{display:none!important}
.gc-clipboard-helper{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0;pointer-events:none}
.gc-text{field-sizing:content;min-height:44px;max-height:150px;resize:none}
#aboutCount.is-over{color:#ff6060}
.user-search-host{position:relative}
.pz-float-host{position:relative}
.pz-float{position:absolute;z-index:20;left:50%;top:10px;transform:translateX(-50%);pointer-events:none;font-weight:700;text-shadow:0 1px 2px #000;animation:r28-number .65s ease-out both}
.pz-float-dealt{color:#fff}.pz-float-crit{color:#ffd769}.pz-float-taken{color:#ff6060}


/* HTML5 utility classes (v58) */
.text-gold{color:goldenrod}
.text-success-inline{color:#4fd16f}
.text-danger-inline{color:#ff6b6b}
.text-lime{color:lime}
.text-center{text-align:center}
.align-left{text-align:left}
.align-right{text-align:right}
.cell-third{width:33%}
.cell-icon-right{width:55px;text-align:right}
.table-80-center{width:80%;margin-inline:auto}

.table-full{width:100%}
.cell-icon-50{width:50px}
.cell-20{width:20%}
.cell-30{width:30%}
.cell-60{width:60%}
.cell-70{width:70%}

/* v60: global layout containment. Prevent decorative/media layers from widening the 520px game column. */
.game-body-shell,.game-body-shell>*{min-width:0}
.game-body-shell :where(img,svg,video,canvas,iframe,form,fieldset){max-width:100%}
.game-body-shell :where(pre,code){max-width:100%;overflow-wrap:anywhere}

/* v61 — gameplay-result and clan-invite motion. These animations are intentional
   feedback and are kept separate from decorative chrome. */
@keyframes sp61-overlay-enter{0%{opacity:0;transform:translateY(18px) scale(.94)}65%{opacity:1;transform:translateY(-2px) scale(1.012)}100%{opacity:1;transform:none}}
@keyframes sp61-emblem-pulse{0%,100%{filter:drop-shadow(0 3px 8px #000)}50%{filter:drop-shadow(0 0 18px #d5a649aa)}}
#lvlOverlay .lvl-card,#battleOverlay .battle-card,#clanOverlay .clan-card{animation:sp61-overlay-enter .46s cubic-bezier(.2,.8,.25,1) both}
#lvlOverlay .r27-reward-emblem,#battleOverlay .r27-reward-emblem,#clanOverlay .clan-crest{animation:sp61-emblem-pulse 1.6s ease-in-out 2}
#clanOverlay .clan-card{display:grid;gap:12px;justify-items:center}
#clanOverlay .clan-title{font:700 22px/1.2 Georgia,'Times New Roman',serif;color:#f1d18f}
#clanOverlay .clan-name{font:700 19px/1.25 Georgia,'Times New Roman',serif;color:#f5dfaf}
#clanOverlay .clan-bonus{line-height:1.5;color:#d9ccb3}
#clanOverlay .clan-buildings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}
#clanOverlay .clan-buildings>div{min-width:0;padding:7px;border:1px solid #76603e;background:#0a1218}
#clanOverlay .clan-buildings img{width:42px;height:42px;object-fit:contain}
#clanOverlay .clan-stats{display:grid;gap:5px;width:100%}
#clanOverlay .clan-stats>div{display:flex;justify-content:space-between;gap:12px;padding:6px 8px;border:1px solid #55452e;background:#0a1116}
#clanOverlay .clan-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
#clanOverlay .clan-btns form{min-width:0}
#clanOverlay .clan-btns button{width:100%;min-height:44px;border:1px solid #a67e3e;background:linear-gradient(#35291b,#17120d);color:#f6dfad;font:700 15px/1.1 Georgia,serif}
#clanOverlay .clan-btns .accept{background:linear-gradient(#6c4515,#2d210f)}
#clanOverlay .clan-btns .decline{background:linear-gradient(#53170f,#260b08)}
@media(max-width:420px){#clanOverlay .clan-buildings{grid-template-columns:repeat(2,minmax(0,1fr))}#clanOverlay .clan-btns{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#lvlOverlay .lvl-card,#battleOverlay .battle-card,#clanOverlay .clan-card,#lvlOverlay .r27-reward-emblem,#battleOverlay .r27-reward-emblem,#clanOverlay .clan-crest{animation:none!important}}

/* v66: подключённая растровая графика предметов и самоцветов */
.it-inline-art{width:28px;height:28px;object-fit:contain;vertical-align:middle;margin-right:6px}
.gem-visual-grid{align-items:stretch}
.gem-visual-card{display:flex;flex-direction:column;align-items:center;gap:7px}
.gem-visual{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 5px 9px #0008)}
.it-icon-image img{display:block;width:58px;height:58px;object-fit:contain}
.sp-item-art{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:420px){.gem-visual{width:62px;height:62px}.it-inline-art{width:24px;height:24px}}
#clanOverlay .clan-crest{width:min(96px,28vw)!important;height:84px!important;object-fit:contain!important}

/* === modules.css === */
/* Existing page-specific modules only. No shared header, footer or shell overrides. */
.r26-frame{border:12px solid transparent;border-image:url('/images/gameplay/frame.webp') 120 stretch;background-color:#071019;position:relative;min-width:0}
.r26-panel{padding:10px;min-width:0;background:rgba(5,13,19,.95);border:1px solid #77613c;box-shadow:inset 0 0 14px #000}
.royal-theme .r26-panel h2,.royal-theme .r26-profile h2{font-size:15px;color:#d9b774;font-weight:400;text-align:center;margin:0 0 8px;border-bottom:1px solid #51452f;padding-bottom:5px}
.royal-theme .r26-panel p{margin:6px 0}.r26-panel small{display:block;color:#acaa9d;font-size:12px}
.royal-theme .r26-heading{position:relative;text-align:center;padding:32px 12px 22px;margin:0;background:linear-gradient(180deg,transparent,#050b12e6);border-bottom:1px solid #8f713b;color:#ddc493}
.royal-theme .r26-heading h1{font:normal 38px/1.06 Georgia,'Times New Roman',serif!important;color:#eed7ae!important;margin:0 0 10px!important;text-shadow:0 3px 3px #000,1px 0 #6b4e2b;letter-spacing:.015em}
.royal-theme .r26-heading p{font-size:12px;letter-spacing:.08em;margin:0;color:#cab58e}
.royal-theme .r26-heading-small{padding:14px 8px}.royal-theme .r26-heading-small h1{font-size:25px!important}
.royal-theme .r26-button{display:flex;align-items:center;justify-content:center;text-align:center;min-height:34px;gap:4px;padding:7px 10px;border:1px solid #887047;border-radius:3px;background:linear-gradient(#182028,#080e14);color:#e9d6ac;text-decoration:none!important;font:14px/1.25 Georgia,'Times New Roman',serif;box-shadow:inset 0 0 0 2px #060a0d;cursor:pointer;white-space:normal;overflow-wrap:anywhere}

.royal-theme .r26-red{background:#35080b!important;border:14px solid transparent!important;border-image:url('/images/gameplay/button.webp') 240 440 fill / 14px 25px / 0 stretch!important;color:#ffe3c6!important;padding:4px 14px!important;min-height:56px;text-shadow:0 2px 2px #000}
.royal-theme .r26-blue{background:linear-gradient(#143750,#071723)}
.r26-notice{padding:9px 12px;margin:8px 0;border:1px solid #6b5734;background:#071019;color:#d8ccb4;display:flex;gap:8px;align-items:center;overflow-wrap:anywhere}
.r26-notice>a{flex:1}.r26-notice form{margin:0}.r26-notice button{color:#e1bd77;background:#10151b;border:1px solid #655538}.r26-notice summary{cursor:pointer}.r26-notice:has(summary){display:block}
.r26-identity{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 7px;align-items:center}
.r26-identity>a{font-size:15px;overflow-wrap:anywhere}.r26-identity>span{color:#c8b485;font-size:12px}.r26-identity label{grid-column:1/-1;font-size:12px;color:#b6b4ab;margin:0}.r26-identity progress{grid-column:1/-1}
.r26-tools{grid-column:1/-1;display:flex;justify-content:space-around;gap:4px;padding:3px 0}.r26-tools a{text-decoration:none;font-size:12px}.r26-tools b{background:#831d18;color:#fff;border-radius:8px;padding:1px 4px;margin-left:3px}
.r26-events{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:6px 0}.r26-events a{padding:7px 3px;text-align:center;color:#e4cd9d;background:linear-gradient(#16202b,#090d13);border:1px solid #6e5734;text-decoration:none;font-size:12px;overflow-wrap:anywhere}
.r26-brand{text-align:center;padding:7px 0 10px;color:#cdb17a;border-bottom:1px solid #695631}.r26-brand span{display:block;font-size:23px;font-variant:small-caps}.r26-brand small{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase}
.r26-home{min-width:0}.r26-home .r26-heading{padding:32px 6px 22px;background:linear-gradient(transparent,#061017),url('/images/gameplay/hall.webp') center 30%/cover}
.r26-locations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.royal-theme .r26-location{display:block;position:relative;aspect-ratio:1.9;min-height:115px;overflow:hidden;border-width:7px;text-decoration:none;color:#f1d9a7}
.royal-theme .r26-location>img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;max-width:none!important}
.r26-location>span{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;gap:4px;padding:14px 6px 5px;background:linear-gradient(transparent,#030a10 55%);font-size:17px;line-height:1.2;text-shadow:0 2px #000}
.r26-location b{margin-left:auto;color:#d8b367;font-size:24px;font-weight:400;line-height:1}
.r26-location>small{position:absolute;top:3px;right:3px;padding:2px 4px;background:#071018d9;font-size:11px;color:#d9eac4}
.r26-footer{margin-top:18px;padding:10px 0 5px;border-top:1px solid #94733d;background:linear-gradient(#07111cd9,#04070cec),url('/images/gameplay/hall.webp') center bottom/cover}
.r26-footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:7px 12px;padding:12px 5px;border-top:1px solid #5b482e;border-bottom:1px solid #5b482e;font-size:12px}.r26-footer-links a{text-decoration:none}
.r26-footer-bottom{text-align:center;padding:15px 8px 9px}.r26-footer-bottom>span{font-size:24px;color:#b99656;font-variant:small-caps}.r26-footer-bottom p{font-size:12px;color:#a8a499;margin:4px 0}.r26-footer-bottom small{display:block;color:#8c8b83;font-size:11px;margin-top:4px}
.r26-promotion{display:block;max-width:100%;margin:10px auto}.r26-promotion img{max-width:100%;height:auto}
.r26-landing,.r26-gender{width:520px;max-width:100%;margin:0 auto;position:relative;background:#071019 url('/images/gameplay/hall.webp') center top/cover;isolation:isolate;border-width:13px;padding:10px 22px}
.r26-landing::before,.r26-gender::before{content:'';position:absolute;inset:0;background:#03090f55;z-index:-1}
.r26-landing .r26-heading{padding:14px 5px}.r26-landing .r26-heading h1{font-size:44px!important}
.royal-theme .r26-landing-hero{display:block;width:100%!important;height:310px!important;object-fit:contain;object-position:bottom;margin:0 auto}
.r26-landing-actions{position:relative;margin:-35px 24px 10px;display:flex;flex-direction:column;gap:6px}.r26-landing-actions>div{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.r26-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.r26-features>div{display:flex;flex-direction:column;align-items:center;border-width:5px;min-width:0;padding:2px}.royal-theme .r26-features img{width:100%;height:56px;object-fit:cover}.r26-features span{font-size:12px;padding:4px 0;color:#dbbd88}
.r26-landing-banner{padding:20px 10px;margin:12px 0;background:linear-gradient(90deg,#040911a0,#04091130),url('/images/gameplay/hall.webp') center 38%/cover;text-align:center;border:1px solid #725c35}.r26-landing-banner p{color:#d7b46c;font-size:18px;margin:0;text-transform:uppercase;text-shadow:0 2px #000}.r26-credit{display:block;text-align:center;font-size:11px;color:#b0a38c;padding:8px}
.r26-gender{padding:10px 10px 18px}.r26-story{font-size:14px;text-align:center;color:#d8c5a1;padding:12px 10px;margin:0;line-height:1.5;background:#060d14bb}
.r26-genders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.r26-gender-card{display:flex;flex-direction:column;margin:0;border-width:8px;padding:4px;background:#080e14;min-width:0}
.royal-theme .r26-gender-art{width:100%!important;height:245px!important;object-fit:contain;object-position:bottom;background:linear-gradient(#03080a22,#04080c),url('/images/gameplay/hall.webp') center top/cover}
.r26-gender-card h2{color:#e4c895;font-size:22px;font-weight:400;text-align:center;margin:6px 0}.r26-gender-card p{font-size:13px;text-align:center;margin:2px 3px 8px;flex:1;line-height:1.35;color:#c6b99e}
.r26-gender-card dl{margin:0 0 9px;padding:8px;background:#030a10;border:1px solid #594b30}.r26-gender-card dl>div{display:flex;justify-content:space-between;font-size:13px;gap:4px}.r26-gender-card dt{font-weight:400}.r26-gender-card dd{margin:0;color:#efce8f}.r26-gender-card .r26-button{font-size:13px;min-height:44px;margin-top:auto}
.r26-gender>.r26-panel{text-align:center}.r26-gender>.r26-panel p{font-size:14px}.r26-gender>.r26-notice{font-size:13px}
.r26-profile{padding:8px 0}.r26-profile-top{display:grid;grid-template-columns:70px minmax(0,1fr) 133px;gap:6px;margin:10px 0}.r26-profile-nav{display:flex;flex-direction:column;gap:5px}.r26-profile-nav .r26-button{font-size:12px;padding:7px 3px;min-height:33px}
.r26-character{padding:4px;border-width:7px;text-align:center;min-width:0}.royal-theme .r26-character h2{margin:0;border:0;font-size:16px;overflow-wrap:anywhere}.r26-character>small{font-size:11px;color:#b7a583}.r26-character-scene{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:2px;min-height:300px;position:relative;align-items:center;background:url('/images/gameplay/hall.webp') center/cover}
.royal-theme .r26-character-art{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:contain;object-position:center bottom;z-index:0}
.r26-slots{display:flex;flex-direction:column;gap:8px;position:relative;z-index:1}.r26-slots:last-child{grid-column:3}
.royal-theme .r26-slot{display:flex;position:relative;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid #c09c53;background:#07111deb;color:#a7987d;min-width:0;text-decoration:none;overflow:hidden;border-radius:2px;box-shadow:inset 0 0 5px #000}
.r26-slot small{font-size:8px;overflow-wrap:anywhere;line-height:1;text-align:center}.royal-theme .r26-slot img{width:100%!important;height:100%!important;object-fit:contain}.r26-slot .r26-stars{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:8px;color:#ffd26c;background:#050a11b0;letter-spacing:-1px}
.r26-character>.r26-button{font-size:12px;margin-top:5px;padding:5px;min-height:30px}
.r26-profile-stats{padding:7px}.royal-theme .r26-profile-stats h2{font-size:12px;margin-top:8px}.r26-profile-stats dl{margin:0 0 9px}.r26-profile-stats dl>div{display:flex;justify-content:space-between;gap:4px;padding:3px 0;border-bottom:1px solid #252827;font-size:11px}.r26-profile-stats dt{font-weight:400;color:#b3aea1}.r26-profile-stats dd{margin:0;text-align:right;overflow-wrap:anywhere;min-width:0;color:#d6c391}.r26-profile-stats label{font-size:11px}.r26-profile-stats small{font-size:10px;overflow-wrap:anywhere}
.r26-profile-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}.r26-profile-cards .r26-panel{padding:8px 6px;text-align:center}.r26-profile-cards h3{font-size:14px;font-weight:400;margin:5px 0}.r26-profile-cards p{font-size:12px}.r26-profile-cards .r26-button{font-size:12px;padding:6px 3px}
.royal-theme .r26-card-art{width:65px!important;height:75px!important;object-fit:contain}.r26-pet{margin-bottom:8px}.royal-theme .r26-pet img{width:72px!important;height:68px!important;object-fit:contain}.r26-pet strong{display:block;font-size:13px;font-weight:400;color:#dec48f}.r26-pet small{font-size:11px}
.r26-profile-lower{display:grid;grid-template-columns:1.4fr 1fr;gap:6px;margin-bottom:8px}.r26-artifacts{display:flex;flex-wrap:wrap;gap:5px}.royal-theme .r26-artifacts img{width:44px!important;height:44px!important;object-fit:contain}
.r26-forum-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:10px 0}.r26-forum-tools a{border:1px solid #846b3d;background:#09111a;text-align:center;padding:8px 3px;font-size:12px;text-decoration:none}
.r26-forum-table{width:100%}.r26-forum-row{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(0,1.2fr) 42px 60px;gap:5px;padding:8px;border-bottom:1px solid #21303a;align-items:start;color:#b8cad3!important;font-size:12px;text-decoration:none!important}.r26-forum-row span{min-width:0;overflow-wrap:anywhere}.r26-forum-row span:nth-child(n+3){text-align:center;font-variant-numeric:tabular-nums}.r26-forum-columns{font-size:10px;color:#8e9b9f!important;background:#101921;padding:5px 8px}.r26-empty{font-size:12px;padding:8px;color:#a9a79c;margin:0}
.royal-theme .gc-wrap.r26-chat{margin:8px 0!important;padding:7px!important;border-width:10px!important;background:#061019!important;border-radius:0!important;box-shadow:none!important}
.r26-chat-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:10px 0}.r26-chat-tabs>*{padding:7px 4px;background:#0b1722;border:1px solid #75613e;color:#cbb682;font:14px Georgia,serif;text-align:center;text-decoration:none;cursor:pointer}.r26-chat-tabs [aria-pressed="true"]{background:linear-gradient(#702219,#34100d);border-color:#a07a3d;color:#f4d49c}
.royal-theme .r26-chat>.panel{padding:0!important;margin:5px 0!important;border:0!important;background:transparent!important;box-shadow:none!important}.royal-theme .r26-chat .ptitle{display:none!important}.royal-theme .r26-chat #gcMsgs{max-height:580px;overflow:auto;scrollbar-width:thin;scrollbar-color:#806a44 #09121b}
.royal-theme .r26-chat .msg{position:relative;display:block!important;background:#07131c!important;border:0!important;border-bottom:1px solid #26343b!important;border-radius:0!important;margin:0!important;padding:9px 7px 9px 44px!important;min-height:55px;box-shadow:none!important}
.royal-theme .r26-chat .msg.sys{background:transparent!important}.royal-theme .r26-chat .msg[hidden]{display:none!important}
.royal-theme .r26-chat .m-hd{display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;margin:0 0 3px!important;padding:0!important}.royal-theme .r26-chat .m-ava{position:absolute!important;left:5px!important;top:9px!important;width:32px!important;height:32px!important;max-width:32px!important;object-fit:cover!important;object-position:50% 12%;border:1px solid #957644!important;border-radius:50%!important;background:#15232c!important}
.royal-theme .r26-chat .m-name{font-size:13px!important;color:#8cc3e5!important;font-weight:400!important}.royal-theme .r26-chat .sys-name{color:#dabc69!important}.royal-theme .r26-chat .m-time{margin-left:auto!important;font-size:10px!important;color:#899694!important}.royal-theme .r26-chat .m-text{font:13px/1.4 Georgia,serif!important;color:#c0c7c7!important;overflow-wrap:anywhere}.royal-theme .r26-chat .m-btns{position:static!important;display:flex!important;gap:3px}.royal-theme .r26-chat .m-btns button{font-size:10px!important;min-width:0!important;padding:2px 4px!important;background:#15212a!important;border:1px solid #4a4939!important;color:#c5b582!important}
.royal-theme .r26-chat .gc-form{position:relative!important;display:block!important;padding:8px 0!important;margin:8px 0 0!important;background:transparent!important;border-top:1px solid #80653a!important;box-shadow:none!important}.royal-theme .r26-chat .gc-text{width:100%!important;min-height:52px!important;max-height:180px;background:#050c13!important;border:1px solid #74603e!important;border-radius:2px!important;color:#e0d5c0!important;font:14px/1.4 Georgia,serif!important;padding:8px!important;resize:vertical}.royal-theme .r26-chat .gc-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.royal-theme .r26-chat .gc-send{margin-left:auto!important;background:linear-gradient(#74251a,#370e0c)!important;border:1px solid #9b713c!important;border-radius:2px!important;padding:8px 14px!important;color:#ebce97!important;font-size:14px!important}.royal-theme .r26-chat .gc-counter,.royal-theme .r26-chat .gc-top{font-size:11px!important;color:#9da9a8!important}
.royal-theme .r26-chat .gc-quick{margin:8px 0!important;display:flex;gap:6px}.royal-theme .r26-chat .q-btn{font-size:12px!important;background:#0d1922!important;border:1px solid #5a4c35!important;color:#bdac8b!important}.r26-reply-hint{display:none}.royal-theme .r26-chat .mod-panel{font-size:12px;max-width:100%}.royal-theme .r26-chat .mod-sub{display:flex;flex-wrap:wrap;gap:4px}
.r26-rewards{padding:6px 0}.royal-theme .r26-reward-hero{width:100%!important;height:165px!important;object-fit:cover;object-position:center;margin:0!important;border-bottom:1px solid #775d34}
.r26-streak{padding:12px;border:1px solid #80643b;background:#061019;text-align:center}.r26-streak h2{font-size:17px!important;color:#dbb36d;margin:0 0 8px}.r26-streak progress::-webkit-progress-value{background:linear-gradient(#e8cd76,#967229)}.r26-streak small{display:block;text-align:center;letter-spacing:.15em;color:#bcb19b;font-size:12px;margin-top:5px}
@media(max-width:420px){.royal-theme .r26-heading h1{font-size:31px!important}.r26-location>span{font-size:15px}.royal-theme .r26-location{min-height:108px}.r26-profile-top{grid-template-columns:minmax(0,1fr);gap:8px}.r26-profile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.r26-character-scene{min-height:360px;grid-template-columns:48px minmax(0,1fr) 48px}.r26-slots{gap:10px}.r26-slot small{font-size:10px}.r26-profile-stats dl>div{font-size:13px}.r26-profile-stats small{font-size:12px}.r26-profile-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.r26-profile-cards>section:last-child{grid-column:1/-1}.r26-gender,.r26-landing{padding:7px; border-width:9px}.royal-theme .r26-gender-art{height:195px!important}.r26-gender-card p{font-size:12px}.r26-gender-card h2{font-size:19px}.r26-gender-card .r26-button{font-size:12px;padding:11px 5px!important}.r26-gender-card dl{padding:5px}.r26-gender-card dl>div{font-size:12px}.r26-genders{gap:5px}.r26-landing-actions{margin-left:15px;margin-right:15px}.r26-forum-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) 32px 42px;font-size:11px;gap:3px;padding:7px 5px}.r26-forum-columns{font-size:8px}.royal-theme .gc-wrap.r26-chat{padding:4px!important;border-width:6px!important}.royal-theme .r26-chat .m-text{font-size:13px!important}.royal-theme .r26-chat .m-time{font-size:9px!important}.royal-theme .r26-chat .m-btns{flex-basis:auto}.r26-tools a{font-size:12px}.r26-identity>a{font-size:14px}}
@media(max-width:350px){.r26-genders{grid-template-columns:1fr}.royal-theme .r26-gender-art{height:300px!important}.r26-profile-cards{grid-template-columns:1fr}.r26-locations{gap:5px}.r26-location>span{font-size:14px}.r26-footer-links{gap:7px 10px}.r26-forum-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
.royal-theme .r26-location{width:100%;min-width:0;aspect-ratio:auto;height:125px}
.royal-theme .r26-location>span{overflow-wrap:anywhere}
.royal-theme .gf-hero.r26-heading h1{background:none!important;-webkit-text-fill-color:#eed7ae!important;letter-spacing:.015em!important;font-variant:normal;text-transform:none!important}
.royal-theme .r26-forum-columns{font-size:9px}
.royal-theme .r26-profile-nav .r26-button{font-size:11px;padding-inline:1px}
.royal-theme .r26-chat .m-ava{object-position:center 2%!important;object-fit:cover!important}
@media(max-width:420px){.royal-theme .r26-location{height:112px;min-height:0}.royal-theme .r26-events a{font-size:11px;letter-spacing:0;padding:6px 1px}.royal-theme .r26-forum-columns{font-size:8px}}
.royal-theme .r26-identity>a{overflow-wrap:anywhere}
.royal-theme .r26-chat .m-name{overflow-wrap:anywhere;min-width:0}
.royal-theme .r26-module{min-width:0;max-width:100%;margin:8px 0;color:#d4cbb9}
.royal-theme .r26-module .r26-panel{margin:8px 0;overflow-wrap:anywhere}
.royal-theme .r26-scene{position:relative;min-height:245px;background:#080e16 center/cover no-repeat;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:22px 10px;text-align:center;isolation:isolate;border:1px solid #8e713c;margin:8px 0 0;color:#e1c495}
.r26-scene::before{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#030a10f2);z-index:-1}
.royal-theme .r26-scene h1{font:normal 34px/1.05 Georgia,serif!important;text-shadow:0 2px 3px #000;color:#ecd0a0!important;margin:8px 0!important}.r26-scene p{margin:0;font-size:12px;letter-spacing:.06em}
.royal-theme .r26-scene-dragon{background-image:url('/images/gameplay/dragon.webp');min-height:360px}.royal-theme .r26-scene-cavern{background-image:url('/images/gameplay/cavern.webp');min-height:320px}.royal-theme .r26-scene-tavern{background-image:url('/images/gameplay/tavern.webp')}.royal-theme .r26-scene-clan{background-image:url('/images/gameplay/clan.webp')}.royal-theme .r26-scene-invasion{background-image:url('/images/gameplay/invasion.webp')}.royal-theme .r26-scene-siege{background-image:url('/images/gameplay/siege.webp');min-height:300px}
.r26-scene-status{width:min(260px,100%);font-size:13px;margin-top:10px;background:#060a10dd;padding:8px;border:1px solid #77613d}
.royal-theme .r26-scene-status progress::-webkit-progress-value,.royal-theme .r26-fighter progress::-webkit-progress-value{background:linear-gradient(#fa6843,#821817)}
.r26-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.r26-module-grid>*{min-width:0}
.r26-module-actions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.r26-module-actions>*{flex:1;min-width:110px}.r26-module-actions input{display:none}
.royal-theme .r26-module .r26-button{width:100%;font-size:13px}.r26-module .r26-panel p{font-size:13px;line-height:1.45}.royal-theme .r26-loot-art{width:100%!important;height:120px!important;object-fit:cover;display:block}
.r26-data-row{display:flex;gap:6px;justify-content:space-between;border-bottom:1px solid #514532;padding:5px 0;font-size:12px}.r26-data-row a{min-width:0;overflow-wrap:anywhere}.r26-data-row b{flex-shrink:0}.r26-log-row{font-size:12px;padding:6px 0;border-bottom:1px solid #383528}
.r26-menu-item{text-align:center;padding:8px;border:1px solid #6c5631;display:flex;flex-direction:column;align-items:center;gap:7px}.royal-theme .r26-menu-item>img{width:70px!important;height:70px!important;object-fit:contain}.r26-menu-item h3{font-size:16px;margin:0}.r26-menu-item p{font-size:12px;margin:0}.r26-menu-item button{margin-top:auto}.r26-menu-item button:disabled{opacity:.6;cursor:default}
.r26-story-card{display:flex;flex-direction:column;gap:5px;text-align:center;border:1px solid #655433;padding:6px;font-size:12px}.royal-theme .r26-story-card img{width:100%!important;height:80px!important;object-fit:cover}
.r26-combatants{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.r26-fighter{border-width:7px;text-align:center;padding:4px}.r26-fighter h2{font-size:17px;font-weight:400;margin:0;overflow-wrap:anywhere}.r26-fighter>small{font-size:11px}.royal-theme .r26-fighter>img{width:100%!important;height:280px!important;object-fit:cover;object-position:center top;margin:6px 0}.r26-fighter-stats{display:grid;gap:4px;font-size:12px;padding-top:6px}.r26-versus{position:absolute;top:39%;left:50%;transform:translateX(-50%);font:bold 32px Georgia;color:#ffb946;text-shadow:0 0 12px #e94a10,0 2px #000}
.r26-estates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.r26-estate{text-align:center;border-width:5px;font-size:11px;overflow-wrap:anywhere}.r26-estate b,.r26-estate small{display:block;padding:2px;font-weight:400;font-size:10px}.royal-theme .r26-estate img{width:100%!important;height:72px!important;object-fit:cover}
.royal-theme.page-clan :is(.clan-hero,.clan-block,.mrow,.prig,.setbox){border:1px solid #76603b!important;background:#09121ae8!important;border-radius:1px!important;padding:10px!important;max-width:100%;box-sizing:border-box}
.royal-theme.page-clan .clan-hero{margin:0!important;gap:10px}.royal-theme.page-clan :is(.clan-sec,.mhead){font-size:18px;color:#dbc08c;background:#08121a;padding:9px;border-bottom:1px solid #745b34;margin-top:9px}
.r26-siege-targets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.r26-siege-targets .r26-panel{padding:5px;margin:0}.royal-theme .r26-siege-targets img{width:100%!important;height:110px!important;object-fit:cover}.royal-theme .r26-siege-targets h2{font-size:12px;margin-top:5px}.r26-siege-targets small,.r26-siege-targets p{font-size:10px!important}
@media(max-width:420px){.royal-theme .r26-scene h1{font-size:29px!important}.royal-theme .r26-scene{min-height:210px}.royal-theme .r26-scene-dragon{min-height:280px}.royal-theme .r26-fighter>img{height:225px!important}.r26-fighter h2{font-size:14px}.r26-estates{grid-template-columns:repeat(3,minmax(0,1fr))}.r26-siege-targets{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){.r26-module-grid{grid-template-columns:1fr}.r26-combatants{gap:5px}.r26-fighter{padding:2px;border-width:5px}.royal-theme .r26-fighter>img{height:200px!important}.r26-fighter-stats{font-size:11px}.r26-versus{font-size:25px}}
.royal-theme :is(.r26-button,.iv-btn,.bar,.grey-btn,.bn-spec .get,.bn-btn,.lvl-close,.battle-close,.dr-btn,.tv-close) {
    box-sizing:border-box; min-height:44px; max-width:100%; height:auto;
    white-space:normal!important; overflow-wrap:anywhere; text-transform:none!important;
    letter-spacing:normal!important; font-variant:normal; line-height:1.3!important;
    text-align:center; text-decoration:none; vertical-align:middle;
}
.royal-theme .r26-button {
    min-width:0; font-size:14px; padding:10px 12px;
    border-color:var(--royal-line); border-radius:2px;
    
}
.royal-theme .r26-red { box-shadow:none!important; }

.royal-theme .r26-button:disabled:hover { filter:saturate(.4); }
.royal-theme .r26-module .r26-button { font-size:14px; }
.royal-theme .r26-module .r26-panel p { font-size:14px; line-height:1.5; }
.royal-theme .r26-tools { flex-wrap:wrap; }
.royal-theme .r26-tools a { min-height:32px; display:flex; align-items:center; }
.royal-theme .r26-events a { display:flex; align-items:center; justify-content:center; min-height:40px; }
.royal-theme .r26-module-actions { align-items:stretch; }
.royal-theme .r26-module-actions>form { display:flex; }
.royal-theme .r26-module-actions button { flex:1; }
.royal-theme .r26-scene { border:8px solid transparent; border-image:url('/images/gameplay/frame.webp') 120 stretch; }
.royal-theme .r26-scene p { text-wrap:balance; }
.royal-theme .r26-profile-nav .r26-button { display:flex; flex-direction:column; gap:4px; padding:5px 2px; }
.royal-theme .r26-profile-nav img { width:26px!important; height:26px!important; object-fit:contain; }
.royal-theme .r26-profile-nav span { max-width:100%; }
.royal-theme .r26-profile-stats :is(dt,dd) { overflow-wrap:anywhere; }
.royal-theme .r26-profile-stats dd { margin-left:0; }
.r27-enemies { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.r27-enemies figure { margin:0; min-width:0; border:1px solid var(--royal-line); background:#060d16; }
.royal-theme .r27-enemies img { display:block; width:100%!important; height:115px!important; object-fit:cover; object-position:center 20%; }
.r27-enemies figcaption { padding:6px 3px; font-size:12px; text-align:center; overflow-wrap:anywhere; }
.royal-theme .r27-clan-banner { min-height:125px; padding:12px 8px; background-position:center 36%; }
.r27-clan-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; margin:10px 0; }
.r27-clan-actions>* { min-width:0; margin:0!important; }
.r27-clan-actions>.bar { display:flex!important; justify-content:center; align-items:center; gap:5px; padding:10px!important; }
.r27-clan-actions :is(.clan-sec,.clan-block,.dis,.oks) { grid-column:1/-1; }
.r27-clan-actions .bico { width:22px!important; height:24px!important; object-fit:contain; }
.royal-theme .r26-dragon .r26-scene { min-height:430px; padding-bottom:130px; }
.royal-theme .r27-dragon-sides { position:relative; margin-top:-125px; padding:0 8px; gap:10px; }
.royal-theme .r27-dragon-sides .r26-panel { background:#071019ee; font-size:12px; }
.royal-theme .r27-dragon-sides .r26-panel p { font-size:12px; }
.royal-theme .r27-dragon-sides .r26-loot-art { height:80px!important; }
.royal-theme .r26-fighter { background:#071019; }
.royal-theme .r26-fighter progress { height:11px; }
.royal-theme .r26-fighter progress::-moz-progress-bar { background:#c13c30; }
.royal-theme .r26-menu-item { background:linear-gradient(#17212b,#080f16); margin:0; }
.royal-theme .r26-menu-item>img { width:92px!important; height:92px!important; }
@media(max-width:420px) {
    .royal-theme .r26-dragon .r26-scene { min-height:340px; padding-bottom:35px; }
    .royal-theme .r27-dragon-sides { margin-top:0; padding:0; }
    .r27-enemies { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .royal-theme .r27-enemies img { height:150px!important; }
    .royal-theme .r26-events a { font-size:12px; }
.royal-theme .r26-red { background:transparent!important; }
.royal-theme .r26-module-actions>.r26-button { flex:1 1 130px; min-width:min(130px,100%); }
.royal-theme .r26-profile-nav .r26-button { font-size:12px; overflow-wrap:normal; }
@media(max-width:390px) {
    .royal-theme .r26-events { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .royal-theme .r26-events a { overflow-wrap:normal; padding:8px 4px; }
}
.royal-theme .royal-reward-card .r27-reward-emblem { display:block; width:100%!important; height:min(220px,30dvh)!important; object-fit:contain; margin:0; flex-shrink:0; }
@media(max-height:540px) { .royal-theme .royal-reward-card .r27-reward-emblem { height:20dvh!important; } }
.royal-theme .r28-valley{background-image:url('/images/gameplay/valley.webp');background-size:cover;background-position:center;min-height:260px}
.royal-theme .r28-guardians{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}.royal-theme .r28-guardians article{min-width:0}.royal-theme .r28-guardians img{width:100%;height:140px;object-fit:contain}.royal-theme .r28-guardians h3{font:15px Georgia,serif;color:#e5c586}.royal-theme .r28-guardians p{font-size:12px}
.royal-theme .r28-fighters{background:url('/images/gameplay/arena.webp') center/cover}.royal-theme .r28-fighters .r26-fighter{min-width:0;background-color:#07121bc9}.royal-theme .r28-fighters h2{overflow-wrap:anywhere}.royal-theme .r28-fighters p{font-size:12px;margin:6px 0}.royal-theme .r28-fighters .r26-fighter>img{height:250px!important;object-fit:contain!important}
.royal-theme .r28-log{max-height:200px;overflow:auto;padding-left:22px;scrollbar-color:#a4834a #0d1922;text-align:left}.royal-theme .r28-log li{padding:4px;color:#d7c6a4}
.royal-theme .r28-mana::-webkit-progress-value{background:linear-gradient(#83c1ea,#215380)}.royal-theme .r28-mana::-moz-progress-bar{background:#3678a4}

}
@media(max-width:380px){.royal-theme .r28-guardians{grid-template-columns:repeat(2,minmax(0,1fr))}.royal-theme .r28-fighters .r26-fighter>img{height:190px!important}}
.royal-theme .r28-page{min-width:0;font:14px/1.5 Georgia,serif;color:#e7ddc8}.royal-theme .r28-page *{box-sizing:border-box}.royal-theme .r28-page [hidden]{display:none!important}.royal-theme .r28-page :is(h1,h2,h3,p){overflow-wrap:anywhere}.royal-theme .r28-page h1{font:30px/1.1 Georgia,serif;color:#f6dda9;text-shadow:0 2px 4px #000}.royal-theme .r28-page h2{font:20px Georgia,serif;color:#e4c68d}.royal-theme .r28-page h3{font:15px Georgia,serif;color:#e6c996}
.royal-theme .r28-hero{position:relative;isolation:isolate;aspect-ratio:3/2;display:flex;align-items:end;padding:18px;background-position:center;background-size:cover;border:1px solid #a77b36;box-shadow:inset 0 0 18px #000;margin-bottom:12px;overflow:hidden}.royal-theme .r28-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 40%,#03080bea);z-index:-1}
.royal-theme .r28-hero-skills{background-image:url('/images/kingdom/skills.webp')}.royal-theme .r28-hero-valley{background-image:url('/images/kingdom/valley.webp')}.royal-theme .r28-hero-pets{background-image:url('/images/kingdom/pets.webp')}.royal-theme .r28-hero-tavern{background-image:url('/images/kingdom/tavern.webp')}.royal-theme .r28-hero-trophies{background-image:url('/images/gameplay/reward.webp')}.royal-theme .r28-hero-inventory{background-image:url('/images/gameplay/shop.webp')}.royal-theme .r28-hero-clan{background-image:url('/images/gameplay/clan.webp')}.royal-theme .r28-hero-quest{background-image:url('/images/gameplay/quest.webp')}
.royal-theme .r28-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.royal-theme .r28-tabs :is(a,button){flex:1 1 90px;min-height:40px;padding:7px;border:1px solid #765c34;background:#13191c;color:#c6b998;text-decoration:none;text-align:center;cursor:pointer;font:14px Georgia,serif}.royal-theme .r28-tabs .active{background:linear-gradient(#665032,#322518);color:#ffe3a5;border-color:#b69154}
.royal-theme .r28-catalog{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.royal-theme .r28-pet{display:flex;flex-direction:column;align-items:stretch;min-width:0;text-align:center;border-width:7px;padding:4px}.royal-theme .r28-pet>img{width:100%;height:130px;object-fit:contain}.royal-theme .r28-pet p{font-size:12px}.royal-theme .r28-pet form{margin-top:auto}.royal-theme .r28-pet .r26-button{font-size:12px;padding:8px 4px;white-space:normal;width:100%;min-height:44px}
.royal-theme .r28-trophy{border-width:7px;text-align:center;padding:5px;min-width:0}.royal-theme .r28-trophy summary{cursor:pointer;display:flex;flex-direction:column;gap:5px;align-items:center}.royal-theme .r28-trophy summary img{width:100%;height:100px;object-fit:contain}.royal-theme .r28-trophy small{font-size:11px}.royal-theme .r28-trophy.locked img{filter:grayscale(1);opacity:.45}
.royal-theme .r28-skill-tree{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.royal-theme .r28-skill-node{display:flex;flex-direction:column;align-items:center;padding:8px 3px;background:#0c151c;border:1px solid #735b34;min-width:0;text-align:center;font-size:12px}.royal-theme .r28-skill-node img{width:48px;height:48px;object-fit:contain}.royal-theme .r28-skill-node.active{border-color:#e2bc77;box-shadow:inset 0 0 18px #a17a3133}.royal-theme .r28-page progress{display:block;width:100%;height:10px;margin:8px 0}
@media(max-width:380px){.royal-theme .r28-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.royal-theme .r28-page h1{font-size:25px}.royal-theme .r28-hero{padding:12px}.royal-theme .r28-skill-tree{gap:4px}}

.royal-theme .r28-item-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px;background:#09131c;border:1px solid #896a3b}.royal-theme .r28-item-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:83px;padding:6px;background:radial-gradient(#29333e,#090d12);border:1px solid #82673f;box-shadow:inset 0 0 8px #000}.royal-theme .r28-item-slot img{width:58px;height:58px;object-fit:contain}.royal-theme .r28-item-slot small{font-size:11px;color:#d5b673}.royal-theme .r28-item-slot.active{border:2px solid #e5c485;box-shadow:0 0 8px #e5c48566}.royal-theme .r28-selected-item{display:grid;grid-template-columns:100px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:12px}.royal-theme .r28-selected-item>img{width:100%;height:120px;object-fit:contain}
.royal-theme .r28-mail-heading{padding:22px 14px;background:linear-gradient(90deg,#071019e8,#07101977),url('/images/gameplay/mail.webp') center/cover;border:1px solid #a07b3c;margin-bottom:12px}.royal-theme .q-wrap .q-item .r28-quest-art{position:absolute;left:7px;top:7px;width:88px;height:96px;object-fit:cover;border:1px solid #a98648}
.royal-theme .r28-stance{display:block;width:100%;padding:7px;color:#e6c998;font-size:14px}.royal-theme .r28-stance select{display:block;box-sizing:border-box;max-width:100%;width:100%;min-height:44px;background:#121b22;color:#e6d2a7;border:1px solid #9f7b40;font:14px Georgia,serif;white-space:normal}
@media(max-width:380px){.royal-theme .r28-item-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.royal-theme .r28-selected-item{grid-template-columns:70px minmax(0,1fr);gap:10px}.royal-theme .q-wrap .q-item .r28-quest-art{width:62px;height:80px}}
.royal-theme .r28-valley{background-image:url('/images/kingdom/valley.webp')}.royal-theme .r26-scene-tavern{background-image:url('/images/kingdom/tavern.webp')!important}
.royal-theme .r26-button{min-height:44px!important;border:7px solid transparent;border-image:url('/images/gameplay/frame.webp') 120 stretch;padding:5px 9px;box-sizing:border-box}.royal-theme .r26-button.r26-red{min-height:48px!important}.royal-theme .r28-fighters .r28-mana::-webkit-progress-value{background:linear-gradient(#83c1ea,#215380)!important}.royal-theme .r28-fighters .r28-mana::-moz-progress-bar{background:#3678a4!important}.royal-theme .r28-pet{background:#071019!important}.royal-theme .r28-catalog{align-items:stretch}.royal-theme .r28-catalog form.r28-pet{border:1px solid #987a43;padding:8px}.royal-theme .r28-catalog form.r28-pet button{margin-top:auto}
.royal-theme .online-page{padding:10px;background:#060d14e8;color:#dec797;border:1px solid #806235;min-width:0}
.royal-theme .online-page *{box-sizing:border-box}.royal-theme .online-title{text-align:center;padding:16px 5px}.royal-theme .online-title h1{font:34px Georgia,serif;color:#ebcf92;margin:0 0 8px}.royal-theme .online-title p{font-size:18px}.royal-theme .online-title small{color:#b9a47b}
.royal-theme .online-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.royal-theme .online-tabs a{padding:12px 5px;text-align:center;min-height:44px;border:1px solid #856331;background:#0c151d;overflow-wrap:anywhere}.royal-theme .online-tabs .active{background:#3e2d16;color:#ffdf9a}
.royal-theme .online-count{text-align:center;color:#b6d897}.royal-theme .online-list{border:1px solid #645033;background:#071019}.royal-theme .online-row{display:grid;grid-template-columns:25px minmax(0,1fr) 60px;gap:7px;padding:10px 7px;align-items:center;border-bottom:1px solid #443825}.royal-theme .online-row.head{font-size:12px;color:#d7b877;background:#141d22}.royal-theme .online-row>strong{text-align:center}.royal-theme .online-person{display:flex;align-items:center;gap:8px;min-width:0}.royal-theme .online-person>img{width:35px;height:45px;object-fit:cover;object-position:top;border:1px solid #9b7d48;flex-shrink:0}.royal-theme .online-person>div{min-width:0;overflow-wrap:anywhere}.royal-theme .online-person :is(a,small){display:block}.royal-theme .online-clan{font-size:12px;color:#b1c5d5}.royal-theme .online-person small{font-size:11px;color:#9cafa0}.royal-theme .online-empty{padding:15px;text-align:center}.royal-theme .online-pagination{display:flex;gap:7px;justify-content:center;margin:12px 0}.royal-theme .online-pagination a{padding:10px 14px;border:1px solid #947543}.royal-theme .online-pagination [aria-current]{background:#49371b}.royal-theme .online-search{display:grid;gap:10px;margin:14px 0}.royal-theme .online-search input{min-width:0;width:100%;background:#101d27;color:#eee0c4;border:1px solid #987743;padding:12px;font:16px Georgia,serif}
.royal-theme .r28-page .r26-data-row>span,.royal-theme .r28-page .r26-data-row>a{min-width:0;overflow-wrap:anywhere}
.royal-theme .r28-page .r26-data-row>strong{flex-shrink:0;max-width:50%;overflow-wrap:anywhere;text-align:right}
.royal-theme .r28-fighters .r26-fighter{position:relative;overflow:hidden}
.royal-theme .r28-damage{position:absolute;top:40%;left:0;width:100%;z-index:2;text-align:center;color:#fff1df;font:bold 27px Georgia,serif;text-shadow:0 2px 4px #400;pointer-events:none;opacity:0}
@keyframes r28-strike{50%{transform:translateX(9px) rotate(2deg)}}
@keyframes r28-impact{30%,70%{transform:translateX(-4px)}50%{transform:translateX(4px)}}
@keyframes r28-number{15%,65%{opacity:1}100%{opacity:0;transform:translateY(-24px)}}
@keyframes r28-finish{from{opacity:.6}to{opacity:1}}

.royal-theme .r28-strike>img{animation:r28-strike .35s ease-out!important}
.royal-theme .r28-hit>img{animation:r28-impact .35s .2s ease-out!important}
.royal-theme .r28-counter-hit>img{animation:r28-impact .35s .6s ease-out!important}
.royal-theme .r28-hit .r28-damage{animation:r28-number 1.2s .2s ease-out both}
.royal-theme .r28-counter-hit .r28-damage{animation:r28-number 1.2s .6s ease-out both}
.royal-theme .r28-finished{animation:r28-finish .6s ease-out}

.royal-theme .r28-strike.r28-counter-hit>img{animation:r28-strike .35s ease-out,r28-impact .35s .6s ease-out!important}
.royal-theme .pet-panel{margin:8px 7px;padding:6px;border:8px solid transparent;border-image:url('/images/gameplay/frame.webp') 120 stretch;background:linear-gradient(125deg,#101417e8,#070a0c);border-radius:0;box-shadow:inset 0 0 24px #000}
.royal-theme .pet-panel h2{display:flex;align-items:center;gap:10px;margin:0 0 8px;text-align:center;justify-content:center;color:#e4bd7d;font-size:18px;font-weight:400;line-height:1.2;text-transform:uppercase;letter-spacing:.3px}
.royal-theme .pet-panel h2::before,.royal-theme .pet-panel h2::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,#81643d,transparent)}
.royal-theme .pet-feature-layout{display:grid;grid-template-columns:31% 1fr;gap:8px;align-items:start}
.royal-theme .pet-feature-picture{border:2px solid #957144;box-shadow:0 0 0 1px #342518}
.royal-theme .pet-feature-picture img{display:block;width:100%;aspect-ratio:1.35;object-fit:cover}
.royal-theme .pet-feature h3{margin:0 0 6px;color:#e3d3b7;font-size:19px;font-weight:400;line-height:1.15;text-transform:uppercase}
.royal-theme .pet-feature-copy>p{font-size:12px;line-height:1.35;margin:0 0 8px}
.royal-theme .pet-feature-status{grid-column:1/-1;display:flex;align-items:center;gap:10px;justify-content:space-between;font-size:12px}
.royal-theme .pet-feature-status q{max-width:46%;text-align:right;font-style:italic;color:#a5a19b}
.royal-theme .pet-status{color:#c9b787;border:1px solid #716246;padding:4px 10px;text-transform:uppercase;font-size:14px}
.royal-theme .pet-status.is-active{color:#d3eca9;border-color:#728e36;background:radial-gradient(ellipse,#203813,#091208);box-shadow:0 0 8px #73a34140,inset 0 0 7px #53773580}
.royal-theme .pet-stats{list-style:none;padding:0;margin:0}.royal-theme .pet-stats li{display:flex;align-items:center;gap:5px;margin:3px 0;color:#c9c5bd;font-size:12px;line-height:1.25}
.royal-theme .pet-stats li>img{width:19px;height:19px;object-fit:contain;flex:none}.royal-theme .pet-stats b{font-weight:400;color:#dfb265}
.royal-theme .pet-feature-stats{display:flex;flex-wrap:wrap;gap:4px 9px}.royal-theme .pet-feature-stats li{flex:1 1 68px;align-items:start}.royal-theme .pet-feature-stats b{display:block;font-size:16px}
.royal-theme .pet-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.royal-theme .pet-card{--rarity:#bc914e;display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid var(--rarity);border-radius:0;box-shadow:inset 0 0 0 2px #121315,0 0 0 1px #342b20;background:linear-gradient(130deg,#101216,#030607);color:#e4dccb;text-decoration:none;padding:3px;scroll-margin-top:12px}
.royal-theme .pet-card.rarity-epic{--rarity:#9872bc}.royal-theme .pet-card.rarity-rare{--rarity:#7297b0}.royal-theme .pet-card.is-selected{box-shadow:0 0 0 1px var(--rarity),0 0 10px #b6955140}
.royal-theme .pet-card:hover,.royal-theme .pet-card:focus-visible{outline:2px solid #ecc881;outline-offset:2px;text-decoration:none}
.royal-theme .pet-card-art{aspect-ratio:1.52;overflow:hidden;background:#080c0f;margin:-2px -2px 0}.royal-theme .pet-card-art img{display:block;width:100%;height:100%;object-fit:cover}
.royal-theme .pet-card h3{text-align:center;font-size:14px;line-height:1.2;font-weight:400;text-transform:uppercase;color:#eadabe;margin:0 -1px;padding:5px 0 3px;background:linear-gradient(0deg,#08090ce0,#08090c70);min-height:40px;display:flex;align-items:center;justify-content:center}
.royal-theme .pet-rarity{display:block;text-align:center;color:var(--rarity);font-size:12px;text-transform:uppercase;border-top:1px solid var(--rarity);border-bottom:1px solid #4c414933;padding:1px 0;margin-bottom:4px;background:radial-gradient(ellipse,#a28b7c18,transparent)}
.royal-theme .pet-card .pet-stats{padding:0 3px 4px;flex:1}.royal-theme .pet-card .pet-stats li{font-size:12px}.royal-theme .pet-owned{font-size:12px;color:#aea79a;text-align:center;border-top:1px solid #65544445;padding:3px 0}
.royal-theme .pet-bottom{display:grid;grid-template-columns:.92fr 1.08fr;gap:6px;margin:0 7px 10px}.royal-theme .pet-bottom .pet-panel{margin:0;padding:4px}.royal-theme .pet-bottom h2{font-size:16px;gap:5px}
.royal-theme .pet-collection-bonus>div{display:flex;align-items:center;gap:5px}.royal-theme .pet-emblem{width:49px;height:98px;object-fit:contain}.royal-theme .pet-collection-bonus .pet-stats li{margin:8px 0}
.royal-theme .pet-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;align-items:start}.royal-theme .pet-action-grid form{margin:0}
.royal-theme .pet-action-button{font:12px/1.2 Georgia,'Times New Roman',serif;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:66px;padding:5px 3px;border:1px solid #806744;border-radius:0;color:#ddd2b6;background:linear-gradient(135deg,#24272a,#080c10 55%,#29271e);box-shadow:inset 0 0 0 2px #080a0a,inset 0 0 0 3px #66533c50;cursor:pointer;text-align:center;text-decoration:none;overflow-wrap:normal;word-break:normal;hyphens:none}
.royal-theme .pet-action-button img{width:24px;height:25px;object-fit:contain}.royal-theme .pet-action-primary{background:linear-gradient(135deg,#79500f,#2a1b05 55%,#654719);border-color:#d7a74c}
.royal-theme .pet-action-button:hover{color:#ffe2a2;border-color:#d4b377}.royal-theme .pet-action-button:focus-visible{outline:2px solid #f5d99d;outline-offset:3px}.royal-theme .pet-action-button:disabled{opacity:.65;cursor:default}
.royal-theme .pet-action-detail summary{list-style:none}.royal-theme .pet-action-detail summary::-webkit-details-marker{display:none}.royal-theme .pet-action-detail[open]{grid-column:1/-1}
.royal-theme .pet-action-description{padding:7px;font-size:13px;border:1px solid #514332;background:#090d10}.royal-theme .pet-action-description p{margin:4px 0 9px}.royal-theme .pet-empty{padding:20px;text-align:center}
.royal-theme .pet-legacy{margin-top:10px}.royal-theme .pet-legacy>summary{color:#d6bb86;cursor:pointer;padding:8px 4px;font-size:14px}.royal-theme .pet-legacy[open]>summary{margin-bottom:8px}
@container(max-width:430px){.royal-theme .pet-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.royal-theme .pet-bottom{grid-template-columns:1fr}.royal-theme .pet-action-button{flex-direction:row;font-size:14px;min-height:48px}.royal-theme .pet-emblem{width:65px}.royal-theme .pet-feature-layout{grid-template-columns:36% 1fr}.royal-theme .pet-feature-stats{grid-column:1/-1}.royal-theme .pet-feature h3{font-size:17px}.royal-theme .pet-panel h2{font-size:17px}.royal-theme .pet-feature-status{flex-wrap:wrap}.royal-theme .pet-feature-status q{max-width:100%}.royal-theme .pet-feature-stats li{flex-basis:100%}.royal-theme .pet-feature-stats b{display:inline;font-size:14px}}

.royal-theme .pet-panel{border-image-source:url('/images/kingdom/companions/panel-frame.webp');border-image-slice:210 220}
.royal-theme .pet-action-button{position:relative}
.royal-theme .pet-action-button::after{content:'';position:absolute;inset:-2px;border:7px solid transparent;border-image:url('/images/kingdom/companions/panel-frame.webp') 210 220 stretch;pointer-events:none;opacity:.65}
.royal-theme .pet-card::after{content:'';position:absolute;inset:0;border:7px solid transparent;border-image:url('/images/kingdom/companions/panel-frame.webp') 210 220 stretch;pointer-events:none;opacity:.55}
.royal-theme .pet-card.rarity-epic::after{filter:hue-rotate(220deg) saturate(.65)}.royal-theme .pet-card.rarity-rare::after{filter:hue-rotate(155deg) saturate(.5)}
.royal-theme .companions-page .pet-card,.royal-theme .companions-page .pet-card-art,.royal-theme .companions-page .pet-card-art img{border-radius:0!important}
.royal-theme .settings-banner{padding:12px 8px 15px;text-align:center;background:linear-gradient(100deg,#17050580,#380907e0,#13050580);border-top:1px solid #8c744e;border-bottom:1px solid #8c744e;margin:0 20px 16px}
.royal-theme .settings-banner h1{font:400 35px/1.1 Georgia,serif;color:#eddbb5;text-transform:uppercase;margin:0;text-shadow:0 2px 4px #000}
.royal-theme .settings-banner p{font-size:15px;margin:5px 0 0;color:#afa597}
.royal-theme .settings-card{margin:0 10px 10px;background:linear-gradient(120deg,#131618f5,#07090cf8);border:7px solid transparent;border-image:url('/images/kingdom/companions/panel-frame.webp') 210 220 stretch;box-shadow:0 4px 6px #0008}
.royal-theme .settings-card>summary{display:grid;grid-template-columns:54px minmax(0,1fr) auto 12px;gap:10px;align-items:center;min-height:62px;list-style:none;cursor:pointer}
.royal-theme .settings-card>summary::-webkit-details-marker{display:none}
.royal-theme .settings-icon{align-self:stretch;display:flex;align-items:center;justify-content:center}
.royal-theme .settings-icon img{width:45px;height:48px;object-fit:contain}
.royal-theme .settings-label strong{font:400 18px/1.2 Georgia,serif;text-transform:uppercase;color:#e1c89e;display:block}
.royal-theme .settings-label small{display:block;font:400 12px/1.3 Georgia,serif;color:#9c9991;margin-top:5px}
.royal-theme .settings-badge{display:block;font:400 12px/1.2 Georgia,serif;text-transform:uppercase;color:#8adbba;padding:5px 6px;border:1px solid #24684e;border-radius:9px;background:#0c3226}
.royal-theme .settings-badge.paid{color:#e1bd72;border-color:#775930;background:#37250c}
.royal-theme .settings-chevron{font:32px/1 Georgia,serif;color:#cdb386}
.royal-theme .settings-card[open] .settings-chevron{transform:rotate(90deg)}
.royal-theme .settings-form{padding:12px 6px 5px;border-top:1px solid #554931;color:#ccc3b5;font-size:14px}
.royal-theme .settings-form p{margin:0 0 10px}.royal-theme .settings-form form{margin:0}
.royal-theme .settings-exit{margin:18px 10px 0}.royal-theme .settings-exit form{margin:0}.royal-theme .settings-exit-button{width:100%;display:grid;grid-template-columns:48px 1fr 16px;gap:14px;align-items:center;padding:12px 22px;min-height:70px;border:7px solid transparent;border-image:url('/images/kingdom/companions/panel-frame.webp') 210 220 stretch;background:linear-gradient(100deg,#180707,#390606,#150607);color:#dbc097;text-align:left;cursor:pointer}
.royal-theme .settings-exit-button img{height:45px;width:44px;object-fit:contain}.royal-theme .settings-exit-button strong{font:400 19px/1.2 Georgia,serif;text-transform:uppercase;display:block}.royal-theme .settings-exit-button small{display:block;font:13px/1.3 Georgia,serif;color:#aaa093;margin-top:4px}
.royal-theme .settings-quote{text-align:center;padding:15px 10px 0;color:#cbb48b}.royal-theme .settings-quote img{height:36px;width:40px;object-fit:contain}.royal-theme .settings-quote p{font:italic 15px/1.4 Georgia,serif;margin:8px 0}.royal-theme .settings-quote small{text-transform:uppercase;letter-spacing:2px;color:#927a52;font-size:12px}
.royal-theme .settings-flash{background:#14281f;border:1px solid #578168;padding:12px;color:#d6eadb}.royal-theme .settings-flash.warning{background:#2b1713;border-color:#9b6552}
.royal-theme .settings-card>summary:focus-visible{outline:2px solid #e4c68d;outline-offset:3px}
@container(max-width:430px){.royal-theme .settings-card{margin-left:2px;margin-right:2px}.royal-theme .settings-card>summary{grid-template-columns:42px minmax(0,1fr) auto 10px;gap:6px;min-height:70px}.royal-theme .settings-icon img{width:36px;height:42px}.royal-theme .settings-label strong{font-size:15px}.royal-theme .settings-label small{font-size:12px}.royal-theme .settings-badge{grid-column:2;justify-self:start;margin-bottom:5px}.royal-theme .settings-chevron{grid-column:4;grid-row:1/3}.royal-theme .settings-banner{margin-left:6px;margin-right:6px}.royal-theme .settings-banner h1{font-size:30px}.royal-theme .settings-exit{margin-left:2px;margin-right:2px}.royal-theme .settings-exit-button{padding:10px;gap:8px}.royal-theme .settings-exit-button strong{font-size:17px}}

.royal-theme .settings-chevron{grid-column:4}
.r29-landing{box-sizing:border-box;container-type:inline-size;width:100%;max-width:520px;margin:0 auto;isolation:isolate;color:#dfc9a6;font-family:Georgia,'Times New Roman',serif;line-height:1.2}
.r29-landing *{box-sizing:border-box}
.r29-landing a{color:inherit!important;text-decoration:none}
.r29-emblem{position:relative;display:block;background:url('/images/core/crest.webp') center/contain no-repeat;aspect-ratio:3/2;margin:auto;filter:drop-shadow(0 3px 4px #000);text-align:center}
.r29-emblem :is(h1,span){position:absolute;left:13%;right:13%;top:41%;margin:0;padding:0;color:#ddd8c9;font-variant:small-caps;font-weight:400;line-height:.92;letter-spacing:.02em;text-shadow:0 2px 1px #000,1px 0 #76644b,-1px -1px #fff9db}
.r29-world-banner{height:31cqw;min-height:100px;background:linear-gradient(0deg,#080d12,transparent 22%),url('/images/core/world.webp') center 45%/cover;position:relative;text-align:center}
.r29-world-banner .r29-emblem{width:52%;height:26cqw;aspect-ratio:auto;background-size:100% 100%}.r29-world-banner h1{font-size:5.2cqw}
.r29-world-banner>p{margin:0;padding:0 3%;font-size:1.8cqw;letter-spacing:.4em;text-transform:uppercase;color:#f5e1b6;text-shadow:0 2px 2px black}
.r29-locations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2cqw;padding:0 2.2% 3%;margin:0}
.r29-locations .r29-location{position:relative;display:flex;flex-direction:column;min-width:0;margin:0;padding:1.7cqw 1.25cqw 1.4cqw;border:0;border-radius:0;box-shadow:none;background:none;isolation:isolate}
.r29-location::after{content:'';position:absolute;inset:0;z-index:2;background:url('/images/core/card-frame.webp') center/100% 100% no-repeat;pointer-events:none}
.r29-scene{display:block;position:relative;aspect-ratio:2.2;overflow:hidden;background:#171b20}
.r29-scene-image{display:block;width:100%;height:100%;object-fit:cover}
.r29-location-icon{position:absolute;left:2%;bottom:3%;width:25%;height:62%;object-fit:contain;filter:drop-shadow(1px 2px 2px #000)}
.r29-location-label{display:flex;flex:1;flex-direction:column;justify-content:center;gap:.5cqw;min-height:7.1cqw;padding:.7cqw .9cqw;background:linear-gradient(135deg,#29292a,#080c0f 60%);border-top:1px solid #97846d;text-shadow:0 1px #000}
.r29-location-label strong{display:block;font-weight:400;font-size:2.6cqw;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}
.r29-location-label small{display:block;font-size:1.15cqw;text-transform:uppercase;letter-spacing:.18em;color:#d3d1cb;white-space:nowrap}
.r29-motto{display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:.43;color:#8e9aa7;text-align:center;letter-spacing:.3em;font-size:1.7cqw}.r29-motto img{width:22%;height:auto;filter:grayscale(1)}.r29-motto p{line-height:1.8;margin:1cqw 0}.r29-motto span{letter-spacing:0}
.r29-location:focus-visible,.r29-location.tut-target{outline:2px solid #e2ba72;outline-offset:-4px}
.r29-player-row{display:grid;grid-template-columns:18% 39% 39%;gap:2%;align-items:center;padding:0 1% 1.6cqw;border-bottom:3px ridge #76634f}
.r29-avatar{position:relative;display:block;aspect-ratio:1;border:3px ridge #ac9166;border-radius:50%;box-shadow:0 0 0 2px #171716,0 2px 4px #000}.r29-avatar>img{width:100%;height:100%;object-fit:cover;object-position:center 14%;border-radius:50%}.r29-avatar>b{position:absolute;left:-4%;bottom:-7%;display:grid;place-items:center;min-width:33%;aspect-ratio:1;border:2px ridge #ac9166;background:#15130e;border-radius:50%;font:3cqw Georgia,serif;color:#ead3a4}
.r29-player-info{min-width:0;font-size:1.8cqw;color:#dfcaaa}.r29-player-info>a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:2.25cqw;padding-bottom:1cqw}.r29-player-info>a>img{width:3cqw;height:3cqw;vertical-align:middle}
.r29-kingdom{display:flex;align-items:center;gap:1cqw;font-size:1.85cqw;min-width:0}.r29-kingdom>img{width:25%;height:7cqw;object-fit:contain}.r29-kingdom>span{min-width:0;overflow-wrap:anywhere}.r29-kingdom>b{margin-left:auto;font-size:4cqw;color:#c29662;font-weight:400}
.r29-vitals{display:grid;grid-template-columns:1.6fr 1.65fr 1.25fr 1.55fr .7fr .7fr .7fr;gap:.7cqw;padding-top:1.5cqw}.r29-stat,.r29-action{border:2px ridge #786045!important;background:linear-gradient(140deg,#202022,#090c0f 55%)!important;box-shadow:inset 0 0 0 1px #030406,0 1px 3px black!important;border-radius:3px!important}
.r29-stat{display:grid;grid-template-columns:28% 1fr;align-content:center;align-items:center;gap:.5cqw;padding:1cqw .5cqw;color:#f3e7d4;min-width:0}.r29-stat>img{width:100%;height:3.8cqw;object-fit:contain}.r29-stat>span{font-size:1.35cqw;white-space:nowrap}.r29-stat strong{display:block;font-weight:400;font-size:1.8cqw;margin-top:.5cqw}.r29-stat progress{grid-column:1/-1;margin:.3cqw 0 0;height:1.5cqw}.r29-stat .r29-health::-webkit-progress-value{background:linear-gradient(#ff9c7c,#b70b11 65%,#ee3527)}.r29-stat .r29-health::-moz-progress-bar{background:linear-gradient(#ff9c7c,#b70b11 65%,#ee3527)}.r29-stat .r29-stamina::-webkit-progress-value{background:linear-gradient(#caf69c,#3d902d 65%,#83c555)}.r29-stat .r29-stamina::-moz-progress-bar{background:linear-gradient(#caf69c,#3d902d 65%,#83c555)}
.r29-vitals .r29-action{position:relative;display:flex;align-items:center;justify-content:center;margin:0;padding:.4cqw;min-width:0;cursor:pointer}.r29-action>img{width:85%;height:4.2cqw;object-fit:contain}.r29-action>b{position:absolute;right:-.8cqw;top:-1cqw;border-radius:50%;background:linear-gradient(#f65a42,#a20e0a);border:1px solid #ec9d78;padding:.2cqw .7cqw;color:white;font-size:2cqw;font-weight:400}
.r29-primary,.r29-secondary{display:grid;padding:2cqw 1cqw;gap:1.1cqw;border-bottom:3px ridge #645546;margin:0}.r29-primary{grid-template-columns:repeat(4,minmax(0,1fr))}.r29-secondary{grid-template-columns:repeat(6,minmax(0,1fr))}
.r29-primary>a,.r29-secondary>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:linear-gradient(130deg,#27221b55,#080b0e);border:2px ridge #7a6953;box-shadow:0 2px 3px #000;border-radius:7%;padding:1.3cqw .3cqw;min-width:0}.r29-primary>a::after{content:'';position:absolute;inset:-.7cqw;background:url('/images/core/card-frame.webp') center/100% 100%;pointer-events:none}.r29-primary img{width:88%;height:15cqw;object-fit:contain;filter:drop-shadow(0 2px 3px #000)}.r29-primary strong{font-size:2.8cqw;font-weight:400;text-transform:uppercase;letter-spacing:.025em;padding-top:1cqw}.r29-secondary img{width:62%;height:7cqw;object-fit:contain;filter:drop-shadow(0 2px 2px #000)}.r29-secondary span{font-size:1.65cqw;text-transform:uppercase;padding-top:1cqw;white-space:nowrap}
.r29-timing{display:grid;grid-template-columns:1fr 1fr;padding:2cqw;border-bottom:3px ridge #76634f;color:#ebe3d4}.r29-timing>div{display:flex;gap:2cqw;align-items:center;padding:0 3cqw;font-size:2cqw}.r29-timing>div+div{}.r29-timing img{width:5.5cqw;height:6cqw;object-fit:contain}.r29-timing strong{display:block;font-size:2.4cqw;font-weight:400;margin-top:.8cqw;white-space:nowrap}
.ve-event{position:relative;isolation:isolate;container-type:inline-size;max-width:520px;width:100%;margin:auto;color:#e8d5bd;font-family:Georgia,'Times New Roman',serif;background:radial-gradient(ellipse at 10% 65%,#510d2044,transparent 50%),linear-gradient(#210d13,#0c0b0e 50%,#220c13);line-height:1.3}
.ve-event *{box-sizing:border-box}.ve-event a{color:#f0d9b6!important;text-decoration:none}.ve-event :is(h1,h2,h3,p){padding:0}.ve-hero{text-align:center;position:relative;min-height:48cqw;padding:12cqw 2cqw 1.5cqw;background:linear-gradient(0deg,#170c11 0%,transparent 40%),url('/images/valentine/hero.webp') center top/cover}
.ve-hero h1{position:relative;display:block;font-size:6.2cqw;font-weight:400;line-height:.96;letter-spacing:-.04em;text-transform:uppercase;color:#fae0b7;text-shadow:0 2px #28100a,1px 0 #7b422c,-1px -1px #fff1cf,0 0 10px #13070b;margin:0 0 .8cqw}.ve-hero h1>img{display:block;width:5cqw;height:5cqw;object-fit:contain;margin:0 auto .2cqw}.ve-hero h1>span{font-size:6.1cqw}
.ve-ribbon{background:linear-gradient(90deg,transparent,#350808ec 20%,#350808ec 80%,transparent);border-block:1px solid #c3925266;max-width:77%;margin:1cqw auto;font-size:2.3cqw;padding:.6cqw!important;box-shadow:0 2px 10px #0008}
.ve-intro{margin:.8cqw 0;color:#f1d6cd;font-size:2.15cqw;text-shadow:0 1px 3px #000;line-height:1.25}.ve-timer{display:flex;align-items:center;justify-content:center;gap:2cqw;width:46%;margin:1.5cqw auto 0;padding:1.1cqw 1.5cqw;background:linear-gradient(120deg,#191412,#07090beb);border:3px ridge #8f7451;color:#cfc6b9;box-shadow:0 3px 9px #000}.ve-timer>img{width:4cqw;height:5cqw}.ve-timer>span{font-size:1.9cqw}.ve-timer strong{display:block;font-size:2.65cqw;font-weight:400;color:#ffe1a8;white-space:nowrap}
.ve-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1cqw;padding:0 2cqw;margin:0 0 1.6cqw}.ve-tabs>a{position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:13.5cqw;background:radial-gradient(ellipse at center,#60281f66,#0e0b0a);padding:1.4cqw 1cqw;font-size:2.25cqw;text-transform:uppercase}.ve-tabs>a::after,.ve-panel::after{content:'';pointer-events:none;position:absolute;inset:0;background:url('/images/core/card-frame.webp') center/100% 100%}.ve-tabs img{display:block;object-fit:contain;width:9cqw;height:8cqw;filter:drop-shadow(0 2px 2px #000)}
.ve-panel{position:relative;padding:2.6cqw 3.5cqw 2.7cqw;margin:1cqw 2cqw 0;background:linear-gradient(125deg,#29202266,#07090bbb 50%,#2b131955);border:0}.ve-panel h2{display:flex;gap:1cqw;align-items:center;justify-content:center;font-size:2.65cqw;font-weight:400;margin:0 0 1cqw;color:#f4d1aa}.ve-panel h2>img{width:4cqw;height:4cqw;object-fit:contain}.ve-panel>p{text-align:center;font-size:1.95cqw;margin:1cqw 0 1.5cqw}.ve-milestones{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 1cqw;gap:2cqw;margin-top:1.8cqw;isolation:isolate}.ve-milestones form{text-align:center;margin:0;padding:0}.ve-milestones form>span{display:block;font-size:2cqw;line-height:1;margin-top:-.3cqw;position:relative}.ve-event .ve-reward{position:relative;display:block;width:9cqw;height:9cqw;padding:.8cqw;margin:auto;border:3px ridge #826c51;background:radial-gradient(#42251d,#090d0f);border-radius:0;box-shadow:0 0 4px #000;cursor:pointer}.ve-reward>img{width:100%;height:100%;object-fit:contain}.ve-reward>b{position:absolute;inset:0;display:grid;place-items:center;font-size:5cqw;color:#edbd66;text-shadow:0 1px #000}.ve-event .ve-reward:disabled{opacity:1;cursor:default}.ve-node{position:relative;display:block;margin:.5cqw auto 0;width:4.3cqw;height:4.3cqw;object-fit:contain;z-index:2}.ve-milestones progress{position:absolute;left:1%;bottom:1.2cqw;width:98%;height:1.8cqw;appearance:none;-webkit-appearance:none;border:2px ridge #aa8860;border-radius:10px;background:#05080b;overflow:hidden;z-index:0}.ve-milestones progress::-webkit-progress-bar{background:#05080b}.ve-milestones progress::-webkit-progress-value{background:linear-gradient(#f68e98,#b61127 60%,#650613)}.ve-milestones progress::-moz-progress-bar{background:linear-gradient(#f68e98,#b61127 60%,#650613)}.ve-balance{display:block;text-align:center;font-size:1.55cqw;color:#bc9e87;margin-top:.3cqw}
.ve-quest{display:grid;grid-template-columns:6cqw minmax(0,1fr) 7cqw 9cqw 16cqw;gap:1.1cqw;align-items:center;min-height:7.5cqw;padding:.5cqw 1.1cqw;background:linear-gradient(90deg,#181315,#08090ab3);border:1px solid #88705755;border-bottom-color:#ac8d6d55;color:#dfccd0;font-size:1.8cqw}.ve-task-icon{width:5.5cqw;height:5.5cqw;border:2px ridge #6e5e48;padding:.5cqw;background:#0b0e11}.ve-count{text-align:center;white-space:nowrap}.ve-pay{display:flex;align-items:center;justify-content:center;gap:.6cqw;white-space:nowrap;color:#f0d1a5;font-size:2cqw}.ve-pay>img{width:2.8cqw;height:2.8cqw;object-fit:contain}.ve-quest form{margin:0}
.ve-event .ve-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:5.4cqw;padding:1cqw 1.9cqw;border:0;border-radius:0;margin:0;box-shadow:none;background:none;color:#f9e3cc!important;text-shadow:0 1px 2px #000;font:2cqw Georgia,serif;cursor:pointer;isolation:isolate;text-align:center;line-height:1.1}.ve-button::before{content:'';position:absolute;inset:0;z-index:-1;background:url('/images/core/button.webp') center/100% 100% no-repeat}.ve-quest .ve-button{width:100%}.ve-event .ve-button:disabled{opacity:.5;cursor:default}.ve-event .ve-all{display:flex;width:30%;margin:1.3cqw auto 0;min-height:5.5cqw}.ve-event .ve-help{font-size:1.7cqw;color:#bcaaa0;line-height:1.5}.ve-bottom{position:relative;min-height:24cqw;background:linear-gradient(#170c11,transparent 15%),url('/images/valentine/footer.webp') center/cover;text-align:center;padding:6cqw 22% 4cqw}.ve-bottom>p{font:italic 3cqw/1.35 Georgia,serif;color:#62271c;transform:rotate(-6deg);margin:0}.ve-bottom>img{width:3cqw;height:3cqw;object-fit:contain;margin-top:1cqw}
.ve-form{display:flex;align-items:end;flex-wrap:wrap;gap:2cqw;position:relative;z-index:1;font-size:2.2cqw}.ve-form label{flex:1;min-width:120px}.ve-form input{display:block;width:100%;margin-top:1cqw;padding:1.5cqw;border:1px solid #947349;background:#0a0a0c;color:#f4dfc4;box-sizing:border-box}.ve-panel h3{font-size:2.3cqw;color:#e6bb87;margin:2cqw 0 1cqw;font-weight:400}.ve-panel p{font-size:2cqw}.ve-list-row,.ve-invite{display:flex;align-items:center;justify-content:space-between;gap:2cqw;border-bottom:1px solid #7d5c4933;padding:1cqw}.ve-invite form{display:flex;gap:1cqw}.ve-shop{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2cqw;text-align:center}.ve-shop form{padding:1cqw;border:1px solid #705741}.ve-shop img{width:100%;height:11cqw;object-fit:contain}.ve-partner{display:flex;align-items:center;justify-content:center;gap:2cqw}.ve-partner>img{width:9cqw;height:9cqw;object-fit:contain}.ve-event .ve-back{display:block;text-align:center;padding:2cqw;font-size:2cqw}.ve-flash{background:#281119;border:1px solid #93704b;margin:2cqw;padding:2cqw!important;font-size:2.2cqw;color:#ffe3af;text-align:center}.ve-event :is(button,a,input):focus-visible{outline:2px solid #f1c893;outline-offset:2px}





/* v51 landing — exactly one viewport, no forced scrollbar. */
.landing-page{width:100%;height:100dvh;min-height:100svh;margin:0;overflow:hidden;background:#02060a}
.r29-landing{
  position:relative;isolation:isolate;width:min(100%,520px);height:100dvh;min-height:100svh;margin:0 auto;overflow:hidden;
  display:flex;align-items:center;flex-direction:column;padding:10px 0 max(18px,env(safe-area-inset-bottom));
  background:linear-gradient(to bottom,transparent 0 72%,rgba(2,6,10,.24) 84%,rgba(2,6,10,.68) 100%),url('/images/core/landing-scene.webp') center top/cover no-repeat;
  box-shadow:0 0 0 1px #7b65421f,0 0 54px #000b;
}
.r29-landing::after{content:'';position:absolute;z-index:0;left:0;right:0;bottom:0;height:23%;pointer-events:none;background:linear-gradient(to bottom,transparent,rgba(2,6,10,.34) 48%,#02060a 120%)}
.r29-landing>*{position:relative;z-index:1}
.r29-landing .r29-emblem{width:69%;flex:0 0 auto;margin:0 auto;filter:drop-shadow(0 3px 4px #000)}
.r29-landing h1{font-size:7.2cqw;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased}
.r29-tagline{flex:0 0 auto;font-size:2.55cqw;line-height:1.12;letter-spacing:.075em;margin:.7cqw 0 0;text-rendering:geometricPrecision}
.r29-entrance{position:absolute;z-index:2;left:50%;bottom:13.2%;transform:translateX(-50%);width:71.2%;display:grid;gap:3.5cqw;margin:0;padding:0}
.r29-entrance a{position:relative;display:grid;grid-template-columns:1fr;place-items:center;min-height:17.2cqw;padding:2.2cqw 4.8cqw;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center;isolation:isolate;transition:transform .16s ease,opacity .16s ease}
.r29-entrance a::before{content:'';position:absolute;z-index:-1;inset:-1.75cqw -2.15cqw;background:url('/images/core/button.webp') center/100% 100% no-repeat;filter:drop-shadow(0 3px 5px #000b)}
.r29-entrance .r29-continue::before{filter:grayscale(.92) brightness(.52) contrast(1.08) drop-shadow(0 3px 5px #000b)}
.r29-entrance img{position:absolute;z-index:1;left:6.8%;top:50%;width:12.8%;height:10.4cqw;object-fit:contain;transform:translateY(-50%);filter:drop-shadow(0 2px 2px #000);image-rendering:auto}
.r29-entrance .r29-continue img{left:7.2%;width:12.4%;height:11.2cqw}.r29-entrance span{position:relative;z-index:2;display:block;width:100%;padding:0 2.6cqw;pointer-events:none}
.r29-entrance strong{display:block;font-weight:400;font-size:3.58cqw;line-height:1.03;letter-spacing:.006em;text-transform:uppercase;color:#f6e4c3;text-shadow:0 2px 2px #000,0 0 7px #240b05;text-rendering:geometricPrecision;-webkit-font-smoothing:antialiased}
.r29-entrance small{display:block;font-size:1.86cqw;line-height:1.08;letter-spacing:.095em;text-transform:uppercase;margin-top:.72cqw;color:#d2c7b4;text-shadow:0 1px 2px #000}

.r29-waiting{position:absolute;z-index:2;left:50%;bottom:2.5%;transform:translateX(-50%);width:52%;text-align:center;text-transform:uppercase;letter-spacing:.16em;font-size:2.18cqw;line-height:1.15;margin:0;padding:1.4cqw 1cqw;border-top:1px solid #b38a4d70;border-bottom:1px solid #b38a4d45;color:#d2b889;text-shadow:0 2px 3px #000;white-space:nowrap}

@keyframes r29-start-breathe{0%,100%{opacity:.92;transform:scale(1)}45%{opacity:1;transform:scale(1.018)}70%{opacity:.96;transform:scale(1.008)}}
@keyframes r29-sword-awake{0%,100%{transform:translateY(-50%) rotate(0deg) scale(1)}48%{transform:translateY(-50%) rotate(-2deg) scale(1.045)}65%{transform:translateY(-50%) rotate(1deg) scale(1.02)}}
@keyframes r29-start-text{0%,100%{opacity:.94;transform:translateY(0)}50%{opacity:1;transform:translateY(-1px)}}
.r29-start::before{animation:r29-start-breathe 3.2s ease-in-out infinite}.r29-start img{animation:r29-sword-awake 3.2s ease-in-out infinite}.r29-start strong{animation:r29-start-text 3.2s ease-in-out infinite}
@media(max-width:420px){.r29-entrance{width:77%;bottom:13.4%;gap:4cqw}.r29-entrance a{min-height:18.7cqw}.r29-entrance strong{font-size:4.1cqw}.r29-entrance small{font-size:2.15cqw}.r29-waiting{width:58%;font-size:2.45cqw;bottom:2.3%}}

/* v61 — combat feedback kept in the battle location, never in the global header. */
@keyframes r28-block-flash{0%{filter:brightness(1)}35%{filter:brightness(1.35) drop-shadow(0 0 13px #77b8e5)}100%{filter:brightness(1)}}
@keyframes r28-shield-rise{0%{opacity:0;transform:translate(-50%,8px) scale(.8)}35%,70%{opacity:1;transform:translate(-50%,-2px) scale(1.05)}100%{opacity:0;transform:translate(-50%,-22px) scale(.95)}}
@keyframes r28-card-defeat{0%,58%{filter:none;transform:none;opacity:1}76%{filter:grayscale(.7) brightness(.75);transform:scale(.985) rotate(-.4deg)}100%{filter:grayscale(1) brightness(.58);transform:scale(.965);opacity:.76}}
.royal-theme .r28-block>img{animation:r28-block-flash .72s ease-out!important}
.royal-theme .r28-defense{position:absolute;z-index:4;left:50%;top:31%;pointer-events:none;color:#d8f0ff;font:700 20px/1 Georgia,'Times New Roman',serif;text-shadow:0 2px 4px #00131f;opacity:0;animation:r28-shield-rise 1.15s ease-out both}
.royal-theme .r28-victory .r26-fighter:last-child>img,.royal-theme .r28-defeat .r26-fighter:first-child>img{animation:r28-card-defeat 1s ease-out both!important}
@media(prefers-reduced-motion:reduce){.royal-theme .r28-block>img,.royal-theme .r28-defense,.royal-theme .r28-victory .r26-fighter:last-child>img,.royal-theme .r28-defeat .r26-fighter:first-child>img{animation:none!important}}

/* v66: графика школ мастерства из пользовательского пакета */
.royal-theme .r28-skill-node img{border-radius:8px;background:#050b10;box-shadow:0 4px 12px #0008}
.royal-theme .r28-skill-focus{overflow:hidden}
.royal-theme .r28-skill-banner{position:relative;min-height:150px;margin:-1px -1px 12px;overflow:hidden;border:1px solid #76592e;border-radius:7px;background:#071019}
.royal-theme .r28-skill-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 18%;opacity:.46;filter:saturate(.92) contrast(1.04)}
.royal-theme .r28-skill-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#051018ef 0,#051018b8 48%,#0510185c),linear-gradient(0deg,#051018d9,transparent 60%)}
.royal-theme .r28-skill-banner-copy{position:relative;z-index:1;max-width:74%;padding:24px 18px 20px;text-shadow:0 2px 5px #000}
.royal-theme .r28-skill-banner-copy h2{margin:0 0 7px;color:#ffe0a0}
.royal-theme .r28-skill-banner-copy p{margin:0;color:#e8dcc6;line-height:1.4}
.royal-theme .r28-skill-path{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin:10px 0 14px}
.royal-theme .r28-skill-step{aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border:1px solid #4d4b42;border-radius:5px;background:#071017;opacity:.42}
.royal-theme .r28-skill-step img{width:100%;height:100%;object-fit:cover}
.royal-theme .r28-skill-step.unlocked{opacity:.82;border-color:#8e6f37}
.royal-theme .r28-skill-step.current{opacity:1;border-color:#f2c15e;box-shadow:0 0 0 1px #5b3012,0 0 12px #c7802f55}
@media(max-width:520px){.royal-theme .r28-skill-banner{min-height:128px}.royal-theme .r28-skill-banner-copy{max-width:88%;padding:18px 12px}.royal-theme .r28-skill-path{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}}

/* v66: графика ежедневной удачи */
.royal-theme .r66-reward-heading{display:flex;align-items:center;justify-content:center;gap:10px}.royal-theme .r66-reward-heading>div{min-width:0}.royal-theme .r66-luck-art{width:68px;height:68px;object-fit:contain;filter:drop-shadow(0 4px 8px #0009)}
@media(max-width:420px){.royal-theme .r66-luck-art{width:54px;height:54px}}

/* v66: графика запасов таверны */
.royal-theme .r66-kitchen-stock{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:10px;padding:7px;border:1px solid #57462d;background:#061016aa}
.royal-theme .r66-kitchen-stock span{display:grid;place-items:center;aspect-ratio:1;border:1px solid #3f3a31;border-radius:5px;background:#0a151b;overflow:hidden}
.royal-theme .r66-kitchen-stock img{width:88%;height:88%;object-fit:contain;filter:drop-shadow(0 3px 5px #0008)}
@media(max-width:420px){.royal-theme .r66-kitchen-stock{grid-template-columns:repeat(3,minmax(0,1fr))}}

.royal-theme .r66-skill-token{float:left;width:54px;height:54px;object-fit:contain;margin:0 10px 5px 0;filter:drop-shadow(0 4px 8px #000a)}

/* v67 layout integrity fixes for battle/event panels */
.royal-theme .r26-button{max-width:100%;min-width:0;overflow:hidden}
.royal-theme .r26-red{border-width:12px 16px!important;border-image-slice:240 440 fill!important;border-image-width:12px 16px!important;border-image-repeat:stretch!important;padding:5px 16px!important;min-height:50px;line-height:1.12}
.royal-theme .r28-battle>.r26-panel,.royal-theme .r28-battle>form.r26-panel{padding:12px 12px 14px}
.royal-theme .r28-battle>form.r26-panel .r26-red{display:flex;width:min(380px,100%);margin:10px auto 0}
.r26-combatants{align-items:start;overflow:hidden}
.royal-theme .r28-fighters{gap:10px}
.royal-theme .r28-fighters .r26-fighter{display:grid;grid-template-rows:auto auto minmax(180px,auto) auto auto auto;align-content:start;gap:0;padding:7px 7px 10px;overflow:hidden}
.royal-theme .r28-fighters .r26-fighter h2{padding:0 4px;font-size:16px;line-height:1.12;min-height:36px;display:flex;align-items:center;justify-content:center}
.royal-theme .r28-fighters .r26-fighter>img{display:block;width:100%!important;height:auto!important;min-height:176px;max-height:238px;aspect-ratio:4/5;object-fit:cover!important;object-position:center top!important;margin:6px 0 8px;border:1px solid rgba(183,141,66,.38);background:#081119}
.royal-theme .r28-fighters .r26-fighter>p{margin:0 0 8px;padding:0 6px;text-align:center;line-height:1.34;font-size:13px;color:#ddd4c2}
.royal-theme .r28-fighters .r66-hp-frame{width:min(100%,238px);margin:2px auto 7px;padding:8px 12px}
.royal-theme .r28-fighters .r66-hp-frame progress{height:10px}
.royal-theme .r28-fighters .r28-mana{display:block;width:min(210px,calc(100% - 54px));margin:8px auto 7px;height:10px;border:1px solid #b89558;background:#081118;box-shadow:inset 0 0 0 1px #1d2a33}
.royal-theme .r28-fighters .r28-mana::-webkit-progress-bar{background:#081118}
.royal-theme .r28-battle .r26-panel>h2{font-size:17px;margin-bottom:10px}
.royal-theme .r28-battle .r28-log{max-height:240px;padding-left:20px;margin:0}
.royal-theme .r28-battle .r28-log li{padding:6px 2px;border-bottom:1px solid rgba(117,89,47,.28)}
.royal-theme .r28-battle .r26-module-actions{align-items:stretch}
.royal-theme .r28-battle .r26-module-actions>.r26-button{min-height:46px}
.royal-theme .r28-battle .r54-turn-report{margin-top:10px}
@media(max-width:520px){
  .royal-theme .r28-fighters .r26-fighter{grid-template-rows:auto auto minmax(145px,auto) auto auto auto;padding:6px 6px 8px}
  .royal-theme .r28-fighters .r26-fighter>img{min-height:145px;max-height:190px}
  .royal-theme .r28-battle>form.r26-panel .r26-red{width:100%}
}
@media(max-width:380px){
  .royal-theme .r28-fighters .r26-fighter h2{font-size:14px;min-height:32px}
  .royal-theme .r28-fighters .r26-fighter>p{font-size:12px}
  .royal-theme .r28-fighters .r66-hp-frame{width:100%}
  .royal-theme .r28-fighters .r28-mana{width:calc(100% - 18px)}
}

/* v68 — administration posts on the kingdom forum */
.royal-theme .post:is(.role-1,.role-2,.role-3,.role-4,.role-5,.role-6){
  outline:1px solid rgba(218,169,70,.72);outline-offset:-1px;
  background-image:linear-gradient(120deg,rgba(45,27,10,.92),rgba(68,39,13,.84)),url('/images/resources/materials/parchment.webp');
  background-position:center;background-size:cover;
  box-shadow:inset 0 0 0 2px rgba(255,228,154,.10),inset 0 0 28px rgba(96,53,12,.42),0 4px 12px rgba(0,0,0,.3);
}
.royal-theme .post:is(.role-1,.role-2,.role-3,.role-4,.role-5,.role-6) :is(.p-name,.p-adm,.p-text){color:#f2cf75!important;text-shadow:0 1px 2px #170900}
.royal-theme .post:is(.role-1,.role-2,.role-3,.role-4,.role-5,.role-6) .p-time{color:#cfb985}

/* v68 — small clan crest wherever a clan is mentioned outside clan pages */
.cl-gerb{width:58px!important;height:58px!important;max-width:58px!important;object-fit:contain!important;filter:drop-shadow(0 2px 5px rgba(0,0,0,.5))}
.cl-gerbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin:7px 0 12px}.cl-gerbopt{display:grid;place-items:center;min-height:66px;padding:3px;background:#07141b;outline:1px solid #5f4c2d;outline-offset:-1px;cursor:pointer}.cl-gerbopt input{position:absolute;opacity:0;pointer-events:none}.cl-gerbopt img{width:54px!important;height:54px!important;object-fit:contain}.cl-gerbopt:has(input:checked){background:#261608;outline-color:#d4a34c;box-shadow:inset 0 0 14px rgba(215,153,50,.18)}
.r36-clan-link{display:inline-flex!important;align-items:center;justify-content:center;gap:4px}.r36-clan-link>img{width:22px!important;height:22px!important;object-fit:contain!important;flex:none}
@media(max-width:420px){.cl-gerbs{grid-template-columns:repeat(3,minmax(0,1fr))}.cl-gerb{width:48px!important;height:48px!important}.cl-gerbopt img{width:48px!important;height:48px!important}}
.r68-clan-rank{display:inline-flex;align-items:center;gap:5px}.r68-clan-rank>img{width:26px!important;height:26px!important;object-fit:contain!important;flex:none}

/* v69 — compact legacy clan imagery and royal clan summary */
.royal-theme.page-clan .clan-hero{display:grid!important;grid-template-columns:76px minmax(0,1fr);align-items:center}
.royal-theme.page-clan .clan-hero .gerb{display:block;width:72px!important;height:72px!important;max-width:72px!important;object-fit:contain!important;margin:0 auto;filter:drop-shadow(0 3px 6px #0009)}
.royal-theme.page-clan .clan-hero .tname{color:#f2d184;font:700 20px/1.1 Georgia,serif;letter-spacing:.05em}
.royal-theme.page-clan .clan-fullname{margin-top:3px;color:#b7aa91;font:12px/1.3 Arial,sans-serif;overflow-wrap:anywhere}
.royal-theme.page-clan .grant{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;align-items:center}
.royal-theme.page-clan .grant .gerb{display:block;width:58px!important;height:58px!important;max-width:58px!important;object-fit:contain!important;margin:auto}
.royal-theme.page-clan .mrow .ava{width:44px!important;height:44px!important;max-width:44px!important;object-fit:cover!important;border-radius:50%;border:1px solid #9a7841}
@media(max-width:420px){.royal-theme.page-clan .clan-hero{grid-template-columns:64px minmax(0,1fr)}.royal-theme.page-clan .clan-hero .gerb{width:60px!important;height:60px!important}.royal-theme.page-clan .clan-hero .tname{font-size:18px}}

/* v69.2 — complete royal treatment for the legacy clan/settings surface. */
.royal-theme.page-clan :is(.clan-hero,.clan-block,.mrow,.prig,.setbox,.forum-status,.mtabs){border:1px solid #765a31!important;border-radius:4px!important;background:linear-gradient(180deg,rgba(9,24,31,.96),rgba(4,13,18,.985))!important;box-shadow:inset 0 0 0 1px rgba(255,220,140,.05),0 3px 8px rgba(0,0,0,.22)}
.royal-theme.page-clan :is(.clan-sec,.mhead){position:relative;margin-top:10px!important;padding:8px 10px!important;border:0!important;background:linear-gradient(90deg,transparent,rgba(77,46,15,.52),transparent)!important;color:#f0ce7e!important;text-align:center;font:700 16px/1.2 Georgia,serif!important}
.royal-theme.page-clan .forum-status{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px;margin:7px 0;color:#d9c394}
.royal-theme.page-clan .forum-status img{width:22px!important;height:22px!important;object-fit:contain}
.royal-theme.page-clan .mtabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;margin:6px 0}.royal-theme.page-clan .mtabs a{display:flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #6d542f;border-radius:3px;background:#08151c;color:#dfcb9e;text-decoration:none}.royal-theme.page-clan .mtabs a.on{background:linear-gradient(#5d210d,#250b05);border-color:#c49239;color:#ffe2a0}
.royal-theme.page-clan .mrow{display:grid;align-items:center;gap:7px;margin-bottom:5px}.royal-theme.page-clan .m-info>a{color:#f0cf84!important;font-weight:700}.royal-theme.page-clan :is(.rpill,.badge-count){display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border:1px solid #69522e;border-radius:999px;background:#08151c;color:#cdb889;font-size:10px}
.royal-theme.page-clan .setbox{margin:7px 0}.royal-theme.page-clan .setbox :is(input,select,textarea){border-color:#71552d;background:#061117;color:#eee1c7}.royal-theme.page-clan .radio-group{display:flex;flex-wrap:wrap;gap:6px}.royal-theme.page-clan .radio-group label{padding:6px 8px;border:1px solid #654d2c;border-radius:3px;background:#08151c}
@media(max-width:420px){.royal-theme.page-clan .mtabs{grid-template-columns:1fr 1fr}.r27-clan-actions{grid-template-columns:1fr}}

/* === home.css === */
.h44{container-type:inline-size;position:relative;isolation:isolate;margin:0;background:#031017;color:#f5ead6;border:8px solid transparent;border-image:url('/images/ui/frame.svg') 22 fill / 10px / 0 stretch;font-family:Georgia,'Times New Roman',serif}.h44 *{box-sizing:border-box;min-width:0}.h44 [hidden]{display:none!important}.h44-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:1px}.h44-card{position:relative;isolation:isolate;display:grid;grid-template-columns:30% minmax(0,1fr) 12px;gap:3px;align-items:center;min-height:73px;padding:5px 6px;text-decoration:none;color:#fff0c0;border:5px solid transparent;border-image:url('/images/home/frame.svg') 21 fill / 11px / 0 stretch;background:#03121a}.h44-card:before{content:'';position:absolute;z-index:-1;inset:1px;background:linear-gradient(90deg,#06131b33,#031019d9 34%,#031019e8 73%,#030d1455)}.h44-scene{position:absolute;z-index:-2;inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);object-fit:cover;object-position:center}.h44-icon{width:100%;height:51px;object-fit:contain;filter:drop-shadow(0 2px 3px #000)}.h44-copy{display:grid;gap:5px;padding:2px 0}.h44-copy>strong{font:bold 16px/1.12 Georgia,serif;color:#ffe8a8;text-shadow:0 2px 3px #000;overflow-wrap:normal}.h44-copy>span{font:12.5px/1.22 Georgia,serif;color:#dbe2e7;text-shadow:0 1px 2px #000}.h44-arrow{font:32px/1 Georgia,serif;color:#ffd180;text-shadow:0 2px 3px #000}.h44-landscape{grid-template-columns:34% minmax(0,1fr) 10px}.h44-landscape .h44-copy{grid-column:2}.h44-landscape .h44-scene{object-position:left center}.h44-landscape:before{background:linear-gradient(90deg,#03101900 10%,#03101955 36%,#031019eb 57%,#031019ba)}.h44-siege .h44-copy>strong,.h44-valley .h44-copy>strong{font-size:13px}.h44-card:focus-visible,.h44-card.tut-target{outline:2px solid #ffe391;outline-offset:1px;z-index:2}
.h44-events{position:relative;margin-top:5px;padding:0;border:6px solid transparent;border-image:url('/images/ui/frame.svg') 22 fill / 9px / 0 stretch;background:#03121b;min-height:104px;overflow:hidden}.h44-events h2{position:absolute;z-index:2;top:4px;left:5px;margin:0;padding:5px 13px;background:linear-gradient(#9a200e,#530700);border:1px solid #e1ab4e;color:#fff1d1;font:700 15px/1.1 Georgia,serif;clip-path:polygon(0 0,90% 0,100% 50%,90% 100%,0 100%);text-shadow:0 1px 2px #000}.h44-slide{position:relative;isolation:isolate;display:flex;align-items:center;min-height:104px;padding:28px 104px 20px 12px;color:#e5e8e8;text-decoration:none}.h44-slide:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#020e18fa 8%,#03101de8 46%,#01071288 71%,#030e1655)}.h44-event-bg{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}.h44-event-copy{display:grid;gap:3px;max-width:100%}.h44-event-copy>small{width:max-content;padding:2px 6px;border:1px solid #7f653d;border-radius:2px;background:#071017cc;color:#d5b775;font:700 10.5px/1 Georgia,serif;text-transform:uppercase;letter-spacing:.05em}.h44-kind-sale .h44-event-copy>small{border-color:#9e5d2b;color:#ffd18a;background:#3e1009cc}.h44-event-copy>strong{font:bold 18px/1.12 Georgia,serif;color:#ffe5a5;text-shadow:0 1px 2px #000}.h44-event-copy>span{font:13.5px/1.28 Georgia,serif;color:#e7edf1;text-shadow:0 1px 2px #000}.h44-chest{position:absolute;right:34px;bottom:9px;width:68px;height:64px;object-fit:contain;filter:drop-shadow(0 2px 4px #000)}.h44-event-arrow{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:38px;border:2px solid #d7a656;border-radius:5px;background:linear-gradient(#0b2e40,#04131d);box-shadow:inset 0 0 0 1px #2c4c59,0 2px 4px #000;font:31px/1 Georgia;color:#ffe5a1;text-shadow:0 1px 2px #000}.h44-dots{position:absolute;bottom:5px;left:31%;right:31%;display:flex;justify-content:center;gap:7px}.h44-dots button{display:block;min-height:0;width:11px;height:11px;padding:0;border:1px solid #465967;border-radius:50%;background:#253744}.h44-dots button[aria-pressed=true]{background:linear-gradient(#ffeabc,#e4a322);border-color:#ffe2a3;box-shadow:0 0 5px #d89b2e}.h44-dots button:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:420px){.h44-card{min-height:88px;grid-template-columns:25% minmax(0,1fr) 8px;padding:5px 3px;gap:2px}.h44-copy>strong{font-size:15px}.h44-copy>span{font-size:11px}.h44-landscape{grid-template-columns:26% minmax(0,1fr) 8px}.h44-siege .h44-copy>strong,.h44-valley .h44-copy>strong{font-size:14px}.h44-icon{height:46px}.h44-landscape:before{background:linear-gradient(90deg,#03101922,#031019e8 50%)}.h44-slide{padding-right:70px}.h44-chest{width:48px}.h44-event-copy>strong{font-size:16px}}


.h44-dragon .h44-scene,.h44-pets .h44-scene{width:49%;object-position:65% center}.h44-dragon:before,.h44-pets:before{background:linear-gradient(90deg,transparent 21%,#03101944 32%,#031019ed 49%,#031019aa)}

.h44-duel .h44-scene{object-position:center top}.h44-valley .h44-copy>strong{font-size:12px}.h44-valley{grid-template-columns:28% minmax(0,1fr) 10px}

/* v67 home live-event layout fixes */
.h44-events{margin-top:6px;min-height:96px;border-width:5px;border-image-width:8px;background:#03121b;overflow:hidden}
.h44-events h2{position:relative;top:auto;left:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 12px 6px;margin:0;border:0;border-bottom:1px solid rgba(211,166,84,.38);background:linear-gradient(180deg,#0b1822,#071018);clip-path:none;color:#efcc84;font:700 15px/1.1 Georgia,serif;text-shadow:0 1px 2px #000}
.h44-events h2::after{content:'СЕЙЧАС АКТИВНО';flex:none;color:#cfb27c;font:400 11px/1 Arial,sans-serif;letter-spacing:.08em}
.h44-slide{min-height:72px;padding:13px 58px 12px 12px;align-items:center}
.h44-slide::before{background:linear-gradient(90deg,#04111bf5 6%,#04111be6 46%,#031019a6 70%,#03101952)}
.h44-event-bg{object-position:center center;opacity:.62}
.h44-event-copy{gap:2px;padding-right:6px}
.h44-event-copy>small{display:none}
.h44-event-copy>strong{font-size:17px;line-height:1.06}
.h44-event-copy>span{font-size:12px;line-height:1.2;max-width:440px}
.h44-chest{display:none}
.h44-event-arrow{right:10px;width:30px;height:44px;border-width:1px;border-radius:4px;font-size:28px;box-shadow:inset 0 0 0 1px rgba(255,214,128,.15),0 2px 5px rgba(0,0,0,.42)}
.h44-dots{bottom:3px;left:auto;right:44px;justify-content:flex-end}
@media(max-width:420px){.h44-events h2{padding-right:10px;font-size:13px}.h44-events h2::after{font-size:10px}.h44-slide{padding:12px 52px 14px 10px;min-height:82px}.h44-event-copy>strong{font-size:15px}.h44-event-copy>span{font-size:11px}.h44-event-arrow{right:8px;width:28px;height:40px;font-size:25px}.h44-dots{right:38px}}

/* === notices.css === */
/* v53 — единая лорная лента: активное событие под HUD + вести/почта/безопасность. */
.h53-live{position:relative;z-index:18;margin:0;padding:5px 7px 3px;font-family:Georgia,'Times New Roman',serif;background:linear-gradient(180deg,#060c10,#04090d);border-bottom:1px solid #3e3020;overflow:hidden}
.h53-live::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent,#e79b2b12 50%,transparent)}
.h53-live-topline{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:1px 5px 4px;color:#9f8967;font-size:10.5px;line-height:1.1;text-transform:uppercase;letter-spacing:.08em}
.h53-live-kicker{color:#e9bd70}.h53-live-count{white-space:nowrap;color:#84755f}
.h53-live-track{position:relative;z-index:1;border:7px solid transparent;border-image:url('/images/ui/frame.svg') 22 fill / 8px / 0 stretch;background:#071019;box-shadow:0 2px 8px #0009,inset 0 0 18px #0008}
.h53-live-slide{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;min-height:70px;padding:8px 8px 8px 12px;overflow:hidden;color:#f5e7ce!important;text-decoration:none!important}
.h53-live-slide[hidden]{display:none!important}.h53-live-art{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.82) brightness(.62);transform:scale(1.025)}
.h53-live-shade{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(3,10,14,.96) 0%,rgba(4,12,17,.86) 44%,rgba(3,8,11,.42) 72%,rgba(3,7,10,.68) 100%)}
.h53-live-copy{display:grid;gap:2px;min-width:0}.h53-live-copy strong{font-size:17px;line-height:1.08;color:#ffd67d;text-shadow:0 2px 3px #000}.h53-live-copy span{font-size:12.5px;line-height:1.2;color:#d7e0e5;text-shadow:0 1px 2px #000;overflow-wrap:anywhere}
.h53-live-go{display:grid;place-items:center;width:30px;height:40px;border:1px solid #c38f40;border-radius:3px;background:linear-gradient(#16232b,#070d11);box-shadow:inset 0 0 0 1px #06090b,0 0 8px #e89b2833;color:#ffd981;font:30px/1 Georgia,serif}

.h53-live-dots{position:relative;z-index:3;display:flex;justify-content:center;gap:5px;margin:4px 0 0}.h53-live-dots button{width:8px;height:8px;min-height:0;padding:0;border:1px solid #8a6b3b;border-radius:50%;background:#3b4245;box-shadow:0 1px 2px #000}.h53-live-dots button[aria-pressed=true]{background:#e3ad4f;box-shadow:0 0 7px #efad43}

.st-alerts{display:grid;gap:6px;margin:6px 7px 8px;font-family:Georgia,'Times New Roman',serif}.st-alert{position:relative;isolation:isolate;display:grid;grid-template-columns:42px minmax(0,1fr) auto 16px;align-items:center;gap:8px;min-height:56px;padding:6px 9px 6px 7px;border:6px solid transparent;border-image:url('/images/ui/frame.svg') 22 fill / 8px / 0 stretch;background:linear-gradient(100deg,#06151d 0%,#0b1720 56%,#050b10 100%);color:#f6ead2;text-decoration:none!important;box-shadow:inset 0 0 24px #0008,0 2px 5px #0008;overflow:hidden}
.st-alert::before{content:'';position:absolute;z-index:-2;inset:2px;background:radial-gradient(circle at 9% 50%,#c8872b26,transparent 29%),linear-gradient(90deg,#041017e8,#06131be8)}
.st-alert-icon{position:relative;width:38px;height:38px;display:grid;place-items:center;border:1px solid #916a35;border-radius:50%;background:radial-gradient(circle at 35% 28%,#34404a,#10161c 62%,#020608);box-shadow:inset 0 0 0 2px #070a0d,0 0 10px #d18a2a2e}.st-alert-icon img{width:24px;height:24px;object-fit:contain;filter:drop-shadow(0 2px 2px #000)}
.st-alert-copy{display:grid;gap:2px;min-width:0;line-height:1.13;color:inherit!important;text-decoration:none!important}.st-alert-copy strong{font-size:14.5px;font-weight:700;color:#ffe2a0;text-shadow:0 1px 2px #000}.st-alert-copy span{font-size:12px;color:#d3dde3;overflow-wrap:anywhere}.st-alert-count{min-width:29px;height:29px;padding:0 7px;border:1px solid #d7a050;border-radius:15px;display:grid;place-items:center;background:radial-gradient(circle at 35% 25%,#d03a23,#700b07 68%,#340000);box-shadow:0 0 8px #ff5b2f55,inset 0 0 0 2px #2b0000;color:#fff0c9;font:bold 13px/1 Georgia,serif}.st-alert-arrow{font:26px/1 Georgia,serif;color:#f6c86e;text-shadow:0 1px 3px #000}.st-alert-security .st-alert-icon{border-color:#6a8fb1;background:radial-gradient(circle at 35% 28%,#243c54,#0b1823 65%,#020608)}.st-alert-security .st-alert-copy strong{color:#cfe9ff}
/* Новости оформлены как верхняя событийная лента, но остаются отдельным уведомлением. */
.st-alert-news{grid-template-columns:42px minmax(0,1fr) auto;padding:6px 7px;background:linear-gradient(100deg,#241207,#11181c 58%,#05090d);box-shadow:inset 0 0 28px #0008,0 0 10px #d8882730}.st-alert-news::before{background:radial-gradient(circle at 12% 50%,#c75c172d,transparent 32%),linear-gradient(90deg,#180b05e8,#071119e8)}.st-alert-news .st-alert-icon{border-color:#d19643;background:radial-gradient(circle at 35% 28%,#6a3a16,#271306 68%,#070402)}.st-alert-news .st-alert-copy strong{color:#ffd77e;font-size:15.5px}.st-alert-news .st-alert-copy span{color:#e3d9c5;font-size:12.5px}.st-alert-news .st-alert-close{margin:0;align-self:center}.st-alert-news .st-alert-close button{width:31px;height:31px;min-height:0;padding:0;border:1px solid #a77a3d;border-radius:3px;background:linear-gradient(#241a12,#0d0c0b);color:#e9c77f;font:bold 20px/1 Georgia,serif;cursor:pointer}
.st-alerts+.st-tutorial{margin-top:6px}
@media(max-width:420px){.h53-live{padding-left:4px;padding-right:4px}.h53-live-slide{min-height:66px;padding-left:9px}.h53-live-copy strong{font-size:15.5px}.h53-live-copy span{font-size:11.5px}.st-alerts{margin-left:4px;margin-right:4px}.st-alert{grid-template-columns:36px minmax(0,1fr) auto 12px;gap:6px;padding:5px 6px;min-height:52px}.st-alert-icon{width:34px;height:34px}.st-alert-icon img{width:21px;height:21px}.st-alert-copy strong{font-size:13.5px}.st-alert-copy span{font-size:11px}.st-alert-count{min-width:26px;height:26px;font-size:12px}.st-alert-news{grid-template-columns:36px minmax(0,1fr) auto}}

/* === tutorial.css === */
/* v55 — «Путь к Стальному Престолу». Компактный наставник с круглым портретом. */
.st-tutorial{position:relative;isolation:isolate;display:grid;grid-template-columns:92px minmax(0,1fr);min-height:150px;margin:8px 0 10px;border:8px solid transparent;border-image:url('/images/ui/frame.svg') 22 fill / 10px / 0 stretch;background:#061019;color:#e8edf1;box-shadow:inset 0 0 24px #000b,0 3px 8px #0009;font-family:Georgia,'Times New Roman',serif;overflow:hidden}
.st-tutorial::before{content:'';position:absolute;z-index:-3;inset:0;background:linear-gradient(94deg,#06131a 0%,#0a1720 56%,#03090d 100%),url('/images/header/backplate.webp') center/cover no-repeat;opacity:.96}
.st-tutorial::after{content:'';position:absolute;z-index:-2;inset:2px;background:radial-gradient(circle at 13% 21%,#d6962e20,transparent 23%),linear-gradient(90deg,transparent,#02060955);pointer-events:none}
.st-tutorial-herald{position:relative;align-self:start;justify-self:center;width:70px;height:70px;margin-top:14px;border:2px solid #bf8c45;border-radius:50%;overflow:hidden;background:#07131b;box-shadow:0 0 0 3px #17212a,0 0 0 4px #72552f,0 4px 10px #000b}
.st-tutorial-herald::after{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 -15px 18px #02070bb8,inset 0 0 8px #e0ad4f28;pointer-events:none}
.st-tutorial-herald img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 8%;transform:scale(1.8) translateY(10%);transform-origin:50% 10%;filter:saturate(.94) contrast(1.04)}
.st-tutorial-body{min-width:0;padding:11px 39px 10px 4px;display:flex;flex-direction:column}
.st-tutorial-kicker{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px;color:#d8aa61;font:700 11px/1.2 Georgia,serif;text-transform:uppercase;letter-spacing:.06em}.st-tutorial-kicker b{flex:none;padding:2px 7px;border:1px solid #815d31;border-radius:9px;background:#080d11;color:#ffe0a1;font-size:10px}
.st-tutorial h2{margin:0 0 5px;color:#ffe3a6;font:700 18px/1.12 Georgia,serif;text-shadow:0 2px 3px #000}.st-tutorial p{margin:0;color:#d8e1e6;font:13px/1.34 Georgia,serif}
.st-tutorial-hint{display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:7px;margin:7px 0 6px;padding:6px 8px;border:1px solid #6d5636;background:linear-gradient(90deg,#17140eaa,#081119aa);color:#c8d2da;font:11px/1.25 Georgia,serif}.st-tutorial-hint img{width:23px;height:23px;object-fit:contain}
.st-tutorial-progress{height:5px;margin:1px 0 6px;border:1px solid #4f3b23;background:#020405;overflow:hidden}.st-tutorial-progress progress{display:block;width:100%;height:100%;border:0;appearance:none;-webkit-appearance:none;background:transparent}.st-tutorial-progress progress::-webkit-progress-bar{background:transparent}.st-tutorial-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#7f240d,#e3a139 68%,#ffe19a)}.st-tutorial-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#7f240d,#e3a139 68%,#ffe19a)}
.st-tutorial-dots{display:flex;gap:5px;margin-bottom:7px}.st-tutorial-dots i{width:7px;height:7px;transform:rotate(45deg);border:1px solid #67543b;background:#0b1115}.st-tutorial-dots i.is-done{background:#a96e26;border-color:#e0b465}.st-tutorial-dots i.is-current{background:#e0a33d;box-shadow:0 0 5px #ffbd59}
.st-tutorial-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}.st-tutorial-actions form{margin:0}.st-tutorial-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 13px;border:2px solid transparent;border-image:url('/images/ui/frame.svg') 22 / 5px / 0 stretch;background:linear-gradient(#7d160b,#3d0804);color:#ffe8b3!important;text-decoration:none;font:700 13px/1 Georgia,serif;cursor:pointer;text-shadow:0 1px 2px #000}.st-tutorial-primary span{font-size:22px;line-height:.7}.st-tutorial-wait{color:#b9c9d4;font:italic 10px/1.2 Georgia,serif}
.st-tutorial-toggle{position:absolute;z-index:5;right:8px;top:8px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:1px solid #9e753e;border-radius:50%;background:#071018;color:#e9c47b;font:bold 17px/1 Georgia,serif;cursor:pointer;box-shadow:0 1px 3px #000}
.st-tutorial.is-collapsed{grid-template-columns:54px minmax(0,1fr);min-height:58px}.st-tutorial.is-collapsed .st-tutorial-herald{width:42px;height:42px;margin-top:8px}.st-tutorial.is-collapsed .st-tutorial-body{padding:8px 40px 8px 2px;justify-content:center}.st-tutorial.is-collapsed .st-tutorial-body>:not(.st-tutorial-kicker):not(h2){display:none}.st-tutorial.is-collapsed .st-tutorial-kicker{margin:0}.st-tutorial.is-collapsed h2{margin:2px 0 0;font-size:14px}.st-tutorial.is-collapsed .st-tutorial-toggle{top:50%;transform:translateY(-50%)}
.tut-target{position:relative;z-index:2;outline:2px solid #f1c56f!important;outline-offset:1px!important;box-shadow:0 0 9px #ffb23b55!important}
@media(max-width:430px){
 .st-tutorial{grid-template-columns:70px minmax(0,1fr);min-height:0}.st-tutorial-herald{width:56px;height:56px;margin-top:12px}.st-tutorial-body{padding:10px 35px 9px 2px}.st-tutorial-kicker{font-size:9.5px}.st-tutorial-kicker b{font-size:9px;padding:2px 5px}.st-tutorial h2{font-size:16px;padding-right:0}.st-tutorial p{font-size:12px}.st-tutorial-hint{margin-top:6px;font-size:10.5px}.st-tutorial-primary{font-size:12px;padding:7px 10px}.st-tutorial-wait{width:100%}.st-tutorial-toggle{right:6px;top:6px;width:26px;height:26px}
}

/* === shell.css === */
/* v53 — clean shared shell for Steel Throne.
   One central 520px game surface, side world artwork attached directly to it,
   compact HUD/footer and no artificial viewport spacer between content/footer. */

html{background:#02070b}
body.game-page{
  position:relative;min-height:100dvh;margin:0;overflow-x:clip;
  background:#02070b;color:#eee5d7;
}
body.game-page::before,body.game-page::after{
  content:'';position:fixed;z-index:0;top:0;bottom:0;width:max(0px,calc((100vw - 520px)/2));
  pointer-events:none;background-repeat:no-repeat;background-size:cover;
}
body.game-page::before{
  left:0;background-image:url('/images/world-shell/world-left.webp');background-position:right top;
}
body.game-page::after{
  right:0;background-image:url('/images/world-shell/world-right.webp');background-position:left top;
}
.page-col{
  position:relative;z-index:1;width:min(100%,520px);min-height:0;margin:0 auto;
  background-color:#03090d;
  background-image:linear-gradient(180deg,rgba(2,8,12,.04),rgba(2,8,12,.14)),url('/images/world-shell/world-center.webp');
  background-position:center top;background-size:100% 100%;background-repeat:no-repeat;
  box-shadow:0 0 28px #000b;overflow-x:clip;
}
.glass-panel{width:100%;min-height:0;padding:0;border:0;background:transparent;overflow:visible}
.game-body-shell{
  position:relative;isolation:isolate;min-height:0;margin:0;padding:6px 8px 8px;
  border:0;background:transparent;box-shadow:none;overflow-x:clip;
}
.game-body-shell>*{max-width:100%}
.game-body-shell>.o38,.game-body-shell>.c37,.game-body-shell>.q35,.game-body-shell>.r36{margin-left:0;margin-right:0;border-radius:0;box-shadow:none}
.game-body-shell>.c43,.game-body-shell>.h44{margin-left:0;margin-right:0}

/* ========================= HUD / FOOTER v72 ========================= */
/* Stable 520px shell: fixed visual rhythm, no percentage drift between admin/user HUDs. */

@media(max-width:430px){
  body.game-page::before,body.game-page::after{display:none}.page-col{width:100%;box-shadow:none}
}
@media(max-width:360px){
}

/* v57 — single lightweight page-load indicator; no global element animations. */
.sp-nav-progress{position:fixed;z-index:1000;left:0;top:0;width:100%;height:2px;opacity:0;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,#7d1a0d,#efb647,#fff1b0);box-shadow:0 0 5px #f1ac36;pointer-events:none;transition:opacity .08s linear,transform .12s ease-out}
.sp-nav-progress.is-loading{opacity:1;transform:scaleX(.82)}
.sp-nav-progress.is-finish{opacity:0;transform:scaleX(1)}
#game-main{transition:opacity .08s linear}
#game-main[aria-busy="true"]{cursor:progress;opacity:.965}
.sp-nav-error{position:fixed;z-index:1200;left:50%;bottom:18px;transform:translateX(-50%);width:min(440px,calc(100% - 24px));padding:9px 12px;border:1px solid #9a6538;background:#22100c;color:#ffe0b7;box-shadow:0 4px 14px #000b;font:13px/1.35 Georgia,'Times New Roman',serif;text-align:center}

/* v61: location feedback lives inside the current scene, never in the HUD. */
.loc61-notices{display:grid;gap:7px;margin:8px 7px 10px}.loc61-notice{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;padding:9px 10px;border:1px solid #665337;border-radius:5px;background:linear-gradient(180deg,#0b171d,#061016);box-shadow:0 2px 7px #0008;color:#eadfca}.loc61-notice p{margin:0;font:13px/1.35 Georgia,'Times New Roman',serif;overflow-wrap:anywhere}.loc61-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid #9b7940;border-radius:50%;background:#10191d;color:#edc46f;font:bold 17px/1 Georgia,serif}.loc61-success{border-color:#65733e}.loc61-success .loc61-mark{color:#d9ee9a;border-color:#70824a}.loc61-warning{border-color:#8a4d36}.loc61-warning .loc61-mark{color:#ffb083;border-color:#9a583e}.loc61-combat{background:radial-gradient(circle at 8% 50%,#5a251326,transparent 28%),linear-gradient(180deg,#10191d,#071015)}


/* v70 — global horizontal containment for narrow phones. */
html,body{max-width:100%;overflow-x:clip}
.page-col,#game-main,.game-body-shell,.game-shell{min-width:0;max-width:100%}
img,svg,video,canvas{max-width:100%}
@supports not (overflow:clip){html,body{overflow-x:hidden}}

/* === combat.css === */
/* Steel Throne v54 — readable combat feedback, shared by all battle modes. */
.bt-report{position:relative;margin:7px 8px 8px;padding:9px 11px 9px 40px;min-height:48px;border:1px solid #98733c;border-radius:3px;background:linear-gradient(180deg,#101b21,#071015 72%,#050b0e);box-shadow:inset 0 0 0 1px #20170d,inset 0 0 20px #16314155,0 2px 7px #000a;color:#d8e4e8;font:13px/1.35 Georgia,'Times New Roman',serif;overflow:hidden}
.bt-report::before{content:'⚔';position:absolute;left:10px;top:9px;width:23px;height:27px;display:grid;place-items:center;color:#e6b85c;font-size:21px;text-shadow:0 0 7px #d37a20}
.bt-report>b{display:block;margin-bottom:3px;color:#f4d792;font-size:14px;text-shadow:0 1px 2px #000}.bt-report>span{display:block}.bt-report i{font-style:normal;font-weight:700}.bt-report i.dealt{color:#ffcc62}.bt-report i.taken{color:#ff705d}.bt-report i.heal{color:#78ed8d}.bt-report i.miss{color:#87cfff}.bt-report em{font-style:normal;color:#ffd355;text-shadow:0 0 7px #e63}.bt-report.is-new{animation:c54Report .48s ease both}
@keyframes c54Report{0%{opacity:.25;transform:translate3d(0,5px,0)}60%{opacity:1}100%{opacity:1;transform:translate3d(0,0,0)}}
.c54-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin:8px 0 10px}.c54-stat{position:relative;padding:8px 7px;border:1px solid #71583a;background:linear-gradient(#101a1e,#071014);box-shadow:inset 0 0 0 1px #1d1710;text-align:center}.c54-stat b{display:block;color:#f1d38c;font-size:16px;line-height:1.1}.c54-stat span{display:block;margin-top:2px;color:#b8c4c8;font-size:11px}.c54-stat.good b{color:#8be699}.c54-stat.bad b{color:#ff7b69}.c54-stat.crit b{color:#ffd35d}
.r54-turn-report{margin:8px 0 10px;padding:8px;border:1px solid #765b38;background:linear-gradient(180deg,#0c171c,#071014);box-shadow:inset 0 0 18px #19334155;color:#cad7da;font:12.5px/1.4 Georgia,'Times New Roman',serif}.r54-turn-report>b{display:block;margin-bottom:4px;color:#f2d18b;font-size:14px}.r54-turn-report>span{display:block}.r54-turn-report.is-update{animation:c54Report .48s ease both}.r54-turn-title{text-align:center;color:#f1d08a;font:bold 14px/1.2 Georgia,serif;margin-bottom:7px}.r54-turn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.r54-turn-grid>div{padding:7px;border:1px solid #4a4338;background:#071015d9;color:#cbd6d8;font-size:12px}.r54-turn-grid b{display:block;font:700 15px/1.15 Georgia,serif;color:#f0cf83}.r54-turn-grid .taken b{color:#ff7866}.r54-turn-grid .saved b{color:#78dfa0}.r54-hp-shift{margin-top:6px;text-align:center;color:#9db0b6;font-size:11px}.r54-hp-shift strong{color:#f1dac1}
@media(max-width:390px){.bt-report{margin:6px 5px;padding:8px 8px 8px 35px;font-size:12px}.bt-report::before{left:7px}.c54-summary,.r54-turn-grid{gap:4px}.c54-stat{padding:7px 4px}.c54-stat b{font-size:14px}}

/* v66: растровые рамки HP для боевых сцен */
.r66-hp-frame{position:relative;height:32px;margin:6px 0;display:grid;align-items:center;padding:8px 11px;overflow:hidden;background-position:center;background-size:100% 100%;background-repeat:no-repeat}.r66-hp-player{background-image:url('/images/ui/meters/gold-bar.webp')}.r66-hp-enemy{background-image:url('/images/ui/meters/steel-bar.webp')}.r66-hp-frame progress{position:relative;z-index:1;width:100%;height:9px;border:0;background:#130806}.r66-hp-frame progress::-webkit-progress-bar{background:#160805}.r66-hp-frame progress::-webkit-progress-value{background:#b40e09 url('/images/ui/meters/red-fill.webp') center/100% 100% no-repeat}.r66-hp-frame progress::-moz-progress-bar{background:#b40e09 url('/images/ui/meters/red-fill.webp') center/100% 100% no-repeat}

/* === royal-polish.css === */
/* v69: final visual normalisation for legacy screens that have no dedicated royal stylesheet. */
.royal-theme .game-body-shell :where(.block,.bar,fieldset,.legacy-panel,.royal-panel){border:1px solid #705631;border-radius:4px;background:linear-gradient(180deg,rgba(10,24,31,.96),rgba(5,13,18,.98));box-shadow:inset 0 0 0 1px rgba(255,220,140,.05),inset 0 0 18px rgba(0,0,0,.28);color:#e7decc}
.royal-theme .game-body-shell .bar{display:flex;align-items:center;justify-content:center;text-align:center;color:#eed39c;text-decoration:none;background:linear-gradient(#172832,#081117)}
.royal-theme .game-body-shell :where(.block,.royal-panel)>:is(h1,h2,h3):first-child{margin-top:0;color:#efcb7a;text-align:center}
.royal-theme .game-body-shell table{background:rgba(5,14,19,.72);border:1px solid #5e4b2e}
.royal-theme .game-body-shell th{color:#e8c980;background:rgba(55,35,15,.56)}
.royal-theme .game-body-shell td{background:rgba(5,15,20,.58)}
.royal-theme .game-body-shell table img{max-width:58px;max-height:58px;object-fit:contain}
.royal-theme .game-body-shell :where(button,.button,.btn,.grey-btn):not(.c37-reply):not(.o38-square){border-radius:3px;border-color:#896735;background:linear-gradient(#182831,#081117);color:#efd39a;box-shadow:inset 0 0 0 1px rgba(255,220,140,.05)}
.royal-theme .game-body-shell :where(button,.button,.btn,.grey-btn):not(.c37-reply):not(.o38-square):hover{filter:brightness(1.08)}
.royal-theme .game-body-shell :where(.block,.royal-panel,.legacy-panel)>img:not([class*="scene"]):not([class*="banner"]):not([class*="hero"]){max-width:96px;max-height:96px;object-fit:contain}
.royal-theme .game-body-shell :where(.cell-icon-50,.cell-icon-right) img{width:50px!important;height:50px!important;object-fit:contain!important}
.royal-page{display:grid;gap:8px;color:#eadfc9}.royal-title{text-align:center;padding:10px;color:#f0cf83;font:700 20px Georgia,serif;background:linear-gradient(90deg,transparent,#3b220d66,transparent)}.royal-panel{padding:10px}.royal-action{margin-top:7px}.royal-danger{width:100%;border-color:#93432e!important;background:linear-gradient(#641b10,#260907)!important;color:#ffd0b9!important}
@media(max-width:420px){.royal-theme .game-body-shell table{font-size:12px}.royal-theme .game-body-shell table img{max-width:48px;max-height:48px}}

/* v69.1: restrained royal treatment for remaining legacy screens. */
.royal-theme .game-body-shell :where(details:not(.c37-menu):not(.o38-menu):not(.c43-menu),.notice,.success,.warning,.info,.error){border:1px solid #705631;border-radius:4px;background:linear-gradient(180deg,rgba(10,24,31,.95),rgba(5,13,18,.98));box-shadow:inset 0 0 0 1px rgba(255,220,140,.05);color:#dfd5c2}
.royal-theme .game-body-shell details:not(.c37-menu):not(.o38-menu):not(.c43-menu)>summary{color:#e9c981;background:linear-gradient(180deg,rgba(41,31,17,.55),rgba(8,17,22,.2));font-family:Georgia,'Times New Roman',serif}
.royal-theme .game-body-shell :where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select){border-color:#705631;background:#071118;color:#eee1c7;box-shadow:inset 0 0 10px rgba(0,0,0,.28)}
.royal-theme .game-body-shell :where(.pagination,.pager,.pages){display:flex;justify-content:center;gap:5px;flex-wrap:wrap}
.royal-theme .game-body-shell :where(.pagination,.pager,.pages)>a{min-width:34px;min-height:34px;display:grid;place-items:center;border:1px solid #705631;background:#08151c;color:#e7cf9d;text-decoration:none}
.royal-theme .game-body-shell hr{border:0;height:1px;background:linear-gradient(90deg,transparent,#765a31,transparent)}
.royal-theme .game-body-shell :where(.block,.legacy-panel,.royal-panel,.card) img:not([class*='scene']):not([class*='banner']):not([class*='hero']):not([class*='character']):not([class*='fighter']):not([class*='art']){max-width:96px;max-height:96px;object-fit:contain}
.royal-theme .game-body-shell :where(.item-icon,.reward-icon,.icon-item,.loot-icon) img,.royal-theme .game-body-shell img:is(.item-icon,.reward-icon,.icon-item,.loot-icon){width:52px!important;height:52px!important;object-fit:contain!important}

/* v69.4 — final image discipline and royal language for remaining legacy modules. */
.royal-theme .game-body-shell img{max-width:100%;height:auto;image-rendering:auto}
.royal-theme .game-body-shell :where(.list,.rows,.entries,.items,.history,.journal)>:where(div,article,li){min-width:0}
.royal-theme .game-body-shell :where(.row,.list-row,.entry,.history-row,.journal-row,.setting-row,.manage-row){border:1px solid rgba(112,86,49,.72);border-radius:4px;background:linear-gradient(180deg,rgba(9,23,30,.94),rgba(4,13,18,.98));box-shadow:inset 0 0 0 1px rgba(255,220,140,.04)}
.royal-theme .game-body-shell :where(.avatar,.portrait,.pet-icon,.pet-avatar,.clan-icon,.clan-crest,.emblem) img,
.royal-theme .game-body-shell img:is(.avatar,.portrait,.pet-icon,.pet-avatar,.clan-icon,.clan-crest,.emblem){object-fit:contain;object-position:center}
.royal-theme .game-body-shell :where(.shop-item,.inventory-item,.reward,.loot,.item-card) img:not([class*='scene']):not([class*='banner']){max-width:72px;max-height:72px;object-fit:contain}
.royal-theme .game-body-shell :where(.settings,.management,.manage,.control-panel,.form-panel) label{color:#dbc28f}
.royal-theme .game-body-shell :where(.settings,.management,.manage,.control-panel,.form-panel)>:where(h1,h2,h3){color:#efcb7a;text-align:center;font-family:Georgia,'Times New Roman',serif}
@media(max-width:420px){.royal-theme .game-body-shell :where(.shop-item,.inventory-item,.reward,.loot,.item-card) img:not([class*='scene']):not([class*='banner']){max-width:60px;max-height:60px}}

/* v73 — corrected 520px HUD/footer geometry. Staff controls get real hit areas,
   resources stay readable and decorative overlays no longer create false rails. */
@media(min-width:431px){
}

/* v75 — shared avatar rendering. The avatar is always the profile-selected image. */
.st-framed-avatar,.r36-avatar-layer,.r36-list-avatar,.p34-avatar-display{position:relative;display:inline-block;overflow:visible;background:transparent}
.st-avatar-image{position:absolute!important;inset:12%!important;width:76%!important;height:76%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 9%!important;border-radius:50%!important;transform:none!important;z-index:1!important;padding:0!important;margin:0!important}
.st-avatar-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border:0!important;border-radius:0!important;transform:none!important;z-index:4!important;padding:0!important;margin:0!important;pointer-events:none!important;filter:none!important}
/* v75 compact avatar shown in battle/status bars */
.bt-avatar{position:relative!important;display:inline-block!important;width:44px!important;height:44px!important;overflow:visible!important;flex:0 0 44px!important}
.bt-avatar>.st-avatar-image{position:absolute!important;inset:12%!important;width:76%!important;height:76%!important;object-fit:cover!important;border-radius:50%!important}
.bt-avatar>.st-avatar-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;z-index:4!important}
/* v75 profile avatar in legacy event rankings */
.invasion-avatar{position:relative!important;display:inline-block!important;width:28px!important;height:28px!important;vertical-align:middle!important;overflow:visible!important}
.invasion-avatar>.st-avatar-image{position:absolute!important;inset:12%!important;width:76%!important;height:76%!important;object-fit:cover!important;border-radius:50%!important}
.invasion-avatar>.st-avatar-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;z-index:4!important}

/* v76 canonical player-name and avatar-crop rules */
.st-player-name{color:#fff!important}.st-player-name-admin{color:#f4d47d!important;text-shadow:0 1px 2px #170900}.st-help-icon{display:block!important;width:84%!important;height:84%!important;object-fit:contain!important;margin:auto!important}.st-avatar-image{object-position:center 9%!important}

/* v77 Valentine event — active and unavailable states. */
.ve-event{overflow:hidden;background:radial-gradient(ellipse at 18% 35%,rgba(96,9,30,.30),transparent 45%),radial-gradient(ellipse at 82% 62%,rgba(78,22,18,.28),transparent 48%),linear-gradient(#1d0c12,#080a0d 55%,#190b10);box-shadow:inset 0 0 0 1px rgba(197,147,83,.2)}
.ve-event .ve-hero{min-height:47cqw;padding:10.5cqw 2cqw 2.2cqw;overflow:hidden;background:url('/images/valentine/hero.webp') center 22%/cover no-repeat}
.ve-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,3,5,.08),rgba(18,6,10,.08) 45%,rgba(18,7,11,.9) 100%),radial-gradient(circle at 50% 22%,transparent 0 25%,rgba(5,3,5,.2) 75%);pointer-events:none}
.ve-hero>*:not(.ve-hero-shade){position:relative;z-index:1}
.ve-hero h1{font-size:5.8cqw;line-height:.95;margin:0 0 .8cqw;filter:drop-shadow(0 2px 3px #000)}
.ve-hero h1>img{width:5.2cqw;height:5.2cqw}.ve-hero h1>span{font-size:5.7cqw}
.ve-ribbon{max-width:82%;font-size:2.05cqw;padding:.72cqw 1cqw!important;border-block:1px solid rgba(221,167,94,.45);background:linear-gradient(90deg,transparent,rgba(73,9,14,.91) 18%,rgba(73,9,14,.91) 82%,transparent)}
.ve-intro{font-size:1.92cqw;line-height:1.35;margin:1cqw 0;color:#f0d8d1}
.ve-timer{width:auto;min-width:45%;max-width:76%;padding:1cqw 1.5cqw;gap:1.2cqw;border:1px solid #8b704d;border-radius:4px;background:linear-gradient(180deg,rgba(18,18,19,.94),rgba(6,8,10,.96));box-shadow:inset 0 0 0 1px #2c2419,0 3px 8px #0008}
.ve-timer>img{width:4.2cqw;height:4.2cqw;object-fit:contain}.ve-timer>span{font-size:1.55cqw;letter-spacing:.03em}.ve-timer strong{font-size:2.2cqw;margin-top:.25cqw}
.ve-tabs{gap:.7cqw;padding:0 1.5cqw;margin:-.2cqw 0 1.2cqw;background:linear-gradient(#170a0e,#0a0a0c)}
.ve-tabs>a{min-height:12.5cqw;padding:1.2cqw .6cqw;font-size:1.75cqw;letter-spacing:.03em;background:radial-gradient(circle at 50% 15%,rgba(112,37,32,.5),rgba(12,10,10,.95) 70%);border:1px solid rgba(151,111,73,.55)}
.ve-tabs>a::after{display:none}.ve-tabs>a[aria-current="page"]{background:radial-gradient(circle at 50% 15%,rgba(161,47,38,.66),rgba(32,11,12,.97) 74%);box-shadow:inset 0 -2px #a22621,0 0 9px rgba(161,39,37,.25)}
.ve-tabs img{width:7.5cqw;height:7.2cqw}.ve-tabs span{white-space:nowrap}
.ve-panel{padding:2.4cqw 2.8cqw 2.6cqw;margin:1.3cqw 1.5cqw 0;background:linear-gradient(135deg,rgba(40,22,24,.78),rgba(7,10,12,.96) 50%,rgba(35,14,19,.8));border:1px solid rgba(137,106,72,.62);box-shadow:inset 0 0 0 1px rgba(0,0,0,.75),0 2px 8px rgba(0,0,0,.45)}
.ve-panel::after{inset:-1px;opacity:.7}.ve-panel h2{font-size:2.5cqw;margin:0 0 .9cqw}.ve-panel h2>img{width:4.2cqw;height:4.2cqw}.ve-panel>p{font-size:1.82cqw}
.ve-milestones{gap:1.2cqw;padding:0 .5cqw;margin-top:1.6cqw}.ve-event .ve-reward{width:8.7cqw;height:8.7cqw;padding:.8cqw;border:1px solid #8d704e;box-shadow:inset 0 0 0 1px #282017,0 2px 5px #000}.ve-event .ve-reward.is-ready{border-color:#d2a052;box-shadow:inset 0 0 0 1px #5b3420,0 0 9px rgba(218,137,55,.55)}.ve-event .ve-reward.is-claimed{filter:saturate(.6);opacity:.78}.ve-reward>i{position:absolute;right:-.7cqw;top:-.8cqw;display:grid;place-items:center;width:3cqw;height:3cqw;border-radius:50%;background:#9e1717;border:1px solid #efb06e;color:#fff;font-style:normal;font-size:2cqw}.ve-milestones form>span{font-size:1.75cqw}.ve-node{width:3.8cqw;height:3.8cqw}.ve-milestones progress{bottom:1cqw;height:1.4cqw}
.ve-balance-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7cqw;margin-top:1.1cqw;text-align:center}.ve-balance-row small{padding:.65cqw .4cqw;border:1px solid rgba(128,91,60,.35);background:#090b0d;color:#bda58f;font-size:1.45cqw}.ve-balance-row b{color:#f2d19e;font-weight:400}
.ve-quest{grid-template-columns:6cqw minmax(0,1fr) 6cqw 7cqw 13cqw;gap:.8cqw;min-height:8.2cqw;padding:.75cqw;background:linear-gradient(90deg,rgba(30,21,22,.96),rgba(8,10,12,.96));border:1px solid rgba(135,101,69,.32);font-size:1.65cqw}.ve-quest.is-ready{border-color:rgba(204,145,72,.75);background:linear-gradient(90deg,rgba(54,29,25,.96),rgba(9,10,12,.96))}.ve-quest.is-done{opacity:.76}.ve-task-icon{width:5.4cqw;height:5.4cqw;padding:.35cqw;border:1px solid #70583f;object-fit:contain}.ve-quest-copy{min-width:0}.ve-quest-copy>strong{display:block;font-weight:400;color:#e8d7c2;line-height:1.2}.ve-mini-progress{display:block;width:100%;height:1cqw;margin-top:.7cqw;border:0;background:#07090a}.ve-mini-progress::-webkit-progress-bar{background:#07090a}.ve-mini-progress::-webkit-progress-value{background:linear-gradient(90deg,#801421,#d4525f)}.ve-mini-progress::-moz-progress-bar{background:linear-gradient(90deg,#801421,#d4525f)}.ve-count{font-size:1.65cqw}.ve-pay{font-size:1.7cqw}.ve-pay>img{width:2.5cqw;height:2.5cqw}
.ve-event .ve-button{min-height:5cqw;padding:.8cqw 1.35cqw;font-size:1.72cqw}.ve-event .ve-button:hover:not(:disabled){filter:brightness(1.08)}.ve-event .ve-button-muted{filter:grayscale(.65) brightness(.72)}.ve-event .ve-all{width:34%;min-height:5.2cqw}
.ve-event .ve-help{font-size:1.55cqw;color:#baa89d}.ve-rules{display:grid;gap:.6cqw;margin-top:1.4cqw;padding:1.2cqw;border-top:1px solid rgba(139,102,67,.35)}.ve-rules p{margin:0;font-size:1.55cqw;color:#baa89d;text-align:left}.ve-rules p::before{content:'◆';margin-right:.7cqw;color:#a63236}
.ve-form{gap:1.3cqw;font-size:1.85cqw}.ve-form input{margin-top:.7cqw;padding:1.1cqw 1.2cqw}.ve-panel h3{font-size:2.1cqw}.ve-panel p{font-size:1.8cqw}.ve-list-row,.ve-invite{padding:1cqw .5cqw}.ve-list-row b,.ve-invite>span{color:#f5eee3}.ve-empty{padding:1.5cqw;border:1px dashed rgba(147,111,75,.34);color:#a9998d!important}
.ve-partner{width:72%;margin:1.5cqw auto;padding:1.2cqw;border:1px solid rgba(169,118,74,.48);background:radial-gradient(circle at 20% 50%,rgba(118,20,37,.35),transparent 40%),#090b0d}.ve-partner>img{width:7.8cqw;height:7.8cqw}.ve-partner>div{display:grid;gap:.2cqw}.ve-partner small{color:#aa9381;font-size:1.45cqw}.ve-partner strong{color:#f8eee3;font-size:2.3cqw;font-weight:400}
.ve-shop-balance{display:flex;align-items:center;justify-content:center;gap:.7cqw}.ve-shop-balance img{width:3.2cqw;height:3.2cqw}.ve-shop{gap:1.2cqw}.ve-shop form{display:flex;flex-direction:column;align-items:center;min-height:30cqw;padding:1.1cqw;border:1px solid rgba(133,101,69,.55);background:linear-gradient(#211719,#080a0c)}.ve-shop>form>img{height:10cqw}.ve-shop h3{margin:.6cqw 0;font-size:1.9cqw}.ve-shop .ve-item-desc{min-height:5cqw;margin:.2cqw 0;color:#aa9a8c;font-size:1.35cqw;line-height:1.25}.ve-price{display:flex;align-items:center;justify-content:center;gap:.5cqw;margin:.4cqw 0!important;color:#efc890}.ve-price img{width:2.6cqw;height:2.6cqw}.ve-shop small{display:block;min-height:2.2cqw;color:#b99d7f;font-size:1.25cqw}.ve-shop .ve-button{margin-top:auto;width:100%}
.ve-flash{margin:1.2cqw 1.5cqw;padding:1.3cqw!important;font-size:1.8cqw;border-color:#9c744b;background:linear-gradient(90deg,#281015,#170c0f)}
.ve-back{background:#080a0c;border-top:1px solid rgba(139,104,68,.36)}
.ve-bottom{min-height:23cqw;padding:6cqw 22% 4cqw;background:linear-gradient(#160a0e 0,transparent 16%),url('/images/valentine/footer.webp') center/cover no-repeat}.ve-bottom>p{font-size:2.7cqw}

.ve-event.is-inactive{min-height:72cqw}.ve-event.is-inactive .ve-hero{min-height:43cqw;filter:saturate(.74)}
.ve-closed{position:relative;isolation:isolate;margin:-1cqw 1.5cqw 1.5cqw;padding:5.5cqw 5cqw 4.5cqw;text-align:center;background:linear-gradient(135deg,rgba(38,23,21,.96),rgba(8,10,12,.985) 58%,rgba(45,17,22,.94));border:1px solid #896942;box-shadow:inset 0 0 0 1px #17110d,0 5px 16px #0009;overflow:hidden}.ve-closed::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0,rgba(138,39,48,.22),transparent 38%),url('/images/valentine/scroll.webp') 50% 50%/35% auto no-repeat;opacity:.08;z-index:-1}.ve-closed-seal{width:12cqw;height:12cqw;object-fit:contain;filter:drop-shadow(0 3px 5px #000);margin-bottom:.5cqw}.ve-closed h2{margin:.2cqw 0 1.1cqw;font:400 3.2cqw Georgia,serif;color:#f0d1a7}.ve-closed>p{max-width:88%;margin:0 auto 1.6cqw;font-size:1.8cqw;line-height:1.45;color:#c9b8aa}.ve-closed-date{display:grid;gap:.25cqw;width:62%;margin:1.4cqw auto 1.8cqw;padding:1.2cqw;border-block:1px solid rgba(156,113,68,.45);background:linear-gradient(90deg,transparent,rgba(78,25,29,.3),transparent)}.ve-closed-date span,.ve-closed-date small{font-size:1.35cqw;color:#9f8b7c}.ve-closed-date strong{font:400 2.25cqw Georgia,serif;color:#f4d9b0}.ve-closed-actions{display:flex;justify-content:center;gap:1.2cqw;margin:1.5cqw 0}.ve-closed-actions .ve-button{min-width:29%}.ve-closed .ve-closed-note{font-size:1.35cqw;color:#8f8278;margin-bottom:0}

@media(max-width:420px){.ve-hero h1{font-size:7.2cqw}.ve-hero h1>span{font-size:7cqw}.ve-ribbon{font-size:2.7cqw}.ve-intro{font-size:2.45cqw}.ve-timer>span{font-size:2cqw}.ve-timer strong{font-size:2.75cqw}.ve-tabs>a{font-size:2.15cqw;min-height:14cqw}.ve-panel h2{font-size:3cqw}.ve-panel>p,.ve-panel p{font-size:2.25cqw}.ve-quest{grid-template-columns:7cqw minmax(0,1fr) 7cqw 9cqw;grid-template-areas:'icon copy count pay' 'icon action action action';font-size:2.05cqw;padding:1cqw}.ve-task-icon{grid-area:icon;width:6.3cqw;height:6.3cqw}.ve-quest-copy{grid-area:copy}.ve-count{grid-area:count;font-size:2cqw}.ve-pay{grid-area:pay;font-size:2.05cqw}.ve-quest>form,.ve-quest>a.ve-button{grid-area:action}.ve-event .ve-button{font-size:2.15cqw;min-height:6cqw}.ve-shop{grid-template-columns:1fr 1fr}.ve-shop form{min-height:36cqw}.ve-balance-row{grid-template-columns:1fr}.ve-balance-row small{font-size:1.9cqw}.ve-closed h2{font-size:4cqw}.ve-closed>p{font-size:2.25cqw}.ve-closed-date strong{font-size:2.8cqw}.ve-closed-date span,.ve-closed-date small,.ve-closed .ve-closed-note{font-size:1.75cqw}}

/* ========================================================================
   v78 — curated artwork integration: royal controls + seasonal event frames
   ======================================================================== */
:root{
 --st-btn-blue:url('/images/ui/buttons/blue.webp');
 --st-btn-green:url('/images/ui/buttons/green.webp');
 --st-btn-gray:url('/images/ui/buttons/gray.webp');
 --st-btn-black:url('/images/ui/buttons/black.webp');
 --st-btn-red:url('/images/ui/buttons/dark-red.webp');
}
.royal-theme :is(.r26-button,.a56-btn,.m39-button,.pet-action-button,.cl-btn,.cf-btn,.kz-btn,.p34-button,.bn-btn,.royal-action,.set-btn,.settings-exit-button,.sh-buy-btn,.up-btn){
 background:var(--st-btn-blue) center/100% 100% no-repeat!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 color:#f4ead7!important;text-shadow:0 1px 2px #000!important;
 padding-inline:14px!important;isolation:isolate;
}
.royal-theme :is(.pet-action-primary,.sh-buy-btn,.q35-button.is-ready){background-image:url('/images/ui/buttons/green.webp')!important}
.royal-theme :is(.r26-red,.a56-btn.red,.m39-red,.settings-exit-button,.m39-danger){background-image:url('/images/ui/buttons/dark-red.webp')!important}
.royal-theme :is(.grey-btn,.m39-button[aria-disabled="true"],button:disabled.pet-action-button){background-image:url('/images/ui/buttons/gray.webp')!important}

/* Universal royal panel: uses all four uploaded frame segments. */
.st-royal-panel{position:relative;isolation:isolate;background-color:#090b0d!important;background-image:url('/images/ui/frames/royal-top.webp'),url('/images/ui/frames/royal-bottom.webp'),url('/images/ui/frames/royal-left.webp'),url('/images/ui/frames/royal-right.webp'),linear-gradient(135deg,#181419,#080b0d 58%,#201015)!important;background-repeat:no-repeat!important;background-position:top center,bottom center,left center,right center,center!important;background-size:100% auto,100% auto,auto 100%,auto 100%,cover!important;border:0!important;padding:34px 28px!important;box-shadow:0 5px 18px #000a!important}
.st-royal-panel>h2,.ny-closed-title{display:flex;align-items:center;justify-content:center;min-height:48px;padding:9px 28px!important;background:url('/images/ui/frames/title-crown-red.webp') center/100% 100% no-repeat!important;color:#f5dfb6!important;text-shadow:0 2px 2px #000!important}

/* Valentine: the rose/gem art belongs only to the 14 February event. */
.ve-event{overflow:hidden}
.ve-event>.ve-art{position:absolute;display:block;z-index:8;pointer-events:none;background-repeat:no-repeat;background-size:contain;opacity:.94;filter:drop-shadow(0 2px 5px #0008)}
.ve-art-left{left:-2.8%;top:18%;width:19%;height:54%;background-image:url('/images/events/valentine/frame-left.webp');background-position:left center}
.ve-art-right{right:-2.8%;top:20%;width:19%;height:54%;background-image:url('/images/events/valentine/frame-right.webp');background-position:right center}
.ve-art-top{left:0;top:0;width:27%;height:22%;background-image:url('/images/events/valentine/corner-top.webp');background-position:left top}
.ve-art-bottom{right:0;bottom:0;width:27%;height:22%;background-image:url('/images/events/valentine/corner-bottom.webp');background-position:right bottom}
.ve-event .ve-button::before{background-image:url('/images/events/valentine/button-heart.webp')!important;background-size:100% 100%!important}
.ve-event .ve-button.ve-button-muted::before{background-image:url('/images/ui/buttons/gray.webp')!important}
.ve-event .ve-button{min-height:40px;padding:8px 18px!important}
.ve-event .ve-panel{z-index:2}

/* New Year: uploaded winter frame surrounds only the seasonal event. */
.ny-page{position:relative;max-width:520px;margin:0 auto;padding:24px 18px 30px;color:#e9f2f5;background:radial-gradient(circle at 50% 0,#1d4a64 0,#07131d 42%,#04080d 100%);font-family:Georgia,'Times New Roman',serif;box-sizing:border-box;overflow:hidden}
.ny-event-frame{background-image:url('/images/events/newyear/frame-top.webp'),url('/images/events/newyear/frame-bottom.webp'),url('/images/events/newyear/frame-left.webp'),url('/images/events/newyear/frame-right.webp'),radial-gradient(circle at 50% 0,#1d4a64 0,#07131d 42%,#04080d 100%);background-repeat:no-repeat;background-position:top center,bottom center,left center,right center,center;background-size:100% auto,100% auto,auto 100%,auto 100%,cover;padding:58px 38px 60px}
.ny-card,.ny-help,.ny-admin{position:relative;margin:10px 0;padding:16px;background:rgba(4,12,18,.84);border:1px solid #648aa0;box-shadow:inset 0 0 18px #0008,0 4px 12px #0007;text-align:center}
.ny-card img{max-width:100%}.ny-tree-wrap{position:relative;min-height:260px;display:grid;place-items:center}.ny-tree-wrap>img{max-height:300px;object-fit:contain;filter:drop-shadow(0 8px 12px #000)}
.ny-name{margin:8px auto 5px;min-height:48px;display:flex;align-items:center;justify-content:center;padding:8px 28px;background:url('/images/ui/frames/title-crown.webp') center/100% 100% no-repeat;color:#f4e5bd;font-size:20px}
.ny-quality,.ny-desc,.ny-bonuses,.ny-snow,.ny-next,.ny-max,.ny-gain{margin:8px 0;line-height:1.4}.ny-bonuses{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.ny-snow{font-size:18px;color:#d9f4ff}.ny-gain{color:#b9f2c8}.ny-btn,.ny-force,.ny-admin button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 20px;border:0;background:url('/images/events/newyear/button-ice.webp') center/100% 100% no-repeat;color:#f3fbff;text-shadow:0 1px 2px #001622;font:14px Georgia,serif;cursor:pointer}.ny-btn:disabled{filter:grayscale(.7);opacity:.55}.ny-closed{margin:16px 0;text-align:center}.ny-closed p{margin:12px auto 18px;max-width:86%;line-height:1.45}.ny-closed .ny-btn{text-decoration:none}.ny-sound{position:absolute;right:10px;top:10px;z-index:3;border:0;background:#071620bb;color:#dff7ff;border-radius:50%;width:36px;height:36px}
@media(max-width:420px){.st-royal-panel{padding:28px 18px!important}.ve-art-left,.ve-art-right{width:16%;opacity:.75}.ve-art-top,.ve-art-bottom{width:24%;opacity:.8}.ny-event-frame{padding:48px 24px 52px}.ny-tree-wrap{min-height:220px}.ny-tree-wrap>img{max-height:250px}.ny-name{font-size:17px}}
.royal-theme :is(.m39-button,.set-btn,.up-btn):not(.m39-red):not(.settings-exit-button){background-image:url('/images/ui/buttons/black.webp')!important}


/* ========================================================================
   v79 — layout repair: scalable event UI + CSS-only Steel Throne controls
   ======================================================================== */
/* v78 image-button skin is intentionally superseded. Buttons are CSS UI; artwork is decorative only. */
:root{
  --st-control-top:#26343b;
  --st-control-mid:#132029;
  --st-control-bottom:#071016;
  --st-control-border:#9b7a45;
  --st-control-inner:#d6b56b2b;
  --st-control-text:#f3dfb6;
}
.royal-theme :is(.r26-button,.a56-btn,.m39-button,.pet-action-button,.cl-btn,.cf-btn,.kz-btn,.p34-button,.bn-btn,.royal-action,.set-btn,.settings-exit-button,.sh-buy-btn,.up-btn,.grey-btn){
  background-image:none!important;
  background:linear-gradient(180deg,var(--st-control-top) 0%,var(--st-control-mid) 52%,var(--st-control-bottom) 100%)!important;
  border:1px solid var(--st-control-border)!important;
  border-radius:5px!important;
  box-shadow:inset 0 0 0 1px #06090b,inset 0 1px var(--st-control-inner),0 2px 4px #0008!important;
  color:var(--st-control-text)!important;
  text-shadow:0 1px 2px #000!important;
}
.royal-theme :is(.pet-action-primary,.sh-buy-btn){
  background:linear-gradient(180deg,#38502f,#1a3218 55%,#0b1d0c)!important;border-color:#819067!important;
}
.royal-theme :is(.r26-red,.a56-btn.red,.m39-red,.settings-exit-button,.m39-danger){
  background:linear-gradient(180deg,#66251f,#37110f 55%,#190707)!important;border-color:#a6724c!important;
}
.royal-theme :is(.grey-btn,.m39-button[aria-disabled="true"],button:disabled.pet-action-button){
  background:linear-gradient(180deg,#35383a,#1c2022 55%,#0c0f11)!important;border-color:#66645c!important;color:#bdb7aa!important;
}

/* Valentine lives inside the fixed 520px game shell. No viewport-sized cqw drift. */
.ve-event{position:relative;container-type:inline-size;width:100%;max-width:100%;margin:0;overflow:hidden;background:#100b0e;isolation:isolate}
.ve-event.is-inactive{min-height:0!important}
.ve-event>.ve-art{display:none!important}
.ve-event .ve-hero{min-height:300px!important;padding:68px 18px 18px!important;background-position:center 24%!important}
.ve-hero h1{font-size:clamp(34px,8.2cqw,44px)!important;line-height:.93!important;margin:0 0 8px!important}
.ve-hero h1>img{width:34px!important;height:34px!important;margin:0 auto 3px!important}
.ve-hero h1>span{font-size:clamp(33px,8cqw,43px)!important}
.ve-ribbon{max-width:430px!important;margin:0 auto!important;padding:7px 12px!important;font-size:clamp(14px,3.1cqw,17px)!important;line-height:1.2!important}
.ve-intro{margin:10px auto 12px!important;max-width:440px;font-size:clamp(13px,2.8cqw,15px)!important;line-height:1.42!important}
.ve-timer{min-width:290px!important;max-width:430px!important;min-height:54px;margin:0 auto!important;padding:8px 14px!important;gap:10px!important}
.ve-timer>img{width:30px!important;height:30px!important}.ve-timer>span{font-size:13px!important}.ve-timer strong{font-size:19px!important;letter-spacing:.04em!important}

/* Closed event: compact card, no four-piece frame artwork laid over text. */
.ve-closed.st-royal-panel{margin:0!important;padding:24px 22px 22px!important;min-height:0!important;overflow:hidden!important;background:radial-gradient(circle at 50% 0,#5a20243a,transparent 38%),linear-gradient(180deg,#171216,#080b0e 74%,#12090c)!important;border:1px solid #8d6c42!important;border-radius:0!important;box-shadow:inset 0 0 0 1px #21160e,0 4px 12px #0008!important}
.ve-closed.st-royal-panel::after{content:"";position:absolute;inset:6px;pointer-events:none;border:1px solid #5d472c80}
.ve-closed-seal{width:68px!important;height:68px!important;margin:0 auto 4px!important}
.ve-closed.st-royal-panel>h2{display:block!important;min-height:0!important;margin:4px 0 10px!important;padding:0!important;background:none!important;font:400 clamp(24px,5.5cqw,29px)/1.15 Georgia,serif!important;color:#f0d1a7!important}
.ve-closed>p{max-width:440px!important;margin:0 auto 14px!important;font-size:14px!important;line-height:1.5!important;color:#cdbfb1!important}
.ve-closed-date{width:min(330px,88%)!important;margin:12px auto 16px!important;padding:10px 14px!important;gap:3px!important}
.ve-closed-date span,.ve-closed-date small,.ve-closed .ve-closed-note{font-size:12px!important}.ve-closed-date strong{font-size:20px!important}
.ve-closed-actions{display:flex!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important;margin:14px 0!important}.ve-closed-actions .ve-button{min-width:145px!important}

/* Buttons: lore styling from CSS, not raster button images. */
.ve-event .ve-button,.ny-btn,.ny-force,.ny-admin button{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:42px!important;padding:8px 18px!important;border:1px solid #9b7845!important;border-radius:5px!important;
  background-image:none!important;background:linear-gradient(180deg,#3a2e23 0%,#1b1714 48%,#090c0e 100%)!important;
  box-shadow:inset 0 0 0 1px #090806,inset 0 1px #e3bd6e33,0 2px 5px #0009!important;
  color:#f4dfb8!important;text-shadow:0 1px 2px #000!important;font:14px/1.1 Georgia,'Times New Roman',serif!important;
  text-decoration:none!important;cursor:pointer!important;
}
.ve-event .ve-button::before{display:none!important}
.ve-event .ve-button:hover:not(:disabled),.ny-btn:hover:not(:disabled),.ny-force:hover:not(:disabled),.ny-admin button:hover:not(:disabled){filter:brightness(1.1)}
.ve-event .ve-button:active:not(:disabled),.ny-btn:active:not(:disabled){transform:translateY(1px)}
.ve-event .ve-button:disabled,.ny-btn:disabled,.ny-force:disabled,.ny-admin button:disabled{cursor:default!important;opacity:.52!important;filter:grayscale(.35)!important}
.ve-event .ve-button-muted{background:linear-gradient(180deg,#34383a,#1c2224 52%,#0b0f11)!important;border-color:#6d685d!important;color:#cfc6b7!important;filter:none!important}

/* Active-event content uses readable desktop/mobile typography instead of sub-10px cqw text. */
.ve-tabs{gap:5px!important;padding:0 8px!important;margin:0 0 8px!important}.ve-tabs>a{min-height:76px!important;padding:7px 4px!important;font-size:13px!important}.ve-tabs img{width:42px!important;height:40px!important}
.ve-panel{margin:8px 8px 0!important;padding:14px 15px 15px!important}.ve-panel h2{font-size:20px!important;line-height:1.15!important}.ve-panel h2>img{width:28px!important;height:28px!important}.ve-panel>p,.ve-panel p{font-size:13px!important;line-height:1.42!important}
.ve-event .ve-help,.ve-rules p{font-size:12px!important}.ve-form{font-size:14px!important}.ve-panel h3{font-size:17px!important}
.ve-quest{grid-template-columns:42px minmax(0,1fr) 42px 54px 112px!important;gap:7px!important;min-height:66px!important;padding:7px!important;font-size:13px!important}.ve-task-icon{width:38px!important;height:38px!important}.ve-count{font-size:13px!important}.ve-pay{font-size:13px!important}.ve-pay>img{width:18px!important;height:18px!important}.ve-mini-progress{height:7px!important;margin-top:6px!important}
.ve-event .ve-all{width:auto!important;min-width:160px!important;margin:10px auto 0!important}.ve-balance-row small{font-size:12px!important;padding:6px 4px!important}
.ve-shop form{min-height:235px!important;padding:10px!important}.ve-shop>form>img{height:74px!important}.ve-shop h3{font-size:15px!important}.ve-shop .ve-item-desc{min-height:48px!important;font-size:12px!important}.ve-shop small{min-height:18px!important;font-size:11px!important}.ve-shop-balance img{width:22px!important;height:22px!important}.ve-price img{width:18px!important;height:18px!important}
.ve-bottom{min-height:155px!important;padding:40px 21% 24px!important;background-size:cover!important}.ve-bottom>p{font-size:19px!important}.ve-bottom>img{width:21px!important;height:21px!important;margin-top:6px!important}
.game-body-shell:has(.ve-event){padding-bottom:0!important}.game-body-shell>.ve-event{margin-bottom:0!important}

/* New Year keeps event artwork, but controls are CSS and content cannot be crushed by the frame. */
.ny-event-frame{padding:52px 30px 54px!important}.ny-name{background:none!important;border-block:1px solid #87aebd!important;padding:8px 18px!important}.ny-btn,.ny-force,.ny-admin button{background:linear-gradient(180deg,#244454,#102b3a 55%,#071722)!important;border-color:#77a3b6!important;color:#eefbff!important}

@media(max-width:420px){
 .ve-event .ve-hero{min-height:270px!important;padding:58px 12px 15px!important}
 .ve-hero h1{font-size:34px!important}.ve-hero h1>span{font-size:33px!important}.ve-ribbon{font-size:14px!important}.ve-intro{font-size:13px!important;padding-inline:6px}
 .ve-timer{min-width:0!important;width:84%!important}.ve-tabs>a{min-height:72px!important;font-size:12px!important}.ve-panel{margin-inline:5px!important;padding:12px 10px!important}
 .ve-quest{grid-template-columns:40px minmax(0,1fr) 42px 50px!important;grid-template-areas:'icon copy count pay' 'icon action action action'!important;font-size:12px!important}.ve-task-icon{grid-area:icon}.ve-quest-copy{grid-area:copy}.ve-count{grid-area:count}.ve-pay{grid-area:pay}.ve-quest>form,.ve-quest>a.ve-button{grid-area:action}.ve-event .ve-button{min-height:40px!important;font-size:13px!important}
 .ve-shop{grid-template-columns:1fr 1fr!important;gap:7px!important}.ve-shop form{min-height:245px!important}.ve-closed.st-royal-panel{padding:20px 13px 18px!important}.ve-closed>p{font-size:13px!important}.ve-closed-actions .ve-button{min-width:130px!important}.ve-bottom{min-height:145px!important;padding:38px 19% 22px!important}.ve-bottom>p{font-size:17px!important}
 .ny-event-frame{padding:42px 18px 46px!important}
}

/* v85 safe containment: keep page content inside the 520px shell without crushing HUD dropdowns/overlays. */
html,body{overflow-x:hidden!important}
.page-col,.game-body-shell,.game-body-shell>main,.game-body-shell>section,.game-body-shell>article{min-width:0;max-width:100%;box-sizing:border-box}
.game-body-shell img{max-width:100%}
.game-body-shell input,.game-body-shell select,.game-body-shell textarea,.game-body-shell button{box-sizing:border-box}
.game-body-shell p,.game-body-shell a,.game-body-shell span,.game-body-shell strong{overflow-wrap:anywhere}
/* Header dropdowns are overlays and must keep their designed width. */
#player-header .h81-menu{width:190px!important;max-width:190px!important;min-width:190px!important}

/* v86 — main location cards: artwork is clipped inside a complete four-side royal frame. */
.h44{overflow:hidden!important}
.h44-grid{padding:6px!important;gap:4px!important;overflow:visible!important}
.h44-card{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  border:0!important;border-image:none!important;border-radius:0!important;
  background:#03121a!important;box-shadow:0 1px 4px #000b!important;
  padding:8px 9px!important;
}
.h44-card>.h44-scene{
  position:absolute!important;z-index:0!important;inset:7px!important;
  width:calc(100% - 14px)!important;height:calc(100% - 14px)!important;
  max-width:none!important;object-fit:cover!important;object-position:center!important;
  border-radius:1px!important;
}
.h44-card::before{
  content:''!important;position:absolute!important;z-index:1!important;inset:7px!important;
  background:linear-gradient(90deg,rgba(3,16,25,.16) 0%,rgba(3,16,25,.60) 42%,rgba(3,16,25,.92) 78%,rgba(3,16,25,.82) 100%)!important;
  pointer-events:none!important;
}
.h44-card::after{
  content:''!important;position:absolute!important;z-index:6!important;inset:0!important;
  border:0!important;pointer-events:none!important;
  background:url('/images/home/frame.svg') center/100% 100% no-repeat!important;
  filter:drop-shadow(0 1px 1px #000)!important;
}
.h44-card>.h44-icon,.h44-card>.h44-copy,.h44-card>.h44-arrow{position:relative!important;z-index:3!important}
.h44-landscape .h44-scene,.h44-dragon .h44-scene,.h44-pets .h44-scene{width:calc(100% - 14px)!important;object-position:center!important}
.h44-card:focus-visible{outline:2px solid #ffe39a!important;outline-offset:-5px!important}
@media(max-width:420px){
 .h44-grid{padding:4px!important;gap:3px!important}
 .h44-card{padding:7px 7px!important;min-height:86px!important}
 .h44-card>.h44-scene{inset:6px!important;width:calc(100% - 12px)!important;height:calc(100% - 12px)!important}
 .h44-landscape .h44-scene,.h44-dragon .h44-scene,.h44-pets .h44-scene{width:calc(100% - 12px)!important}
}

/* v86 — compact lore plates for kingdom news, security and mail notices. */
.st-alerts{gap:7px!important;margin:8px 9px 10px!important}
.st-alert{
  position:relative!important;isolation:isolate!important;overflow:hidden!important;
  grid-template-columns:40px minmax(0,1fr) auto 15px!important;gap:8px!important;
  min-height:58px!important;padding:8px 11px 8px 9px!important;
  border:1px solid #8b642d!important;border-image:none!important;border-radius:0!important;
  clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px)!important;
  background:linear-gradient(180deg,#0a1921 0%,#041018 48%,#02080d 100%)!important;
  box-shadow:inset 0 0 0 2px #020608,inset 0 0 24px #000c,0 2px 5px #0008!important;
}
.st-alert::before{
  content:''!important;position:absolute!important;z-index:-1!important;inset:3px!important;
  border:1px solid #4f3b20!important;background:linear-gradient(90deg,rgba(174,112,38,.11),transparent 24%,transparent 76%,rgba(174,112,38,.08))!important;
  pointer-events:none!important;
}
.st-alert::after{
  content:''!important;position:absolute!important;left:50%!important;bottom:-4px!important;width:8px!important;height:8px!important;
  transform:translateX(-50%) rotate(45deg)!important;background:#7b130d!important;border:1px solid #e4b45b!important;
  box-shadow:0 0 0 2px #130605,0 0 7px #c9782c55!important;pointer-events:none!important;
}
.st-alert-icon{width:38px!important;height:38px!important;border:1px solid #b08747!important;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,#263945,#0a1319 68%,#020507)!important;box-shadow:inset 0 0 0 2px #030609,0 0 0 1px #362716!important}
.st-alert-icon img{width:23px!important;height:23px!important;object-fit:contain!important}
.st-alert-copy strong{font-size:15px!important;color:#f0cf88!important;letter-spacing:.01em!important;text-shadow:0 1px 2px #000!important}
.st-alert-copy span{font-size:11.5px!important;line-height:1.2!important;color:#d8d1c3!important}
.st-alert-arrow{font-size:26px!important;color:#eec06d!important}
.st-alert-security{border-color:#7a6339!important;background:linear-gradient(180deg,#0b1a23,#06131a 55%,#030a0f)!important}
.st-alert-security .st-alert-icon{border-color:#7f9db3!important;background:radial-gradient(circle at 35% 30%,#28445c,#0a1822 68%,#020507)!important}
.st-alert-security .st-alert-copy strong{color:#d5e9f4!important}
.st-alert-news{grid-template-columns:40px minmax(0,1fr) auto!important;background:linear-gradient(180deg,#271407,#100d09 55%,#060606)!important;border-color:#9f7130!important}
.st-alert-news .st-alert-copy strong{color:#ffd47f!important}.st-alert-mail{background:linear-gradient(180deg,#101a21,#061219 55%,#080908)!important}
@media(max-width:420px){
 .st-alerts{margin:7px 5px 9px!important}
 .st-alert{grid-template-columns:34px minmax(0,1fr) auto 12px!important;gap:6px!important;min-height:54px!important;padding:7px 8px!important}
 .st-alert-news{grid-template-columns:34px minmax(0,1fr) auto!important}
 .st-alert-icon{width:33px!important;height:33px!important}.st-alert-icon img{width:20px!important;height:20px!important}
 .st-alert-copy strong{font-size:13.5px!important}.st-alert-copy span{font-size:10.5px!important}.st-alert-arrow{font-size:22px!important}
}

/* v87 production mirror — home cards and notices */
.h44{border:1px solid #8b6a37!important;border-image:none!important;box-shadow:inset 0 0 0 2px #081117,inset 0 0 0 3px #41301a,0 2px 8px rgba(0,0,0,.6)!important;background:linear-gradient(180deg,#07131a,#031017)!important;overflow:hidden!important}.h44-grid{gap:6px!important;padding:6px!important;background:linear-gradient(180deg,#07131a,#031017)!important}.h44-card{position:relative!important;display:grid!important;grid-template-columns:72px minmax(0,1fr) 16px!important;gap:8px!important;align-items:center!important;min-height:86px!important;padding:8px 10px 8px 8px!important;border:1px solid #b5863d!important;border-radius:3px!important;background:linear-gradient(180deg,#0b1d27,#06131b 62%,#08131a)!important;box-shadow:inset 0 0 0 1px rgba(255,222,159,.08),inset 0 0 0 2px rgba(19,26,30,.82),0 2px 5px rgba(0,0,0,.55)!important;overflow:hidden!important;contain:layout paint!important}.h44-card>.h44-scene{position:absolute!important;inset:1px!important;width:calc(100% - 2px)!important;height:calc(100% - 2px)!important;object-fit:cover!important;object-position:center center!important;border-radius:2px!important;z-index:0!important;opacity:.92!important}.h44-card::before{content:''!important;position:absolute!important;inset:0!important;z-index:1!important;background:linear-gradient(90deg,rgba(4,12,18,.28) 0%,rgba(4,12,18,.58) 24%,rgba(4,12,18,.86) 48%,rgba(4,12,18,.95) 72%,rgba(4,12,18,.92) 100%)!important;pointer-events:none!important}.h44-card::after{content:''!important;position:absolute!important;inset:4px!important;z-index:2!important;border:1px solid rgba(232,188,91,.26)!important;border-radius:2px!important;background:none!important;pointer-events:none!important;filter:none!important}.h44-card>.h44-icon,.h44-card>.h44-copy,.h44-card>.h44-arrow{position:relative!important;z-index:3!important}.h44-icon{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;padding:4px!important;border-radius:50%!important;object-fit:contain!important;background:radial-gradient(circle at 35% 28%,rgba(255,226,165,.10),rgba(7,17,24,.12) 44%,rgba(2,7,11,.42) 70%,rgba(2,7,11,.80) 100%)!important;box-shadow:inset 0 0 0 1px rgba(232,192,103,.38),inset 0 0 0 5px rgba(4,11,15,.72),0 3px 6px rgba(0,0,0,.45)!important;filter:drop-shadow(0 2px 3px rgba(0,0,0,.5))!important}.h44-copy{gap:4px!important;padding:0!important}.h44-copy>strong{font:bold 17px/1.08 Georgia,serif!important;color:#ffe3a0!important;text-shadow:0 2px 3px rgba(0,0,0,.82)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.h44-copy>span{font:12.5px/1.2 Georgia,serif!important;color:#e0e7eb!important;text-shadow:0 1px 2px rgba(0,0,0,.8)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}.h44-arrow{display:grid!important;place-items:center!important;width:16px!important;height:32px!important;font:28px/1 Georgia,serif!important;color:#ffd487!important;text-shadow:0 1px 2px #000!important}.h44-landscape{grid-template-columns:72px minmax(0,1fr) 16px!important}.h44-landscape .h44-scene,.h44-dragon .h44-scene,.h44-pets .h44-scene,.h44-valley .h44-scene{width:calc(100% - 2px)!important;object-position:center center!important}.h44-siege .h44-copy>strong,.h44-valley .h44-copy>strong{font-size:15px!important}.h44-card:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px rgba(255,222,159,.12),inset 0 0 0 2px rgba(19,26,30,.82),0 4px 10px rgba(0,0,0,.55)!important}.st-alerts{gap:7px!important;margin:8px 8px 10px!important}.st-alert{position:relative!important;min-height:58px!important;grid-template-columns:42px minmax(0,1fr) auto 16px!important;gap:9px!important;padding:7px 10px 7px 8px!important;border:1px solid #9a7440!important;border-radius:4px!important;background:linear-gradient(180deg,#0b1d26,#06131a 58%,#071017)!important;box-shadow:inset 0 0 0 1px rgba(248,220,155,.08),inset 0 0 0 2px #081017,0 2px 6px rgba(0,0,0,.52)!important;overflow:hidden!important}.st-alert::before{content:''!important;position:absolute!important;inset:0!important;z-index:-1!important;background:radial-gradient(circle at 0% 50%,rgba(214,155,62,.18),transparent 24%),linear-gradient(90deg,rgba(6,19,27,.96),rgba(6,19,27,.88) 60%,rgba(6,19,27,.72));pointer-events:none}.st-alert::after{content:''!important;position:absolute!important;left:56px!important;right:22px!important;bottom:6px!important;height:1px!important;background:linear-gradient(90deg,rgba(182,129,56,.55),rgba(182,129,56,0));pointer-events:none}.st-alert-icon{width:38px!important;height:38px!important;border:1px solid #a3773a!important;border-radius:50%!important;background:radial-gradient(circle at 35% 28%,#31404a,#111a22 62%,#03080c)!important;box-shadow:inset 0 0 0 2px #071018,0 1px 4px rgba(0,0,0,.55)!important}.st-alert-icon img{width:22px!important;height:22px!important;object-fit:contain!important}.st-alert-copy strong{font-size:14.5px!important;letter-spacing:.01em!important;color:#f3d291!important}.st-alert-copy span{font-size:12px!important;line-height:1.18!important;color:#dce4e8!important}.st-alert-count{min-width:28px!important;height:28px!important;padding:0 7px!important;border-radius:14px!important;background:radial-gradient(circle at 35% 25%,#ca4029,#710d09 68%,#370000)!important;border:1px solid #e0a558!important;box-shadow:inset 0 0 0 1px rgba(46,0,0,.7),0 0 10px rgba(255,91,47,.28)!important;color:#fff1cf!important;font-size:12.5px!important}.st-alert-arrow{font-size:24px!important;color:#f3cb78!important;text-shadow:0 1px 3px rgba(0,0,0,.85)!important}.st-alert-news{background:linear-gradient(180deg,#26130a,#11181f 56%,#071017)!important}.st-alert-news::before{background:radial-gradient(circle at 0% 50%,rgba(214,88,40,.20),transparent 25%),linear-gradient(90deg,rgba(31,13,7,.97),rgba(10,18,24,.92) 58%,rgba(10,18,24,.78))!important}.st-alert-news .st-alert-copy strong{color:#ffd788!important}.st-alert-security{background:linear-gradient(180deg,#0a1821,#06141b 60%,#071017)!important}.st-alert-security .st-alert-copy strong{color:#d4e7f8!important}.st-alert-mail{background:linear-gradient(180deg,#0f1a22,#07131a 60%,#100b08)!important}@media(max-width:420px){.h44-grid{gap:5px!important;padding:5px!important}.h44-card{grid-template-columns:64px minmax(0,1fr) 14px!important;min-height:82px!important;padding:7px 8px 7px 7px!important;gap:7px!important}.h44-icon{width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important}.h44-copy>strong{font-size:15px!important}.h44-copy>span{font-size:11px!important}.h44-arrow{width:14px!important;height:28px!important;font-size:25px!important}.h44-landscape{grid-template-columns:64px minmax(0,1fr) 14px!important}.st-alert{grid-template-columns:36px minmax(0,1fr) auto 12px!important;gap:7px!important;padding:6px 8px 6px 6px!important;min-height:54px!important}.st-alert::after{left:48px!important}.st-alert-icon{width:34px!important;height:34px!important}.st-alert-icon img{width:20px!important;height:20px!important}.st-alert-copy strong{font-size:13.2px!important}.st-alert-copy span{font-size:10.8px!important}}
