/* The layout standard for every desktop style (Sergey, 14 Oct 2026): one geometry, styles swap only
   paint. Taken from Annals on the Classic layout, which Sergey judged the neatest. Everything here can
   move or resize something (display, size, spacing, borders' widths, fonts); a style file
   (lions-annals.css, lions-obsidian-skin.css…) may set only colours, backgrounds, frames' paint,
   shadows, outlines, masks and absolutely positioned decorations.
   game/tests/theme_geometry_browser.js proves it: every element box identical in every style. */
/* The page itself: no city, no vignette — the leather of the cover, a shade darker than the panels. */
body.pc.layout-standard :is(input,select,.language-select){border-width:1px;border-style:solid}
/* Panels: paper a shade lighter, a hairline and an inner rule — like a printed box. */
body.pc.layout-standard .screen{border-width:1px;border-style:solid}
body.pc.layout-standard .shead h1{font-family:var(--font-display);font-weight:600;letter-spacing:-.01em}
body.pc.layout-standard :is(.pcard,.card,.cv-card){border-width:1px;border-style:solid}
/* Navigation: a printed index — engraved mark and a word, the current page underlined in cinnabar. */
body.pc.layout-standard .nav{border-width:0;border-style:none;border-right-width:1px;border-right-style:solid;padding:0 10px 0 0}
body.pc.layout-standard .nav button{border-width:0;border-style:none}
body.pc.layout-standard .nav button+button{border-top-width:1px;border-top-style:solid}
body.pc.layout-standard .nav button::after{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard .nav button.active{border-width:0;border-style:none}
body.pc.layout-standard :is(#helpbtn,#settingsbtn){border-width:1px;border-style:solid}
/* Reserve Help, Settings, Feedback and X below navigation, including short desktop windows. */
/* Theme backgrounds stop at the buttons; the 10px gutter reveals the page before the divider. */
body.pc.layout-standard .shell-sidebar .nav{max-height:calc(100% - 284px);background-clip:content-box}
body.pc.layout-standard .sidebar-social{display:grid;align-self:center;width:44px;height:44px;border-width:1px;border-style:solid}
body.pc.layout-standard .settings-social{display:none}
@media(min-width:1000px) and (max-height:760px){
 body.pc.layout-standard .shell-sidebar .nav button{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center;padding:4px 6px;gap:2px}
 body.pc.layout-standard .shell-sidebar .nav button[data-go] img.ng{width:36px;height:100%;max-height:36px;min-height:0;object-fit:contain}
 body.pc.layout-standard .shell-sidebar .nav button::after{min-height:0;line-height:18px;font-size:15px}
}
/* HUD: one printed running head across the page. */
body.pc.layout-standard .top .center,body.pc.layout-standard .hud-panel{border-width:0;border-style:none}
body.pc.layout-standard .hud-panel{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard .hud-unified :is(.shell-profile-details,.cons .c,.wallet .w){border-width:0;border-style:none}
body.pc.layout-standard .hud-unified :is(.cons .c,.wallet .w){border-left-width:1px;border-left-style:solid}
body.pc.layout-standard .shell-profile-name{font-family:var(--font-display)}
body.pc.layout-standard :is(.top .xp,.hud-resource-meter){border-width:0;border-style:none}
body.pc.layout-standard .hud-unified #tb-lvl{font-family:var(--font-display);font-weight:600}
/* Buttons: primary in cinnabar, secondary as an inked outline. */
body.pc.layout-standard :is(.bbtn,.btn,.primary,.gold-btn,#goBtn){border-width:1px;border-style:solid}
body.pc.layout-standard .mode{border-width:1px;border-style:solid}
/* Home has no frame of its own: its panels are the frame (no stray outline around them). */
body.pc.layout-standard #home{border-width:0;border-style:none}
body.pc.layout-standard #home :is(.home-panel,.home-hero,.home-chest,.home-tournament,.home-wheel,.home-daily){border-width:1px;border-style:solid}
body.pc.layout-standard #home .home-eyebrow{letter-spacing:.14em;font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #home .home-panel-heading h2{font-size:20px}
body.pc.layout-standard #home .home-tournament-section-heading h2{font:600 18px var(--font-display);letter-spacing:.06em;font-variant-caps:all-small-caps}
body.pc.layout-standard #home .home-rank{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #home .home-standing{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard #home .home-standing.is-you{border-width:0;border-style:none}
body.pc.layout-standard #home .home-text-link{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard #home .home-defense-entry{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard #home .home-market-bar{border-top-width:1px;border-top-style:solid}
body.pc.layout-standard #home #shopbal{font-family:var(--font-display)}
body.pc.layout-standard #home .home-weekly{border-width:1px;border-style:solid}
body.pc.layout-standard #home :is(.home-primary,#shopcard,.claimable .home-text-button){border-width:1px;border-style:solid}
body.pc.layout-standard #home :is(.home-secondary,.home-text-button,#home-tournament-refresh,.ch-buy){border-width:1px;border-style:solid}
body.pc.layout-standard #home .home-status{border-width:1px;border-style:solid;font-variant-caps:all-small-caps;letter-spacing:.06em}
/* Daily tasks: seven plain cells, today ruled in cinnabar. */
body.pc.layout-standard #home .dqb{border-width:1px;border-style:solid}
body.pc.layout-standard #home .dqtip{border-width:1px;border-style:solid}
/* Wheel: the panel is paper; the dial waits for its own engraved artwork. */
body.pc.layout-standard #home .home-wheel .spinbtn{border-width:1px;border-style:solid;font-family:var(--font-display);font-weight:600;letter-spacing:.02em}
/* ── Deck and workshop: paper tray, inked tabs ─────────────────────────────── */
body.pc.layout-standard .work{border-top-width:1px;border-top-style:solid}
body.pc.layout-standard .shell-reserve{font-family:var(--font-display)}
body.pc.layout-standard .shell-reserve small{font-family:var(--font-ui)}
body.pc.layout-standard .manabar{border-width:1px;border-style:solid}
body.pc.layout-standard #deck .manabar .ml{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard .manabar .mtrack{border-width:0;border-style:none}
body.pc.layout-standard .ucard.empty{border-width:1px;border-style:dashed}
/* ── Tournament: a printed ledger ─────────────────────────────────────────── */
body.pc.layout-standard .tour-eyebrow{font-family:var(--font-display);font-weight:600;letter-spacing:.16em}
body.pc.layout-standard #league .tour-shead h1{font-weight:600}
body.pc.layout-standard #league .tourmini-time b{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #league :is(.tour-board,.tour-panel,.tour-market){border-width:1px;border-style:solid}
body.pc.layout-standard #league .tourchrome{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard #league .ttab{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #league .ttab.on{border-bottom-width:2px;border-bottom-style:solid}
body.pc.layout-standard #league .tour-table-heading{border-bottom-width:1px;border-bottom-style:solid;font-variant-caps:all-small-caps;letter-spacing:.06em;font-size:16px}
body.pc.layout-standard #league .rank{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #league .ava{border-width:1px;border-style:solid}
body.pc.layout-standard #league .reward{border-width:1px;border-style:solid}
body.pc.layout-standard #league .atk{border-width:1px;border-style:solid;font-weight:600}
body.pc.layout-standard #league .lghead{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard #league .lgleague{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #league .tour-my-stats b{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #league .tour-primary{border-width:1px;border-style:solid}
body.pc.layout-standard #league .tour-secondary{border-width:1px;border-style:solid}
body.pc.layout-standard #league .srvbtn{border-width:1px;border-style:solid}
/* ── Profile: a title page and plain tables ───────────────────────────────── */
body.pc.layout-standard #profile .profile-brand{font-weight:600;letter-spacing:.16em}
body.pc.layout-standard #profile .avatar{border-width:1px;border-style:solid}
body.pc.layout-standard #profile h2{font-weight:600}
body.pc.layout-standard #profile .ptabs{border-bottom-width:1px;border-bottom-style:solid}
body.pc.layout-standard #profile .ptab{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #profile .ptab.on{border-bottom-width:2px;border-bottom-style:solid}
body.pc.layout-standard #profile .profile-panel{border-width:1px;border-style:solid}
body.pc.layout-standard #profile .profile-panel-heading{border-top-width:1px;border-top-style:solid}
body.pc.layout-standard #profile .ptrack{border-width:0;border-style:none}
body.pc.layout-standard #profile :is(.profile-stat,.invcell,.invchest){border-width:1px;border-style:solid}
body.pc.layout-standard #profile .profile-empty-chests{border-width:1px;border-style:dashed}
body.pc.layout-standard #profile :is(.allocbtn,.invcell .iuse,.invchest .co){border-width:1px;border-style:solid}
body.pc.layout-standard #profile :is(.nameedit,.resetbtn,.theme-choice,.settings-action){border-width:1px;border-style:solid}
body.pc.layout-standard #profile :is(.profile-diagnostics){border-top-width:1px;border-top-style:solid}
/* ── Campaign: the land map (Crypto.com NFT land) is a coloured plate tipped into the book ── */
body.pc.layout-standard #campaign,body.pc.layout-standard #campaign.authored-map{border-width:1px;border-style:solid}
body.pc.layout-standard #campaign .campaign-panel{border-right-width:1px;border-right-style:solid}
body.pc.layout-standard #campaign .campaign-journey{border-top-width:1px;border-top-style:solid}
body.pc.layout-standard #campaign .cnum{font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #campaign .cname{font-weight:600}
body.pc.layout-standard #campaign #campaign-next-title{font-family:var(--font-display);letter-spacing:.14em}
body.pc.layout-standard #campaign #campaign-continue{border-width:1px;border-style:solid}
body.pc.layout-standard #campaign .mapwrap{padding:18px}
/* Tournament sidebar market box. */
body.pc.layout-standard #league .tour-market h2{font-weight:600}
/* ── Shop and other sheets: a loose page laid on top ──────────────────────── */
body.pc.layout-standard :is(#shopsheet,#tour-reward-sheet,#tourstatussheet,#sheet)>.card{border-width:1px;border-style:solid}
body.pc.layout-standard #shopsheet .shoptab{border-width:1px;border-style:solid;font-family:var(--font-display);font-weight:600}
body.pc.layout-standard #shopsheet :is(.shopcell,.shopit){border-width:1px;border-style:solid}
body.pc.layout-standard #shopsheet .si-b{border-width:1px;border-style:solid}
body.pc.layout-standard #shopsheet .shopbal2{border-width:1px;border-style:solid}
body.pc.layout-standard #shopsheet>.card>.actbtn{border-width:1px;border-style:solid}
/* Battle result: a printed slip laid over the dark field. */
body.pc.layout-standard #battle :is(.res-title,.res-xp){border-width:1px;border-style:solid}
/* The verdict is stamped, not lit: no bloom animation, gold for a win, oxblood-red for a loss. */
body.pc.layout-standard #battle .result .res-title .big2{font-weight:600;letter-spacing:.08em}
body.pc.layout-standard #battle .res-tap{border-width:1px;border-style:solid}
body.pc.layout-standard #battle .result-heading p{font-family:var(--font-display);letter-spacing:.16em}
body.pc.layout-standard #battle .result-heading h2{font-weight:600}
body.pc.layout-standard #battle .result-rewards{border-right-width:1px;border-right-style:solid}
body.pc.layout-standard #battle .xprow{border-width:1px;border-style:solid}
body.pc.layout-standard #battle .res-xp>.bbtn{border-width:1px;border-style:solid}
/* Corner fleurons on the outer frames only (screens, Home's three panels, sheets, the result slip):
   18px at 2px from the edge, inside the content padding. Inner panels keep just the double fillet.
   Checked by script: no text or control under a corner at 1366–2560 px. The Deck title sat closest
   to the frame, so it steps in by the corner's width. */
body.pc.layout-standard #deck .shead h1{margin-left:12px}
body.pc.layout-standard :is(.screen:not(#home),#home .home-tournament,#home .home-daily,#home .home-wheel,#home .home-chests,
 :is(#shopsheet,#tour-reward-sheet,#tourstatussheet,#sheet)>.card,#battle .res-title,#battle .res-xp){position:relative}
/* The page is framed like a cover: a roll of paws and leaves above the running head and below the screens. */
body.pc.layout-standard .phone{position:relative}
/* Running head: a gold fillet under it. */
body.pc.layout-standard .hud-panel{border-bottom-width:1px;border-bottom-style:solid}
/* Level roundel: the stamped medallion with the number inside. */
body.pc.layout-standard .hud-unified #tb-lvl{position:relative}
/* Portrait frames: a gold fillet, a band of leather, a faint inner fillet. */
body.pc.layout-standard :is(.shell-avatar,#profile .avatar){border-width:0;border-style:none}
/* Navigation: gold stamps; the open page sits on an oxblood label with a double fillet. */
body.pc.layout-standard .nav button+button{border-top-width:1px;border-top-style:solid}
body.pc.layout-standard .nav{border-right-width:1px;border-right-style:solid}
/* Spine labels: panel titles stamped in gold on oxblood leather. */
body.pc.layout-standard :is(#home .home-panel-heading h2,#profile .profile-panel>h2){display:inline-block;margin:0;padding:5px 16px 6px;border-width:1px;border-style:solid;font:600 19px/1.15 var(--font-display);letter-spacing:.06em;font-variant-caps:all-small-caps}
body.pc.layout-standard #profile .profile-panel>h2{margin-bottom:16px}
/* Small titles and eyebrows in gold capitals between ivy leaves. */
body.pc.layout-standard :is(#home .home-eyebrow,.tour-eyebrow,#profile .profile-brand,#battle .result-heading p,#campaign #campaign-next-title){letter-spacing:.16em}
body.pc.layout-standard :is(#home .home-eyebrow,.tour-eyebrow,#profile .profile-brand)::before,
body.pc.layout-standard :is(#home .home-eyebrow,.tour-eyebrow,#profile .profile-brand)::after{content:'';display:inline-block;width:.95em;height:.95em;vertical-align:-.12em}
body.pc.layout-standard :is(#home .home-eyebrow,.tour-eyebrow,#profile .profile-brand)::before{margin-right:.55em;transform:rotate(-90deg)}
body.pc.layout-standard :is(#home .home-eyebrow,.tour-eyebrow,#profile .profile-brand)::after{margin-left:.55em;transform:rotate(90deg)}
/* Divider with the lion roundel under the tournament heading on Home. */
body.pc.layout-standard #home .home-tournament-body::before{content:'';grid-column:1/-1;display:block;height:24px;margin:-8px 0 2px}
/* Buttons that act are labels too: oxblood, gold edge, a fine inner fillet, book capitals. */
body.pc.layout-standard :is(.bbtn,.btn,.primary,.gold-btn,#goBtn,#home .home-primary,#home #shopcard,#home .claimable .home-text-button,
 #home .home-wheel .spinbtn:not(:disabled),#league .tour-primary,#profile .settings-action.save-action,#campaign #campaign-continue,#battle .res-tap,#battle .res-xp>.bbtn){font-family:var(--font-display);font-weight:600;letter-spacing:.03em}
/* Style switcher swatch in Settings. */
.visual-style-preview-annals .visual-style-preview-card{border-width:1px;border-style:solid}
/* Empty workshop illustration and text tracks share lions-workshop-stable.css geometry. */
