/* ==================================================================================================================
   Ascendance LC - "Forge" look for the whole site (21-22 Oct 2026; owner: the site looked "too AI sloppy").
   Loaded after ascendance.css on every page (layout.php). The hero video stays.
   Art in ../img/forge/ from _tools/web/forge/make_forge_art.py: the game's own steel window frame, title plate, steel
   bar, buttons, plaques and class wax seals (intro_common.tex), plus drawn stone / parchment / cloth / wax / ink /
   grain textures and two SVG edges.
   Frames are CSS border-images pushed outwards (border-image-outset), so the steel's inner edge sits on the box edge
   and the box's own background fills up to it. Numbers are set in Palatino (Cinzel's and Marcellus' 1 read like I / l).
   Parts: 1 page + shared parts, 2 home, 3 inner pages, 4 donate, 5 modals, 6 small screens.
   ================================================================================================================== */

/* ================================================================== 1. page + shared parts */
html body.asc { background: url('../img/forge/mottle.png') 0 0 / 1400px, url('../img/forge/stone.jpg') 0 0 / 512px, #0e0d0c; }
body.asc::after { content: ''; position: fixed; inset: 0; z-index: 400; pointer-events: none;
    background: url('../img/forge/grain.png') 0 0 / 160px; opacity: .085; mix-blend-mode: overlay; }
body.asc .cls, body.asc .rlm, body.asc .ftr, body.asc .tpl, body.asc .lng, body.asc .go, body.asc .pg { background: transparent; }

/* small labels: light text on a dry ink stroke */
body.asc .asc-eyebrow { display: inline-block; padding: 9px 22px 8px; margin-left: -10px;
    background: url('../img/forge/ink.png') center / 100% 100% no-repeat; color: #e3c27c; letter-spacing: .24em; text-shadow: 0 1px 0 #000; }

/* buttons: the game's gold and steel buttons */
body.asc .asc-btn { border-radius: 0; background: none; box-shadow: none; transform: none; border-style: solid; border-width: 15px 18px;
    border-image: url('../img/forge/btn_steel.png') 15 18 fill / 15px 18px stretch; padding: 1px 12px; min-height: 0;
    color: #ece4d3; font-weight: 600; letter-spacing: .04em; text-shadow: 0 1px 0 #000; transition: filter .2s; }
body.asc .asc-btn:hover { transform: none; color: #fff6e2; filter: brightness(1.25); }
body.asc .asc-btn--gold { border-image-source: url('../img/forge/btn_gold.png'); color: #2a1705; text-shadow: 0 1px 0 rgba(255, 228, 170, .55); }
body.asc .asc-btn--gold:hover { border-image-source: url('../img/forge/btn_gold_hi.png'); color: #1a0e02; filter: brightness(1.08) drop-shadow(0 0 14px rgba(240, 180, 90, .35)); }
body.asc .asc-btn--sm { border-width: 12px 15px; border-image-width: 12px 15px; padding: 0 8px; font-size: 12.5px; }
body.asc .nv .asc-btn--sm { border-width: 10px 14px; border-image-width: 10px 14px; padding: 0 12px; font-size: 13px; line-height: 18px; }
body.asc .asc-btn .ico { opacity: .85; }
body.asc .asc-btn--wide { display: flex; justify-content: center; }

/* section heads: a carved title, a quiet book-like line, an engraved rule under it */
body.asc .sh { position: relative; margin-bottom: 58px; padding: 10px 0 0;
    background: radial-gradient(ellipse 60% 75% at 50% 45%, rgba(214, 140, 60, .075), transparent 72%); }
body.asc .sh__orn { width: 150px; height: 31px; margin: 0 auto 22px; display: block; position: relative; background: none; box-sizing: border-box;
    border-style: solid; border-width: 0 38px; border-image: url('../img/forge/plate.png') 0 62 fill / 0 38px stretch; }
body.asc .sh__orn::after { content: none; }
body.asc .sh__title { color: #ebe2cf; letter-spacing: .02em; text-shadow: 0 -1px 0 rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 236, 200, .10), 0 6px 22px rgba(0, 0, 0, .7); }
body.asc .sh__text { font-family: 'Marcellus', var(--serif); font-size: 16.5px; line-height: 1.65; color: #b3a891; }
body.asc .sh::after { content: ''; display: block; width: 180px; height: 2px; margin: 26px auto 0;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .85) 20%, rgba(0, 0, 0, .85) 80%, transparent) 0 0 / 100% 1px no-repeat,
                linear-gradient(90deg, transparent, rgba(214, 171, 92, .35) 20%, rgba(214, 171, 92, .35) 80%, transparent) 0 1px / 100% 1px no-repeat; }

/* navigation: a stone bar with a steel edge; the menus are small steel windows */
body.asc .nv, body.asc .nv.is-solid, body.asc.asc-inner .nv { background: #0f0e0d url('../img/forge/stone.jpg') 0 -40px / 512px; backdrop-filter: none;
    box-shadow: 0 1px 0 #6d6b70, 0 2px 0 #1a1a1c, 0 3px 0 rgba(255, 255, 255, .05), 0 14px 30px rgba(0, 0, 0, .55); }
body.asc .nv__drop { border: 0; border-radius: 10px; padding: 12px 10px; background: rgba(10, 9, 9, .96) url('../img/forge/stone.jpg') 0 0 / 512px;
    background-blend-mode: multiply; box-shadow: 0 24px 50px rgba(0, 0, 0, .7);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 26px 28px / 13px 6px 8px 6px stretch; }
body.asc .nv__drop a { border-radius: 0; }
body.asc .nv__drop a:hover { background: linear-gradient(90deg, rgba(214, 171, 92, .14), transparent); }
body.asc .nv__drop li + li a { box-shadow: inset 0 1px 0 rgba(0, 0, 0, .6), inset 0 2px 0 rgba(255, 255, 255, .03); }
body.asc .nv__cash { border-bottom: 1px solid rgba(0, 0, 0, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
body.asc .nv__lang > button, body.asc .nv__acc > button { border-radius: 2px; }
body.asc .nv__avatar { background: url('../img/forge/wax.png') center / 150% no-repeat; color: #f3d3c4; }

/* the Discord logo in the header (22 Oct 2026): Discord's blurple in a steel ring, always visible */
body.asc .nv__discord { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: radial-gradient(circle at 40% 30%, #7b86ff, #5865f2 55%, #3c45b8);
    box-shadow: 0 0 0 1px #000, 0 0 0 2px #8a8990, 0 0 0 3px #1b1a1e, 0 4px 10px rgba(0, 0, 0, .5); transition: transform .2s, filter .2s, box-shadow .2s; }
body.asc .nv__discord svg { width: 20px; height: 20px; fill: #fff; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
body.asc .nv__discord:hover { transform: translateY(-1px); filter: brightness(1.12);
    box-shadow: 0 0 0 1px #000, 0 0 0 2px #d9b064, 0 0 0 3px #1b1a1e, 0 0 16px rgba(88, 101, 242, .55); }
@media (max-width: 400px) { body.asc .nv__discord { width: 32px; height: 32px; } body.asc .nv__discord svg { width: 18px; height: 18px; } }

/* footer: stone with a broken edge on top */
body.asc .ft { position: relative; border-top: 0; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('../img/forge/stone.jpg') 0 0 / 512px, #0a0908;
    box-shadow: inset 0 30px 40px rgba(0, 0, 0, .45); }
body.asc .ft::before { content: ''; position: absolute; left: 0; right: 0; top: -40px; height: 42px; pointer-events: none;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url('../img/forge/stone.jpg') 0 0 / 512px, #0a0908;
    -webkit-mask: url('../img/forge/edge.svg') 300px 0 / 1200px 42px repeat-x; mask: url('../img/forge/edge.svg') 300px 0 / 1200px 42px repeat-x; }
body.asc .ft__bottom { border-top: 1px solid rgba(0, 0, 0, .8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }

/* the shared numbers style (hero stats, account overview, cash) */
body.asc .fg-num, body.asc .hxl__i b, body.asc .ov__stat b {
    font: 400 50px/.9 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; letter-spacing: .01em; font-variant-numeric: lining-nums tabular-nums;
    background: linear-gradient(180deg, #fff7df 0%, #f3d996 42%, #c58f43 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .85)) drop-shadow(0 0 18px rgba(0, 0, 0, .5)); }

/* ================================================================== 2. home */
.asc-home main { counter-reset: fgch; }
.asc-home .sh { counter-increment: fgch; }
.asc-home .sh__orn { width: auto; min-width: 150px; display: inline-block; text-align: center; padding: 0 6px;
    font: 700 15px/31px var(--serif); letter-spacing: .24em; color: #e9cf92; text-shadow: 0 1px 0 #000, 0 0 8px rgba(0, 0, 0, .8); }
.asc-home .sh__orn::before { content: counter(fgch, upper-roman); }
.asc-home .ftr__bg { display: none; }

/* hero (video kept) */
.asc-home .hx::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 58px; z-index: 3; pointer-events: none;
    background: url('../img/forge/stone.jpg') 0 0 / 512px, #0e0d0c;
    -webkit-mask: url('../img/forge/edge.svg') 0 0 / 1200px 58px repeat-x; mask: url('../img/forge/edge.svg') 0 0 / 1200px 58px repeat-x; }
.asc-home .hx__shade { background:
    linear-gradient(180deg, rgba(8, 7, 6, .55), transparent 22%, transparent 55%, rgba(10, 9, 8, .85) 92%),
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 0, 0, .25), rgba(0, 0, 0, .62)); }
.asc-home .hx__down, .asc-home .asc-pause { z-index: 4; }
.asc-home .hx__down { bottom: 64px; }
.asc-home .asc-pause { bottom: 66px; border-radius: 50%; }
.asc-home .hx { padding-bottom: 120px; }
.asc-home .hx__mark img { display: none; }
.asc-home .hx__mark span { padding: 9px 26px 8px; background: url('../img/forge/ink.png') center / 100% 100% no-repeat; color: #e3c27c; }
.asc-home .hx__ctas { margin-top: 30px; }

/* the launch countdown = a steel window with its title plate */
.asc-home .soon { border: 0; border-radius: 12px; max-width: 540px; padding: 26px 26px 18px; margin-top: 18px;
    background: rgba(10, 9, 9, .66); backdrop-filter: blur(1.5px); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; }
.asc-home .soon::before { content: ''; inset: 0; border-radius: inherit; animation: none; opacity: .5; background: url('../img/forge/stone.jpg') 0 0 / 512px; mix-blend-mode: soft-light; }
.asc-home .soon__head { position: static; }
.asc-home .soon__badge { position: absolute; left: 50%; top: -33px; transform: translateX(-50%); z-index: 2; white-space: nowrap;
    box-sizing: border-box; height: 34px; min-width: 210px; padding: 0 8px; border-radius: 0; animation: none; box-shadow: none; background: none;
    border-style: solid; border-width: 0 42px; border-image: url('../img/forge/plate.png') 0 62 fill / 0 42px stretch;
    font: 600 12px/34px var(--serif); letter-spacing: .22em; color: #e8dec8; text-shadow: 0 1px 0 #000; }
.asc-home .soon__title { margin-top: 2px; font-size: clamp(20px, 2.6vw, 26px); color: #f0dba6; }
.asc-home .soon__title small { font-family: var(--sans); }
.asc-home .soon__count { gap: 6px; max-width: 400px; }
.asc-home .soon__count div { border-radius: 0; background: none; padding: 1px 0 0; border-style: solid; border-width: 9px 11px;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 9px 11px stretch; }
.asc-home .soon__count b { font-size: 26px; color: #f1d58f; text-shadow: 0 1px 0 #000, 0 0 12px rgba(240, 180, 90, .3); }
.asc-home .soon__count span { margin-top: 3px; color: #9d958a; letter-spacing: .16em; }
.asc-home .soon__ctas { gap: 8px; margin-top: 4px; }
.asc-home .soon__gift { border-radius: 3px !important; }
.asc-home .hx:has(.soon) { padding-bottom: 120px; }

/* realm stats (owner's pick r1): gold numbers on the video, the server rates once */
.asc-home .hxl { position: relative; isolation: isolate; display: flex; align-items: flex-start; justify-content: center; margin: 44px auto 0; }
.asc-home .hxl::before { content: ''; position: absolute; z-index: -1; inset: -34px -90px -26px; pointer-events: none;
    background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(4, 4, 5, .62), rgba(4, 4, 5, .3) 55%, transparent 75%); }
.asc-home .hxl__i { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 0 26px; }
.asc-home .hxl__i span { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--sans); letter-spacing: .26em;
    text-transform: uppercase; color: #d6ccb9; text-shadow: 0 1px 6px rgba(0, 0, 0, .95); white-space: nowrap; }
.asc-home .hxl__i span i { width: 7px; height: 7px; border-radius: 50%; background: #74e39a; box-shadow: 0 0 8px #74e39a; animation: hxlLive 2.4s ease-in-out infinite; }
.asc-home .hxl__i span i.is-down { background: #e2644f; box-shadow: 0 0 8px #e2644f; animation: none; }
@keyframes hxlLive { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.asc-home .hxl__i small { margin-top: -2px; font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #9f9684; white-space: nowrap; text-shadow: 0 1px 6px #000; }
/* six stats (22 Oct: + accounts, characters, max level): wider than the hero's text column, so the row centres on the page */
@media (min-width: 1150px) {
    .asc-home .hxl { width: max-content; max-width: calc(100vw - 32px); position: relative; left: 50%; transform: translateX(-50%); margin-left: 0; margin-right: 0; }
    .asc-home .hxl__i { padding: 0 20px; }
    .asc-home .hxl__sep { margin-left: 14px; margin-right: 14px; }
}
/* the rates as words ("Medium rates", owner 22 Oct): smaller than the numbers, the same box height so the labels line up */
body.asc .hxl__i--word b { font-size: 29px; line-height: 45px; height: 45px; white-space: nowrap; letter-spacing: .02em; }
.asc-home .hxl__sep { align-self: stretch; width: 1px; margin: 2px 22px 18px; background: linear-gradient(180deg, transparent, rgba(241, 216, 150, .55) 30%, rgba(241, 216, 150, .55) 70%, transparent); }

/* classes: wax seals over a steel window */
.asc-home .cls { padding-top: 110px; }
.asc-home .cls__grid { grid-template-columns: 1fr 1.05fr; grid-template-rows: auto minmax(520px, 1fr); border: 0; border-radius: 14px; overflow: visible;
    background: rgba(8, 7, 7, .55); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 60px rgba(0, 0, 0, .6);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 34px 36px / 19px 9px 11px 8px stretch; }
.asc-home .cls__list { grid-column: 1 / -1; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 4px 10px; padding: 26px 20px 18px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25), transparent); border: 0; border-bottom: 1px solid rgba(0, 0, 0, .8);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .05); border-radius: 14px 14px 0 0; }
.asc-home .cls__tab { flex-direction: column; gap: 4px; width: 104px; padding: 0 0 6px; border: 0; border-radius: 0; background: none !important;
    font: 400 14px/1.1 var(--serif); color: #a39a8a; text-align: center; justify-content: flex-start; }
.asc-home .cls__tab i { width: 90px; height: 90px; border: 0; border-radius: 0; filter: none; flex: none;
    background-image: url('../img/forge/seals.png') !important; background-size: 700% 200%; background-repeat: no-repeat; background-position-y: 0;
    transition: transform .25s; }
.asc-home .cls__tab[data-k="titan"] i { background-position-x: 0; }
.asc-home .cls__tab[data-k="knight"] i { background-position-x: 16.667%; }
.asc-home .cls__tab[data-k="healer"] i { background-position-x: 33.333%; }
.asc-home .cls__tab[data-k="mage"] i { background-position-x: 50%; }
.asc-home .cls__tab[data-k="rogue"] i { background-position-x: 66.667%; }
.asc-home .cls__tab[data-k="sorcerer"] i { background-position-x: 83.333%; }
.asc-home .cls__tab[data-k="nightshadow"] i { background-position-x: 100%; }
.asc-home .cls__tab:hover { color: #e6dcc7; }
.asc-home .cls__tab:hover i { transform: translateY(-3px); }
.asc-home .cls__tab.is-on { color: #f1d58f; text-shadow: 0 0 12px rgba(230, 120, 60, .45); }
.asc-home .cls__tab.is-on i { background-position-y: 100%; transform: scale(1.06); }
.asc-home .cls__art { border-radius: 0 0 0 12px; }
.asc-home .cls__art::after { background: linear-gradient(90deg, transparent 62%, rgba(10, 9, 8, .96)), linear-gradient(0deg, rgba(8, 7, 6, .7), transparent 35%); }
.asc-home .cls__info { padding: 40px 44px 34px; }
.asc-home .cls__role { color: #f0a070; }
.asc-home .cls__name { text-shadow: 0 -1px 0 #000, 0 1px 0 rgba(255, 236, 200, .12), 0 8px 30px rgba(0, 0, 0, .8); }
.asc-home .cls__facts { border-top: 1px solid rgba(0, 0, 0, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
.asc-home .cls__facts li { border-bottom: 1px solid rgba(0, 0, 0, .8); box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
.asc-home .cls__paths span { border-radius: 0; background: none; padding: 1px 6px 0; border-style: solid; border-width: 9px 12px;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 9px 12px stretch; color: #f1d58f; }

/* realms: hanging war banners */
.asc-home .rlm__cards { gap: 40px; padding-top: 22px; }
.asc-home .rlm__card { height: 540px; border: 0; border-radius: 0; overflow: visible; isolation: isolate; transform-origin: 50% 0;
    transition: transform .6s cubic-bezier(.3, 1.4, .5, 1);
    filter: drop-shadow(1px 0 0 #7a5b26) drop-shadow(-1px 0 0 #7a5b26) drop-shadow(0 1px 0 #7a5b26) drop-shadow(0 18px 22px rgba(0, 0, 0, .65)); }
.asc-home .rlm__card:hover { transform: rotate(-.8deg); }
.asc-home .rlm__img, .asc-home .rlm__card::after { clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 52px), 0 100%); }
.asc-home .rlm__img { top: 10px; box-shadow: inset 0 0 0 3px rgba(14, 10, 6, .9), inset 0 0 0 4px rgba(214, 171, 92, .45), inset 0 0 70px rgba(0, 0, 0, .55); }
.asc-home .rlm__img::after { content: ''; position: absolute; inset: 0; background: url('../img/forge/cloth.png') 0 0 / 128px; mix-blend-mode: overlay; opacity: .55; }
.asc-home .rlm__card:hover .rlm__img { transform: none; }
.asc-home .rlm__card::after { top: 10px; background: linear-gradient(180deg, rgba(10, 8, 6, .35), rgba(10, 8, 6, .05) 25%, rgba(10, 8, 6, .2) 50%, rgba(10, 8, 6, .93) 82%); }
.asc-home .rlm__card::before { content: ''; position: absolute; z-index: 3; left: -22px; right: -22px; top: -6px; height: 24px; box-sizing: border-box;
    border-style: solid; border-width: 6px 34px; border-image: url('../img/forge/bar.png') 13 62 fill / 6px 34px stretch; }
.asc-home .rlm__body { bottom: 58px; padding: 0 30px; text-align: center; }
.asc-home .rlm__body .asc-eyebrow { margin-left: 0; }
.asc-home .rlm__body h3 { font-size: 40px; text-shadow: 0 2px 14px rgba(0, 0, 0, .9); }
.asc-home .rlm__body p { color: #d8cfbd; }

/* systems: screenshots in game windows with the system's name on the title plate */
.asc-home .sc { gap: 64px; margin-bottom: 96px; }
.asc-home .sc__media { overflow: visible; border: 0; border-radius: 12px; background: #0b0a09 url('../img/forge/stone.jpg') 0 0 / 512px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 40px rgba(0, 0, 0, .8);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 34px 36px / 19px 9px 11px 8px stretch; }
.asc-home .sc__media::after { content: attr(data-t); position: absolute; inset: auto; left: 50%; top: -36px; transform: translateX(-50%); z-index: 2;
    box-sizing: border-box; height: 36px; min-width: 230px; padding: 0 10px; white-space: nowrap; background: none; border-radius: 0;
    border-style: solid; border-width: 0 44px; border-image: url('../img/forge/plate.png') 0 62 fill / 0 44px stretch;
    font: 600 12.5px/36px var(--serif); letter-spacing: .2em; text-transform: uppercase; color: #e8dec8; text-shadow: 0 1px 0 #000; text-align: center; }
.asc-home .sc__media > img:not(.sc__art) { background: none; padding: 22px 20px 18px; }
.asc-home .sc__art { border-radius: 12px; filter: saturate(.95) brightness(.85); }
.asc-home .sc__badge { display: none; }
.asc-home .sc__copy > .asc-eyebrow { display: none; }
.asc-home .sc__copy h3 { margin-top: 0; text-shadow: 0 -1px 0 #000, 0 1px 0 rgba(255, 236, 200, .1); }
.asc-home .sc__copy p { color: #c8bfae; }
body.asc .sc__copy li::before, body.asc .fg-rivet::before { width: 9px; height: 9px; left: 3px; top: 6px; transform: none; border: 0; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fbfaf6 0, #b7b5bb 28%, #57565c 62%, #222125 100%); box-shadow: 0 1px 2px #000, 0 0 0 1px rgba(0, 0, 0, .6); }
body.asc-home .sc__thumb { border-radius: 0 !important; background: rgba(8, 7, 6, .6) !important; border-color: rgba(0, 0, 0, .8) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05) !important; }
body.asc-home .sc__thumb.is-on { border-color: #b08a44 !important; box-shadow: inset 0 0 0 1px rgba(240, 200, 120, .25), 0 0 14px rgba(214, 171, 92, .25) !important; }
.asc-home .sc__thumb img { border-radius: 0; }

/* the six smaller systems = one stone tablet, carved into six fields */
.asc-home .ftr__grid--more { gap: 0; margin-top: 40px; padding: 8px; border-radius: 14px; background: rgba(6, 5, 5, .55);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 50px rgba(0, 0, 0, .7);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 34px 36px / 19px 9px 11px 8px stretch; }
.asc-home .ftr__card { border: 0; border-radius: 0; background: none; padding: 30px 30px 28px; transform: none !important; }
.asc-home .ftr__card:not(:nth-child(3n)) { border-right: 1px solid rgba(0, 0, 0, .85); box-shadow: 1px 0 0 rgba(255, 255, 255, .045); }
.asc-home .ftr__card:nth-child(-n+3) { border-bottom: 1px solid rgba(0, 0, 0, .85); }
.asc-home .ftr__card:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .045); }
.asc-home .ftr__card:hover { background: radial-gradient(ellipse at 30% 20%, rgba(214, 171, 92, .06), transparent 70%); }
body.asc .ftr__icon { width: 54px; height: 54px; border: 0; border-radius: 50%;
    background: radial-gradient(circle, #16130f 0 52%, #2a292c 53%, #c2c0c6 57%, #6d6c72 62%, #2b2a2e 68%, #0c0b0c 71%, transparent 73%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .6); color: #e8c47b; }
.asc-home .ftr__card h3 { text-shadow: 0 -1px 0 #000; }

/* the feature list (22 Oct 2026): numbered rows, the companions marked, three facts where there is nothing to screenshot,
   and the quality-of-life list at the end */
.asc-home .sc__no { display: block; margin-bottom: 6px; font: 400 44px/1 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
    color: transparent; -webkit-text-stroke: 1px rgba(232, 196, 123, .55); letter-spacing: .04em; }
.asc-home .sc__tag { display: inline-block; margin: 0 0 10px; padding: 7px 14px 6px; border-radius: 2px;
    background: linear-gradient(180deg, #b3241c, #6e0d0b); box-shadow: inset 0 1px 0 rgba(255, 180, 160, .35), 0 0 0 1px #2a0403, 0 6px 16px rgba(120, 10, 8, .45);
    font: 700 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #ffe6d6; text-shadow: 0 1px 0 #3a0404; }
.asc-home .sc__tag + .asc-eyebrow { display: none; }
.asc-home .sc--star .sc__media { box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 40px rgba(0, 0, 0, .8), 0 0 60px rgba(214, 140, 60, .18); }
.asc-home .sc__media--facts { display: grid; place-items: center; }
.asc-home .scf { display: grid; gap: 14px; width: min(78%, 360px); margin: 0; padding: 0; list-style: none; }
.asc-home .scf li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 12px; text-align: center;
    border-style: solid; border-width: 10px 13px; border-image: url('../img/forge/plaque.png') 12 14 fill / 10px 13px stretch; }
.asc-home .scf b { font: 400 30px/1 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
    background: linear-gradient(180deg, #fff7df 0%, #f3d996 42%, #c58f43 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .85)); }
.asc-home .scf small { font: 600 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #a79e8c; }
.asc-home .qol { margin-top: 30px; padding: 30px 30px 26px; border-radius: 14px; background: rgba(6, 5, 5, .55);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 50px rgba(0, 0, 0, .7);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 34px 36px / 19px 9px 11px 8px stretch; }
.asc-home .qol__head { text-align: center; margin-bottom: 22px; }
.asc-home .qol__head h3 { margin: 0; font: 400 30px/1.15 var(--serif); color: #ebe2cf; text-shadow: 0 -1px 0 #000, 0 6px 20px rgba(0, 0, 0, .6); }
.asc-home .qol__head p { margin: 8px 0 0; font-family: 'Marcellus', var(--serif); color: #b3a891; }
.asc-home .qol__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.asc-home .qol__item { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid rgba(0, 0, 0, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); }
.asc-home .qol__item:nth-last-child(-n+2) { border-bottom: 0; box-shadow: none; }
.asc-home .qol__pic, .asc-home .qol__ico { flex: none; width: 96px; height: 64px; display: grid; place-items: center; overflow: hidden; border-radius: 2px;
    background: #0b0a09; box-shadow: 0 0 0 1px #000, 0 0 0 2px #4a4950, 0 0 0 3px #111, 0 6px 14px rgba(0, 0, 0, .5); }
.asc-home .qol__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* the pictures open the full-size viewer like the big screenshots (ascendance.js) */
.asc-home .qol__pic { cursor: zoom-in; transition: box-shadow .2s, filter .2s; }
.asc-home .qol__pic:hover { filter: brightness(1.15); box-shadow: 0 0 0 1px #000, 0 0 0 2px #d9b064, 0 0 0 3px #111, 0 0 16px rgba(214, 171, 92, .35); }
.asc-home .qol__ico { color: #e8c47b; background: radial-gradient(circle, #1c1814, #0b0a09 70%); }
body.asc .qol__ico .ico { width: 28px; height: 28px; }
.asc-home .qol__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.asc-home .qol__txt b { font: 400 18px/1.2 var(--serif); color: #f1d58f; }
.asc-home .qol__txt small { font-size: 13.5px; line-height: 1.5; color: #c8bfae; }
@media (max-width: 760px) {
    .asc-home .qol { padding: 24px 14px 18px; }
    .asc-home .qol__grid { grid-template-columns: minmax(0, 1fr); }
    .asc-home .qol__item:nth-last-child(2) { border-bottom: 1px solid rgba(0, 0, 0, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); }
    .asc-home .qol__pic, .asc-home .qol__ico { width: 76px; height: 52px; }
    .asc-home .sc__no { font-size: 34px; }
}

/* earn your title (22 Oct 2026): the Ascendant plate in front, then the titles players win and how */
.asc-home .ttl { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 34px; align-items: start; }
.asc-home .ttl__feature { display: flex; flex-direction: column; gap: 16px; }
.asc-home .ttl__feature .dtw__item { padding: 30px 12px 18px; border-radius: 12px; background: rgba(6, 5, 5, .6); border: 0;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5), inset 0 0 40px rgba(0, 0, 0, .6);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; }
.asc-home .ttl__feature .dtw__item--top { padding: 46px 12px 24px; background: radial-gradient(ellipse at 50% 40%, rgba(150, 110, 255, .12), transparent 70%), rgba(6, 5, 5, .6); }
.asc-home .ttl__feature small { color: #c8bfae; font-size: 13px; text-align: center; }
.asc-home .ttl__shot { margin: 0; border-radius: 12px; background: #0b0a09; cursor: zoom-in; box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; }
.asc-home .ttl__shot img { display: block; width: 100%; height: auto; border-radius: 12px 12px 0 0; padding: 10px 10px 0; box-sizing: border-box; }
.asc-home .ttl__shot figcaption { padding: 10px 14px 12px; font-size: 12.5px; color: #a79e8c; text-align: center; }
.asc-home .ttl__feature small b { color: var(--tc); }
.asc-home .ttl__list { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px; border-radius: 12px; background: rgba(6, 5, 5, .6);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5), inset 0 0 40px rgba(0, 0, 0, .6);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; }
.asc-home .ttl__group h3 { margin: 0; font: 400 21px/1.2 var(--serif); color: #f1d58f; }
.asc-home .ttl__group p { margin: 4px 0 12px; font-size: 13.5px; color: #c8bfae; }
.asc-home .ttl__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 0 16px; list-style: none;
    border-bottom: 1px solid rgba(0, 0, 0, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); }
.asc-home .ttl__chips li { padding: 2px 6px 1px; font: 600 12.5px/1.4 var(--sans); color: #f6e7c4; text-shadow: 0 1px 0 #000;
    border-style: solid; border-width: 8px 10px; border-image: url('../img/forge/plaque.png') 12 14 fill / 8px 10px stretch; }
.asc-home .ttl__rows { margin: 0; padding: 0; list-style: none; }
.asc-home .ttl__rows li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 2px;
    border-bottom: 1px solid rgba(0, 0, 0, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); }
.asc-home .ttl__rows li:last-child { border-bottom: 0; box-shadow: none; }
.asc-home .ttl__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.asc-home .ttl__txt b { font: 400 16.5px/1.25 var(--serif); color: #ebe2cf; }
.asc-home .ttl__txt small { font-size: 13px; color: #a79e8c; }
.asc-home .ttl__rows em { flex: none; font: 600 10.5px/1 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: #e8c47b; white-space: nowrap; }
@media (max-width: 900px) {
    .asc-home .ttl { grid-template-columns: minmax(0, 1fr); }
    .asc-home .ttl__feature { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
    .asc-home .ttl__list { padding: 20px 14px; }
    .asc-home .ttl__rows li { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* donor plates + languages: steel framed */
.asc-home .tpl { background: radial-gradient(60% 50% at 65% 45%, rgba(255, 106, 213, .05), transparent 70%); }
.asc-home .lng { background: radial-gradient(60% 50% at 30% 45%, rgba(240, 192, 90, .05), transparent 70%); }
.asc-home .tpl__shot, .asc-home .lng__shot { border: 0; border-radius: 12px; overflow: visible; background: #0b0a09; box-shadow: 0 24px 50px rgba(0, 0, 0, .55);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; }
.asc-home .tpl__shot img, .asc-home .lng__shot img { border-radius: 12px 12px 0 0; }
.asc-home .tpl__shot figcaption, .asc-home .lng__shot figcaption { border-radius: 0 0 12px 12px; background: rgba(0, 0, 0, .5); border-top: 1px solid rgba(0, 0, 0, .8); }
.asc-home .tpl__row, .asc-home .dtw__item { border-radius: 4px; background: rgba(6, 5, 5, .55); border-color: rgba(0, 0, 0, .8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 6px 16px rgba(0, 0, 0, .4); }
.asc-home .lng__item { border-radius: 0; background: none; border-style: solid; border-width: 10px 13px; padding: 4px 6px;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 10px 13px stretch; box-shadow: none; }
.asc-home .lng__item:hover { transform: translateY(-2px); filter: brightness(1.2); }

/* getting started: parchment notes with wax seals */
.asc-home .go { padding-bottom: 150px; }
.asc-home .go__bg { opacity: .22; filter: saturate(.55);
    -webkit-mask: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); mask: linear-gradient(180deg, transparent, #000 35%, #000 65%, transparent); }
.asc-home .go::before { background: linear-gradient(180deg, transparent, rgba(10, 9, 8, .3) 40%, rgba(10, 9, 8, .3) 60%, transparent); }
.asc-home .go__steps { gap: 34px; padding-top: 30px; }
.asc-home .go__step { isolation: isolate; border: 0; border-radius: 0; background: none; backdrop-filter: none; padding: 46px 34px 36px;
    filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .6)); transition: transform .3s; }
.asc-home .go__step:nth-child(1) { transform: rotate(-1.4deg); }
.asc-home .go__step:nth-child(2) { transform: rotate(.9deg) translateY(10px); }
.asc-home .go__step:nth-child(3) { transform: rotate(-.6deg); }
.asc-home .go__step:hover { transform: rotate(0) translateY(-6px); border: 0; }
body.asc .go__step::before, body.asc .fg-paper::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse at 50% 45%, transparent 45%, rgba(84, 48, 14, .62) 100%), url('../img/forge/parchment.jpg') 0 0 / 512px;
    -webkit-mask: url('../img/forge/torn.svg') 0 0 / 100% 100% no-repeat; mask: url('../img/forge/torn.svg') 0 0 / 100% 100% no-repeat; }
.asc-home .go__step:nth-child(2)::before { background-position: 0 0, 170px 90px; }
.asc-home .go__step:nth-child(3)::before { background-position: 0 0, 330px 260px; }
.asc-home .go__n { position: absolute; top: -30px; right: 22px; width: 78px; height: 78px; margin: 0; opacity: 1;
    display: grid; place-items: center; background: url('../img/forge/wax.png') center / contain no-repeat;
    font: 700 22px/1 var(--serif); color: rgba(64, 6, 6, .92); text-shadow: 0 1px 0 rgba(255, 150, 130, .35), 0 -1px 0 rgba(0, 0, 0, .35); }
.asc-home .go__step h3 { color: #2e1a08; font-weight: 700; text-shadow: 0 1px 0 rgba(255, 240, 210, .4); }
.asc-home .go__step p { color: #3f2a14; font-size: 15px; font-weight: 500; }

/* ================================================================== 3. inner pages */
/* the page band: the picture under a shade, the breadcrumb on a steel plate, a gold title, a broken stone edge */
body.asc .pb { padding: calc(var(--nav-h) + 64px) 0 84px; border-bottom: 0; text-align: center; }
body.asc .pb__bg { opacity: .5; filter: saturate(.85); }
body.asc .pb::after { background: radial-gradient(ellipse 55% 75% at 50% 55%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2) 70%),
    linear-gradient(180deg, rgba(10, 9, 8, .55), transparent 40%, rgba(10, 9, 8, .6)); }
body.asc .pb__in::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 1; pointer-events: none;
    background: url('../img/forge/mottle.png') 0 0 / 1400px, url('../img/forge/stone.jpg') 0 0 / 512px, #0e0d0c;
    -webkit-mask: url('../img/forge/edge.svg') 120px 0 / 1200px 46px repeat-x; mask: url('../img/forge/edge.svg') 120px 0 / 1200px 46px repeat-x; }
body.asc .pb__crumbs { display: inline-flex; justify-content: center; gap: 10px; box-sizing: border-box; height: 32px; min-width: 200px; padding: 0 10px;
    border-style: solid; border-width: 0 40px; border-image: url('../img/forge/plate.png') 0 62 fill / 0 40px stretch;
    font: 600 11px/32px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #9d958a; text-shadow: 0 1px 0 #000; white-space: nowrap; }
body.asc .pb__crumbs a { color: #cfc6b5; }
body.asc .pb__crumbs a:hover { color: #f1d58f; }
body.asc .pb__crumbs b { color: #e8c47b; font-weight: 600; }
body.asc .pb__crumbs span { color: #6f685c; }
body.asc .pb__title { margin: 18px 0 0; font: 400 clamp(36px, 4.6vw, 60px)/1.05 var(--deco); letter-spacing: .01em;
    background: linear-gradient(180deg, #fffaf0 0%, #ffe8b4 22%, #e9b866 46%, #8c5a1c 56%, #c98f3e 66%, #f6d58f 82%, #fff1cf 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(255, 232, 180, .2);
    filter: drop-shadow(0 2px 2px rgba(30, 15, 0, .8)) drop-shadow(0 0 22px rgba(236, 178, 84, .3)); }
body.asc .pg { padding: 34px 0 110px; }

/* account sidebar = a steel window; the account name under a wax seal, the menu on carved lines */
body.asc .acc { overflow: visible; border: 0; border-radius: 12px; background: rgba(8, 7, 7, .66);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5), inset 0 0 40px rgba(0, 0, 0, .55);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; }
body.asc .acc__me { padding: 22px 18px 18px; background: none; border-bottom: 1px solid rgba(0, 0, 0, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .05); border-radius: 12px 12px 0 0; }
body.asc .acc__avatar { width: 44px; height: 44px; border-radius: 0; background: url('../img/forge/wax.png') center / 120% no-repeat; color: #f3d3c4; }
body.asc .acc__me strong { color: #ebe2cf; }
body.asc .acc__me small { color: #e8c47b; }
body.asc .acc__nav { padding: 8px 10px 14px; }
body.asc .acc__nav li + li a { box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .03); }
body.asc .acc__nav a { border-radius: 0; color: #cfc6b5; }
body.asc .acc__nav a:hover { background: linear-gradient(90deg, rgba(214, 171, 92, .12), transparent); }
body.asc .acc__nav a.is-on { box-shadow: none; background: none; color: #f1d58f; border-style: solid; border-width: 8px 11px; padding: 2px 0;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 8px 11px stretch; }
body.asc .acc__sep { color: #8a8174; padding-top: 16px; }
body.asc .acc__sep::after { content: ''; display: block; height: 1px; margin-top: 8px; background: linear-gradient(90deg, rgba(214, 171, 92, .35), transparent); }

/* the old pages' content */
body.asc .pg__body .h2-title { border-bottom: 0 !important; padding: 0 0 14px !important; margin: 0 0 24px !important; position: relative; }
body.asc .pg__body .h2-title::after { content: '' !important; display: block !important; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .85) 60%, transparent) 0 0 / 100% 1px no-repeat,
                linear-gradient(90deg, rgba(214, 171, 92, .4), rgba(214, 171, 92, .12) 60%, transparent) 0 1px / 100% 1px no-repeat; }
body.asc .pg__body .h2-title span { font-size: 24px !important; color: #ebe2cf !important; text-shadow: 0 -1px 0 #000, 0 1px 0 rgba(255, 236, 200, .08); }
body.asc .pg__body h1, body.asc .pg__body h2, body.asc .pg__body h3, body.asc .pg__body h4 { color: #ebe2cf; }

/* panels = steel windows */
body.asc .pg__body .ov__stat, body.asc .pg__body .ov__card, body.asc .pg__body .post, body.asc .pg__body .post_content,
body.asc .pg__body .tos-header, body.asc .pg__body .tos-section, body.asc .pg__body #account_cash, body.asc .pg__body .fg-win {
    border: 0 !important; border-radius: 12px !important; background: rgba(8, 7, 7, .62) !important; overflow: visible !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .45), inset 0 0 40px rgba(0, 0, 0, .55) !important;
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch !important; }
body.asc .pg__body .ov { gap: 30px; }
body.asc .pg__body .ov__stats { gap: 26px; }
body.asc .pg__body .ov__cols { gap: 26px; }
body.asc .pg__body .ov__stat { padding: 22px 24px 18px; }
body.asc .pg__body .ov__stat b { font-size: 40px; margin: 12px 0 12px; }
body.asc .pg__body .ov__card h3 { border-bottom: 1px solid rgba(0, 0, 0, .85); box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
body.asc .pg__body .ov__act { border-bottom: 1px solid rgba(0, 0, 0, .7); box-shadow: 0 1px 0 rgba(255, 255, 255, .035); }
body.asc .pg__body .ov__table td { border-bottom: 1px solid rgba(0, 0, 0, .7) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .03); }
body.asc .pg__body .post { margin-bottom: 30px !important; }
body.asc .pg__body .post .post_content { border-image: none !important; box-shadow: none !important; background: none !important; padding: 4px 20px 16px !important; margin: 0 !important; }

/* tables = a steel window with a dark steel header row and carved rows */
body.asc .pg__body table:not(.ov__table) {
    border: 0 !important; border-radius: 12px !important; overflow: visible !important; background: rgba(8, 7, 7, .62) !important;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .45) !important; margin-bottom: 30px;
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch !important; }
body.asc .pg__body table:not(.ov__table) th, body.asc .pg__body table:not(.ov__table):has(> tbody > tr) > thead td {
    background: linear-gradient(180deg, #2a292d, #19181b) !important; color: #e8c47b !important; border-bottom: 1px solid #000 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 1px 0 rgba(255, 255, 255, .04); text-shadow: 0 1px 0 #000; }
body.asc .pg__body table:not(.ov__table) tr:first-child > th:first-child { border-top-left-radius: 10px; }
body.asc .pg__body table:not(.ov__table) tr:first-child > th:last-child { border-top-right-radius: 10px; }
body.asc .pg__body table:not(.ov__table) td { border-bottom: 1px solid rgba(0, 0, 0, .75) !important; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .035); }
body.asc .pg__body table:not(.ov__table) tr:last-child td { border-bottom: 0 !important; box-shadow: none; }
body.asc .pg__body table:not(.ov__table) tr:hover td { background: linear-gradient(90deg, rgba(214, 171, 92, .06), rgba(214, 171, 92, .02)) !important; }
body.asc .pg__body table table { border-image: none !important; box-shadow: none !important; background: none !important; margin: 0; }

/* fields = the game's dark edit boxes */
body.asc .pg__body .form-control, body.asc .pg__body input[type=text], body.asc .pg__body input[type=password], body.asc .pg__body input[type=email],
body.asc .pg__body input[type=number], body.asc .pg__body select, body.asc .pg__body textarea, body.asc .asc-field input, body.asc .po__send select {
    background: linear-gradient(180deg, #050505, #0d0c0c) !important; border: 1px solid #34333a !important; border-top-color: #1c1b1f !important;
    border-radius: 2px !important; color: #ece4d3 !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .7), 0 1px 0 1px rgba(255, 255, 255, .05) !important; }
body.asc .pg__body .form-control:focus, body.asc .pg__body input:focus, body.asc .pg__body select:focus, body.asc .pg__body textarea:focus, body.asc .asc-field input:focus {
    border-color: #b08a44 !important; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .7), 0 0 14px rgba(214, 171, 92, .3) !important; }
body.asc .pg__body input[type=checkbox], body.asc .pg__body input[type=radio] { accent-color: #c99a4c; }

/* buttons in the old pages = the game's buttons */
body.asc .pg__body .button-green, body.asc .pg__body .button, body.asc .pg__body .switch .option, body.asc .pg__body .btn,
body.asc .pg__body button[type=submit], body.asc .pg__body input[type=submit], body.asc .pg__body input[type=button], body.asc .pg__body .toggle-label.button-style {
    border-radius: 0 !important; background: none !important; background-image: none !important; box-shadow: none !important;
    border-style: solid !important; border-width: 14px 17px !important; border-color: transparent !important;
    border-image: url('../img/forge/btn_steel.png') 15 18 fill / 14px 17px stretch !important;
    padding: 0 10px !important; min-height: 0; line-height: 16px !important;
    color: #ece4d3 !important; text-shadow: 0 1px 0 #000 !important; transition: filter .2s; filter: none !important; }
body.asc .pg__body .button:hover, body.asc .pg__body .switch .option:hover, body.asc .pg__body .btn:hover, body.asc .pg__body input[type=button]:hover { filter: brightness(1.25) !important; color: #fff6e2 !important; }
body.asc .pg__body .button-green, body.asc .pg__body button[type=submit], body.asc .pg__body input[type=submit], body.asc .pg__body .switch .option.active,
body.asc .pg__body .switch .option.active_btn, body.asc .pg__body .btn-primary, body.asc .pg__body .btn-success, body.asc .pg__body #copy button, body.asc .pg__body .toggle-label.button-style {
    border-image-source: url('../img/forge/btn_gold.png') !important; color: #2a1705 !important; text-shadow: 0 1px 0 rgba(255, 228, 170, .55) !important; }
body.asc .pg__body .button-green:hover, body.asc .pg__body button[type=submit]:hover, body.asc .pg__body input[type=submit]:hover, body.asc .pg__body #copy button:hover {
    border-image-source: url('../img/forge/btn_gold_hi.png') !important; filter: drop-shadow(0 0 12px rgba(240, 180, 90, .3)) !important; }
body.asc .pg__body .btn-danger, body.asc .pg__body .ov__act .btn-danger { border-image-source: url('../img/forge/btn_steel.png') !important; color: #ff9f8c !important; }
body.asc .pg__body .switch { gap: 4px !important; }
body.asc .pg__body .pagination a, body.asc .pg__body .pagination span, body.asc .pg__body .pagination li > *, body.asc .pg__body .paging a, body.asc .pg__body .wp-pagenavi a, body.asc .pg__body .wp-pagenavi span {
    border-radius: 0 !important; background: none !important; border: 0 !important; border-style: solid !important; border-width: 9px 11px !important;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 9px 11px stretch !important; color: #ece4d3 !important; min-width: 14px; padding: 2px 4px !important; }
body.asc .pg__body .wp-pagenavi a { display: inline-block; width: auto !important; height: auto !important; line-height: 18px !important; border-radius: 0 !important; text-align: center; }
body.asc .pg__body .pagination .active > *, body.asc .pg__body .pagination a.active, body.asc .pg__body .pagination .current, body.asc .pg__body .wp-pagenavi .current { color: #f1d58f !important; filter: brightness(1.3); }

/* notes and alerts: dark slate with a coloured edge */
body.asc .pg__body .alert { border-radius: 3px !important; border: 1px solid rgba(0, 0, 0, .85) !important; background: rgba(10, 9, 8, .78) !important;
    box-shadow: inset 3px 0 0 #c99a4c, inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(0, 0, 0, .35) !important; }
body.asc .pg__body .alert-danger { box-shadow: inset 3px 0 0 #e2644f, inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(0, 0, 0, .35) !important; }
body.asc .pg__body .alert-success { box-shadow: inset 3px 0 0 #6edc8c, inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 24px rgba(0, 0, 0, .35) !important; }

/* terms, news, refund */
body.asc .pg__body .tos-header, body.asc .pg__body .tos-section, body.asc .pg__body .post_content { padding: 28px 30px !important; margin-bottom: 30px !important; }
body.asc .pg__body .tos-section-title { border-bottom: 1px solid rgba(0, 0, 0, .85) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .05); }
body.asc .pg__body .important-notice { border-radius: 3px !important; border: 1px solid rgba(0, 0, 0, .85) !important; background: rgba(60, 14, 10, .35) !important;
    box-shadow: inset 3px 0 0 #e2644f !important; }
body.asc .pg__body .bah-accordion__element__header { border: 0 !important; border-radius: 0 !important; background: none !important; padding: 0 0 12px !important;
    border-bottom: 1px solid rgba(0, 0, 0, .85) !important; box-shadow: 0 1px 0 rgba(255, 255, 255, .05) !important; }

/* reCAPTCHA sits in a dark slot */
body.asc .g-recaptcha { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)); }

/* ================================================================== 4. donate page */
body.asc .dv { gap: 34px; }
body.asc .dv-hero, body.asc .c2, body.asc .pk-bar, body.asc .rp {
    border: 0 !important; border-radius: 12px; overflow: visible;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5), inset 0 0 50px rgba(0, 0, 0, .55);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch !important; }
body.asc .dv-hero::before, body.asc .rp__art { border-radius: 12px; }
body.asc .rp { overflow: visible; }
body.asc .rp__art { inset: 0; }
body.asc .dv-me { border: 0; border-radius: 0; background: rgba(6, 5, 5, .72); border-style: solid; border-width: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .85), inset 0 1px 0 1px rgba(255, 255, 255, .05); }
body.asc .dv-me__rank { border-top: 1px solid rgba(0, 0, 0, .85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
body.asc .dv-me__cash { font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; font-weight: 400; color: #f1d58f; }
body.asc .dv-me__bar, body.asc .dv-me__bar i { border-radius: 0; }
body.asc .dv-chip { border-radius: 0; background: none; border: 0; border-style: solid; border-width: 8px 10px; padding: 0 4px 0 0;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 8px 10px stretch; }
body.asc .dv-chip b { border-radius: 2px; }
body.asc .dv-pack.pk-card { border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #4a4950, 0 0 0 3px #111, 0 16px 30px rgba(0, 0, 0, .5); }
body.asc .dv-pack.pk-card::before { border-radius: 3px; }
body.asc .dv-pack.pk-card:has(input:checked) { box-shadow: 0 0 0 1px #000, 0 0 0 2px #d9b064, 0 0 0 3px #111, 0 0 24px color-mix(in srgb, var(--pc) 45%, transparent), 0 16px 30px rgba(0, 0, 0, .5); }
body.asc .pk-card__tag, body.asc .pk-card__value { border-radius: 2px; }
body.asc .c2-stage { border-radius: 4px; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px #3a3940; }

/* ================================================================== 5. modals */
/* sign in: a steel window, the title on its plate, game edit boxes and the gold button */
body.asc .asc-modal { background: rgba(4, 3, 3, .8); }
body.asc .asc-modal__box { border: 0; border-radius: 12px; padding: 40px 34px 26px; overflow: visible;
    background: linear-gradient(rgba(8, 7, 7, .78), rgba(8, 7, 7, .78)), url('../img/forge/stone.jpg') 0 0 / 512px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .75), inset 0 0 50px rgba(0, 0, 0, .6);
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 32px 34px / 17px 8px 10px 8px stretch; }
body.asc .asc-modal__sigil { display: none; }
body.asc .asc-modal__box h2 { position: absolute; left: 50%; top: -35px; transform: translateX(-50%); margin: 0; white-space: nowrap;
    box-sizing: border-box; height: 36px; min-width: 230px; padding: 0 12px; border-style: solid; border-width: 0 44px;
    border-image: url('../img/forge/plate.png') 0 62 fill / 0 44px stretch; font: 600 14px/36px var(--serif); letter-spacing: .2em; text-transform: uppercase;
    color: #e8dec8; text-shadow: 0 1px 0 #000; }
body.asc .asc-modal__sub { margin-top: 4px; font-family: 'Marcellus', var(--serif); font-size: 15px; color: #b3a891; }
body.asc .asc-modal__x, body.asc .po .po__x, body.asc .pm .pm__x { top: 8px; right: 10px; width: 26px; height: 26px; border-radius: 50%; font-size: 0; overflow: hidden;
    background: radial-gradient(circle at 40% 35%, #d8d6dc, #7b7a80 45%, #2c2b30 75%); box-shadow: 0 0 0 1px #000, 0 2px 4px rgba(0, 0, 0, .6); }
body.asc .asc-modal__x::before, body.asc .po .po__x::before, body.asc .pm .pm__x::before { content: '\00d7'; display: block; font: 700 18px/26px var(--sans); color: #1a1a1d; text-align: center; }
body.asc .asc-field span { font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #a79e8c; }
body.asc .asc-field input { padding: 11px 13px; }
body.asc .asc-modal__row { padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }

/* Pre-Open Pack + the PayPal reminder: the same steel window */
body.asc .po__box, body.asc .pm__box { border: 0 !important; border-radius: 12px !important; overflow: visible !important;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .75), inset 0 0 60px rgba(0, 0, 0, .55) !important;
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 32px 34px / 17px 8px 10px 8px stretch !important; }
body.asc .po__box { overflow-y: auto !important; }
body.asc .pm__art { border-radius: 12px; }
body.asc .po__items li, body.asc .pm__steps li { border-radius: 0 !important; border: 0 !important; background: none !important; border-style: solid !important; border-width: 9px 11px !important;
    border-image: url('../img/forge/plaque.png') 12 14 fill / 9px 11px stretch !important; }
body.asc .po__ic { border-radius: 2px; }
body.asc .po__ic img { border-radius: 1px; }
body.asc .po__tick { border-radius: 2px !important; }
body.asc .po .po__go, body.asc .pm .pm__ok { border-radius: 0 !important; background: none !important; border: 0 !important; border-style: solid !important; border-width: 14px 17px !important;
    border-image: url('../img/forge/btn_gold.png') 15 18 fill / 14px 17px stretch !important; padding: 0 10px !important; color: #2a1705 !important; box-shadow: none !important; }
body.asc .po .po__go:hover, body.asc .pm .pm__ok:hover { border-image-source: url('../img/forge/btn_gold_hi.png') !important; }
body.asc .pm .pm__back { border-radius: 0 !important; border: 0 !important; border-style: solid !important; border-width: 14px 17px !important; background: none !important;
    border-image: url('../img/forge/btn_steel.png') 15 18 fill / 14px 17px stretch !important; padding: 0 10px !important; }
body.asc .pm .pm__ok::after { display: none; }

/* the screenshot viewer: the picture in a steel window */
body.asc .asc-lb img { border-radius: 10px; border: 0; padding: 6px; background: #0b0a09;
    border-image: url('../img/forge/frame.png') 56 60 56 60 / 30px 32px / 16px 7px 10px 7px stretch; box-shadow: 0 40px 90px rgba(0, 0, 0, .8); }

/* SweetAlert popups (old pages: "You have to be offline", saved, errors) */
body.asc .swal-overlay { background: rgba(4, 3, 3, .8); }
body.asc .swal-modal { border-radius: 12px; overflow: visible; padding: 18px 10px 8px;
    background: linear-gradient(rgba(8, 7, 7, .8), rgba(8, 7, 7, .8)), url('../img/forge/stone.jpg') 0 0 / 512px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .75), inset 0 0 50px rgba(0, 0, 0, .6);
    border: 0; border-image: url('../img/forge/frame.png') 56 60 56 60 / 32px 34px / 17px 8px 10px 8px stretch; }
body.asc .swal-title { font: 400 24px/1.25 var(--serif); color: #ebe2cf; text-shadow: 0 -1px 0 #000; }
body.asc .swal-text { font: 15px/1.55 var(--sans); color: #cfc6b5; text-align: center; }
body.asc .swal-footer { text-align: center; padding-bottom: 14px; }
body.asc .swal-button { border-radius: 0; background: none !important; box-shadow: none !important; border-style: solid; border-width: 14px 17px;
    border-image: url('../img/forge/btn_gold.png') 15 18 fill / 14px 17px stretch; padding: 0 22px; color: #2a1705; font: 600 14px/16px var(--sans); text-shadow: 0 1px 0 rgba(255, 228, 170, .55); }
body.asc .swal-button:hover { border-image-source: url('../img/forge/btn_gold_hi.png'); }
body.asc .swal-button--cancel { border-image-source: url('../img/forge/btn_steel.png'); color: #ece4d3; text-shadow: 0 1px 0 #000; }
body.asc .swal-button:focus { box-shadow: none !important; outline: 0; filter: drop-shadow(0 0 10px rgba(240, 180, 90, .35)); }
body.asc .swal-icon--info { border-color: #c99a4c; }
body.asc .swal-icon--info::before, body.asc .swal-icon--info::after { background-color: #e8c47b; }
body.asc .swal-icon--success::before, body.asc .swal-icon--success::after, body.asc .swal-icon--success__hide-corners { background: transparent !important; }
body.asc .swal-icon--success { border-color: rgba(110, 220, 140, .4); }
body.asc .swal-icon--warning { border-color: #e2a54f; }
body.asc .swal-icon--error { border-color: #e2644f; }

/* the Pre-Open chest (preopen.php asc_po_button): the light under the lid brightens when the lid lifts (poLid, 2.6 s) */
body.asc .nv__gift-glow { animation: poGlow 2.6s ease-in-out infinite; }
@keyframes poGlow { 0%, 60%, 100% { opacity: .55; } 70% { opacity: 1; } 80% { opacity: .7; } }
body.asc .po__gift { height: 66px; }
body.asc .po__gift .nv__gift { transform: scale(.88); }
@media (prefers-reduced-motion: reduce) { body.asc .nv__gift-glow { animation: none; } }

/* ================================================================== 6. small screens */
/* the title plates' two columns ran past the right edge between 901 and 1250 px (on the site since 12 Oct): one column there */
@media (max-width: 1250px) { .asc-home .tpl__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
    .asc-home .cls__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
    .asc-home .cls__info { overflow-wrap: anywhere; }
    .asc-home .cls__list { gap: 2px 4px; padding: 22px 10px 12px; }
    .asc-home .cls__tab { width: 70px; font-size: 12px; }
    .asc-home .cls__tab i { width: 62px; height: 62px; }
    .asc-home .cls__art { border-radius: 0; }
    .asc-home .ftr__card { border: 0 !important; box-shadow: none !important; border-bottom: 1px solid rgba(0, 0, 0, .85) !important; }
    body.asc .acc { position: static; }
}
@media (max-width: 1149px) {
    .asc-home .hxl { flex-wrap: wrap; row-gap: 22px; }
    .asc-home .hxl__sep { flex-basis: 100%; height: 0; margin: 0; background: none; }
    .asc-home .hxl__i { padding: 0 18px; }
}
@media (max-width: 760px) {
    body.asc .pb { padding-bottom: 70px; }
    body.asc .pb__crumbs { min-width: 0; letter-spacing: .1em; }
}
@media (max-width: 640px) {
    /* form tables (register, sign in, e-mail...): each label above its field, fields full width (they ran off the screen) */
    body.asc .pg__body table:has(input[type=text], input[type=password], input[type=email]),
    body.asc .pg__body table:has(input[type=text], input[type=password], input[type=email]) > tbody,
    body.asc .pg__body table:has(input[type=text], input[type=password], input[type=email]) > tbody > tr,
    body.asc .pg__body table:has(input[type=text], input[type=password], input[type=email]) > tbody > tr > td { display: block; width: auto !important; }
    body.asc .pg__body table:has(input[type=text], input[type=password], input[type=email]) > tbody > tr > td:first-child { padding-bottom: 2px !important; border-bottom: 0 !important; box-shadow: none; color: #a79e8c !important; }
    body.asc .pg__body table:has(input[type=text], input[type=password], input[type=email]) input:not([type=checkbox]):not([type=radio]) { width: 100% !important; max-width: 100%; box-sizing: border-box; }
    .asc-home .rlm__cards, .asc-home .go__steps { grid-template-columns: 1fr; }
    .asc-home .rlm__card { height: 440px; }
    .asc-home .ftr__grid--more { grid-template-columns: 1fr; }
    .asc-home .sc__media::after { min-width: 0; font-size: 11px; letter-spacing: .14em; }
    .asc-home .soon { padding: 24px 12px 14px; }
    body.asc .asc-modal__box { padding: 38px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .asc-home .hxl__i span i { animation: none; } }
/* small phones: the hero's column was as wide as its widest piece (368 px on a 360 px screen, since 12 Oct) - keep it to the
   screen, the title scales with it; the last row (max level + rates) a size smaller */
.asc-home .hx__in { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 480px) {
    .asc-home .hx__title { font-size: min(48px, 10.6vw); }
    .asc-home .soon__count { gap: 4px; }
    .asc-home .hxl__i { padding: 0 12px; }
    .asc-home .hxl__i span { letter-spacing: .18em; }
    body.asc .hxl__i--word b { font-size: 24px; }
}
/* Thai: letter-spacing tears the vowel and tone marks from their letters (same rule as ascendance.css) */
html[lang=th] body.asc .hxl__i span, html[lang=th] body.asc .hxl__i small, html[lang=th] body.asc .pb__crumbs, html[lang=th] body.asc .asc-eyebrow,
html[lang=th] body.asc .soon__badge, html[lang=th] body.asc .sc__media::after, html[lang=th] body.asc .asc-modal__box h2, html[lang=th] body.asc .acc__sep,
html[lang=th] body.asc .asc-field span, html[lang=th] body.asc .soon__count span { letter-spacing: 0; }
