:root {
  color-scheme: dark;
  --bg: #17100d;
  --panel: #251914;
  --panel2: #302018;
  --line: rgba(202, 142, 91, .28);
  --text: #f5e9d9;
  --muted: #c4ab93;
  --cyan: #e8b878;
  --violet: #c47a45;
  --gold: #ffd58a;
  --danger: #f28f70;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 15% -10%, rgba(145, 82, 43, .22), transparent 42%),
              radial-gradient(ellipse at 90% 20%, rgba(111, 63, 35, .16), transparent 34%), var(--bg);
  color: var(--text);
  font: 16px/1.7 "Segoe UI", Tahoma, sans-serif;
}
body:before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .12;
  background-image: linear-gradient(rgba(202, 142, 91, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(202, 142, 91, .12) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 90%);
}
header {
  position: relative; width: min(100%, 1180px); margin: 24px auto 0;
  padding: clamp(2rem, 7vw, 5.5rem) 1.5rem 2.5rem; text-align: center;
  background: linear-gradient(135deg, rgba(55, 34, 24, .97), rgba(31, 21, 17, .96));
  border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden;
}
header:after {
  content: ""; position: absolute; width: 30rem; height: 30rem; right: -14rem; top: -21rem;
  border-radius: 50%; background: rgba(224, 157, 91, .13); filter: blur(2px); pointer-events: none;
}
header h1, .server-card h1 {
  position: relative; margin: 0 auto .5rem; max-width: 900px; font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.12; letter-spacing: -.035em; white-space: nowrap; background: linear-gradient(100deg, #fff4e5 15%, #f0c38e 56%, #d99058);
  color: transparent; background-clip: text;
}
#playercount { position: relative; color: var(--muted); font-size: .98rem; }
#playercount h2 { margin: .6rem 0 0; font-size: 1rem; font-weight: 500; }
.content-section, .owner-section {
  position: relative; width: min(100% - 2rem, 1040px); margin: 1.25rem auto; padding: clamp(1.2rem, 4vw, 2.3rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(47, 31, 23, .96), rgba(32, 22, 18, .97)); box-shadow: var(--shadow);
}
.content-section { line-height: 1.8; }
.content-section h3 { margin: 2rem 0 .5rem; color: #f0d4b3; font-size: 1.35rem; }
.content-section h3:first-child { margin-top: 0; }
.owner-section>div { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; align-items: stretch; }
.owner-section>div>div { margin: 0 !important; padding: 1.15rem; background: rgba(255, 235, 210, .025); border: 1px solid var(--line); border-radius: 16px; }
.owner-section>div>div img { flex: 0 0 auto; object-fit: cover; border: 2px solid rgba(224, 157, 91, .58); box-shadow: 0 0 22px rgba(224, 157, 91, .14); }
.owner-section h2 { margin: .15rem 0 .4rem; color: var(--cyan); }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe0ad; text-shadow: 0 0 14px rgba(235, 175, 112, .36); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button, .button {
  min-height: 2.8rem; padding: .7rem 1rem; border: 1px solid rgba(224, 157, 91, .4); border-radius: 12px;
  background: linear-gradient(115deg, rgba(139, 76, 42, .48), rgba(116, 70, 40, .42)); color: var(--text);
  font: inherit; font-weight: 650; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
button:hover, .button:hover { transform: translateY(-2px); border-color: var(--gold); background: linear-gradient(115deg, rgba(166, 93, 49, .62), rgba(137, 82, 43, .56)); box-shadow: 0 0 20px rgba(207, 133, 72, .2); }
button:disabled { opacity: .58; cursor: not-allowed; transform: none; box-shadow: none; }
.button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.links-section ul { list-style: none; padding: 0; }
.links-section li { margin: .5rem 0; }
.links-section a { color: var(--gold); }
img, video, iframe { max-width: 100%; }
.content-section>img { height: auto; max-width: 100%; border-radius: 14px; }
.content-section iframe { width: 100%; min-height: 320px; border: 1px solid var(--line); border-radius: 14px; }
.product-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #38251a, #241915); box-shadow: var(--shadow); }
.product-card img { object-fit: contain; }
.product-name { color: var(--cyan); }
.product-price { color: var(--gold); }
input, textarea { width: 100%; padding: .8rem .9rem; border: 1px solid rgba(202, 158, 117, .38); border-radius: 10px; background: #1a120f; color: var(--text); font: inherit; }
input[type=checkbox] { width: auto; accent-color: #d89457; }
form { gap: 1rem !important; }
form label { display: block; }
form label label { display: inline-flex; align-items: center; gap: .4rem; margin-right: 1rem; }
small { color: var(--muted); }
.submit-disabled { border-color: rgba(242, 143, 112, .4) !important; background: rgba(126, 58, 39, .48) !important; color: white !important; }
.submit-enabled { background: linear-gradient(115deg, #8e512e, #c08047) !important; color: white !important; }
footer { width: min(100%, 1180px); margin: auto auto 24px; padding: 1rem; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.rainbow-button { border-radius: 14px !important; background: linear-gradient(115deg, #975630, #c1864d) !important; animation: none !important; }
.center-text { max-width: 950px; padding: 1rem; }
.glow, .glowtwo, .glowthree { font-size: clamp(1.2rem, 3vw, 2rem) !important; line-height: 1.55; }
.glow { color: #f2e4d2 !important; text-shadow: none !important; }
.glowtwo { color: var(--cyan) !important; -webkit-text-fill-color: var(--cyan) !important; text-shadow: 0 0 16px rgba(224, 157, 91, .27) !important; }
.glowthree { color: var(--danger) !important; -webkit-text-fill-color: var(--danger) !important; text-shadow: none !important; }
body:has(.center-text) { background-color: var(--bg) !important; padding: 1rem; }
.content { gap: 1.5rem !important; }
.submit-disabled:focus-visible { outline-color: var(--danger); }
.application-section { width: min(100% - 2rem, 620px); }
.application-form { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 100%; }
.application-form textarea { min-height: 8rem; }
.application-form button { align-self: flex-start; min-width: 10rem; }
.server-connect { width: min(100% - 2rem, 920px); margin: clamp(2rem, 7vh, 5rem) auto; display: grid; gap: 1.25rem; }
.server-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(52, 34, 25, .97), rgba(34, 23, 18, .98)); box-shadow: var(--shadow); text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.server-card:hover { transform: translateY(-2px); border-color: rgba(236, 184, 125, .55); box-shadow: var(--shadow), 0 0 24px rgba(185, 111, 59, .11); }
.server-card h1 { margin: 0 0 .7rem; color: var(--gold); font-size: clamp(1.5rem, 4vw, 2rem); }
.server-address { display: block; margin: .35rem 0; color: var(--text); font: 650 clamp(1rem, 3vw, 1.25rem)/1.5 Consolas, monospace; overflow-wrap: anywhere; }
.server-meta { margin: .4rem 0 1rem; color: var(--muted); }
.server-notice { text-align: center; color: var(--muted); }
.site-nav { position:relative; z-index:2; width:min(100% - 2rem,1180px); margin:1rem auto 0; padding:.6rem .9rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; border:1px solid var(--line); border-radius:16px; background:rgba(37,25,20,.96); box-shadow:var(--shadow); }
.site-nav-brand { font-size:1.2rem; font-weight:800; text-decoration:none; color:var(--gold); }
.site-nav-links { display:flex; align-items:center; justify-content:flex-end; gap:clamp(.5rem,2vw,1.3rem); flex-wrap:wrap; }
.site-nav-links a { font-weight:650; text-decoration:none; }
.site-nav-coins { color:var(--muted); font-size:.9rem; white-space:nowrap; }.site-nav-coins strong { color:var(--gold); }
.site-nav-coins[hidden] { display:none !important; }
.site-nav-links { margin-left:auto; }
.account-page { max-width:820px; }
.account-page .ui-icon { width:1.1em; height:1.1em; vertical-align:-.16em; margin-right:.35em; color:currentColor; }
.account-page button .ui-icon,.site-nav .ui-icon { width:1em; height:1em; vertical-align:-.12em; margin-right:.4em; }
.registration-code { display:inline-block; padding:.45rem .75rem; border:1px solid var(--line); border-radius:10px; background:#1a120f; color:var(--gold); font:700 1.2rem/1.4 Consolas,monospace; letter-spacing:.1em; }
.registration-verified { color:#a7dfaa; font-weight:700; }
.registration-card [data-registration-step] { margin-top:.65rem; }
.account-page [hidden], .secret-panel[hidden] { display:none !important; }
.account-card { margin:1rem 0; padding:clamp(1rem,3vw,1.5rem); border:1px solid var(--line); border-radius:16px; background:rgba(255,235,210,.025); }
.account-card h2,.shop-history h2 { margin:.1rem 0 .8rem; color:var(--gold); }
.account-card h3 { margin:.8rem 0 .4rem; }
.account-card form { display:grid; gap:.8rem !important; margin-top:1rem; }
.account-card details form { margin-top:.75rem; }
.account-card form button { justify-self:start; }
.account-card summary { cursor:pointer; font-weight:700; color:var(--gold); }
.danger-card { border-color:rgba(242,143,112,.4); }.danger-button { background:rgba(126,58,39,.6); border-color:var(--danger); }
.is-error { color:var(--danger); }
.secret-panel { margin:1rem 0; padding:1rem; border:1px solid var(--gold); border-radius:14px; background:rgba(255,213,138,.08); overflow-wrap:anywhere; }
.secret-codes { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:.5rem; padding-left:1.3rem; }.secret-codes code,.link-code { color:var(--gold); font-size:1.05em; letter-spacing:.04em; }
.secret-actions { display:flex; gap:.7rem; flex-wrap:wrap; }
.shop-page { max-width:1000px; }.shop-toolbar { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; border-bottom:1px solid var(--line); padding-bottom:1rem; }
.shop-toolbar h2 { margin:0; color:var(--gold); }.shop-toolbar p { margin:.2rem 0; }.shop-modes { display:flex; gap:.5rem; }.shop-modes [aria-pressed="true"] { border-color:var(--gold); box-shadow:0 0 14px rgba(207,133,72,.25); }
.shop-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:1rem; margin:1rem 0; }.shop-product { min-width:0; text-align:center; display:flex; flex-direction:column; align-items:center; gap:.4rem; }.shop-product h3,.shop-product p { margin:.25rem 0; }.shop-product-image { width:min(100%,220px); height:150px; object-fit:contain; border-radius:10px; }.shop-description { color:var(--muted); }.shop-effect-note,.shop-disabled { color:var(--muted); font-size:.9rem; }.shop-buy { margin-top:auto; }
.shop-paypal { box-sizing:border-box; width:100%; max-width:440px; min-width:0; min-height:0; margin:1rem auto 0; overflow:hidden; border-radius:12px; background:var(--panel); color:var(--text); }
.shop-paypal iframe { display:block; box-sizing:border-box; width:100%; max-width:100%; min-height:0 !important; height:auto; border:0 !important; border-radius:0; background:transparent; box-shadow:none !important; }
.shop-history { margin-top:2rem; padding-top:1rem; border-top:1px solid var(--line); }.shop-ledger { padding-left:1.3rem; }.shop-ledger li { margin:.4rem 0; }.shop-note { color:var(--muted); font-size:.92rem; }
.admin-home-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
@media(max-width:600px) { .admin-home-cards { grid-template-columns:minmax(0,1fr); } }
.admin-home-cards[hidden] { display:none !important; }
.admin-home-cards > h2 { grid-column:1 / -1; display:flex; align-items:center; gap:.4rem; margin:0 0 .25rem; color:var(--gold); font-size:clamp(1.2rem,3vw,1.65rem); letter-spacing:.035em; text-shadow:0 0 24px #e09d5b33; }
.admin-home-cards > h2::after { content:""; flex:1; height:1px; margin-left:.6rem; background:linear-gradient(90deg,var(--gold),transparent); opacity:.45; }
.admin-home-card { display:grid; gap:.3rem; padding:1.2rem; border:1px solid var(--line); border-radius:16px; text-decoration:none; background:rgba(255,235,210,.035); }
.admin-home-card strong { font-size:1.2rem; color:var(--gold); }
@media(max-width:600px) { .site-nav { width:calc(100% - 1rem); align-items:flex-start; }.site-nav-links { gap:.45rem .8rem; }.site-nav-coins { width:100%; text-align:right; }.account-card form button { width:100%; }.shop-toolbar { align-items:flex-start; flex-direction:column; } }
@media(max-width: 960px) { .owner-card { flex-direction: column; } }
.owner-card { display: flex; align-items: flex-start; gap: 1rem; min-width: 0; }
.owner-card>div { min-width: 0; overflow-wrap: anywhere; }
.owner-card img { width: 96px !important; height: 96px !important; border-radius: 16px; }
@media(max-width: 720px) {
  header { width: calc(100% - 1rem); margin-top: .5rem; padding: 2.5rem 1rem 1.5rem; border-radius: 20px; }
  .owner-section>div { grid-template-columns: 1fr; }
  .owner-section>div>div { flex-wrap: wrap; }
  .content-section, .owner-section { width: calc(100% - 1rem); margin: .6rem auto; padding: 1.2rem; }
  .application-section { width: min(100% - 1rem, 620px); }
  .content-section iframe { min-height: 220px; }
  .content-section br { display: none; }
}
@media(max-width: 600px) {
  header p:has(.button) { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; }
  header p:has(.button) .button { width: 100%; white-space: normal; }
  .owner-section>div { grid-template-columns: 1fr; }
  .application-form button { width: 100%; }
}
@media(prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Navigation destinations retain their recognizable colors. */
.site-nav-links a.site-nav-whitelist { color:#fff; }
.site-nav-links a.site-nav-discord { color:#8fa4ff; }
.site-nav-links a.site-nav-whitelist:hover { color:#fff; text-shadow:0 0 12px #ffffff55; }
.site-nav-links a.site-nav-discord:hover { color:#b9c6ff; text-shadow:0 0 12px #8fa4ff66; }
.site-nav-status{position:relative;color:var(--gold);font-weight:650}.site-nav-status summary{cursor:pointer;list-style:none}.site-nav-status summary::-webkit-details-marker{display:none}.site-nav-status-list{position:absolute;z-index:10;right:0;top:calc(100% + .55rem);display:grid;gap:.45rem;min-width:240px;max-width:min(90vw,360px);max-height:min(60vh,28rem);overflow:auto;padding:.65rem;border:1px solid var(--line);border-radius:12px;background:#251914;box-shadow:var(--shadow)}.site-nav-status-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.site-nav-status-item a{overflow-wrap:anywhere}.site-nav-status-item button{padding:.3rem .5rem;border:1px solid var(--line);border-radius:7px;background:#35241b;color:var(--text);cursor:pointer}.whitelist-status-edit{max-width:34rem;margin-top:2rem;padding:1.2rem;border:1px solid var(--line);border-radius:14px;background:#251914}.whitelist-status-edit label{display:grid;gap:.5rem}.whitelist-status-edit input{width:100%;box-sizing:border-box;padding:.7rem;border:1px solid var(--line);border-radius:8px;background:#17110d;color:var(--text)}.whitelist-status-edit button{margin-top:.8rem}

/* Account activity: purchases and balance changes remain visually distinct. */
.account-history-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.2rem; }
.history-group { min-width:0; padding:1rem; border:1px solid var(--line); border-top:3px solid #e5ad72; border-radius:16px; background:linear-gradient(145deg,#e5ad720b,transparent); }
.history-group-coins { border-top-color:#8bc8b0; background:linear-gradient(145deg,#8bc8b00b,transparent); }
.history-heading { display:flex; align-items:center; color:#efc292; font-size:1.05rem; }
.history-group-coins .history-heading { color:#a8dbc6; }
.history-caption,.history-empty { color:var(--muted); font-size:.82rem; line-height:1.55; margin:.4rem 0 1rem; }
.history-list { list-style:none; padding:0; margin:0; display:grid; gap:.8rem; }
.history-entry { min-width:0; padding:1rem; border:1px solid var(--line); border-radius:12px; background:#170f0bc4; }
.history-entry-top { display:flex; flex-wrap:wrap; align-items:flex-start; gap:.55rem; }
.history-title { flex:1 1 140px; color:var(--text); font-size:.94rem; line-height:1.45; overflow-wrap:anywhere; }
.history-badge { display:inline-block; border:1px solid #b9a38d44; border-radius:6px; padding:.18rem .45rem; font-size:.69rem; line-height:1.5; color:#d6c8b9; background:#b9a38d12; }
.history-badge[data-state="completed"],.history-badge[data-state="credit"] { color:#a8dbc6; border-color:#8bc8b044; background:#8bc8b014; }
.history-badge[data-state="delivered"] { color:#a8dbc6; border-color:#8bc8b044; background:#8bc8b014; }
.history-badge[data-state="pending"],.history-badge[data-state="creating"] { color:#f2d28d; border-color:#f2d28d44; }
.history-badge[data-state="manual_review"] { color:#efb8a8; border-color:#efb8a844; background:#efb8a80c; }
.history-badge[data-state="failed"],.history-badge[data-state="debit"] { color:#f0ad9e; border-color:#f0ad9e44; background:#f0ad9e0c; }
.history-delivery{display:block;flex-basis:100%;margin-top:.25rem;color:#c8b79f}.history-delivery-pending{color:#f2d28d}.history-delivery-delivered{color:#a8dbc6}.history-delivery-manual_review{color:#efb8a8}
.history-amounts { display:flex; flex-wrap:wrap; gap:.3rem .8rem; align-items:baseline; margin:.8rem 0 .45rem; }
.history-amount { font-size:1.13rem; font-variant-numeric:tabular-nums; color:#efc292; }
.history-credit { color:#a8dbc6; }.history-debit { color:#f0ad9e; }
.history-balance { flex-basis:100%; font-size:.75rem; color:var(--muted); }
.history-date { display:block; font-size:.73rem; color:var(--muted); }
@media(max-width:680px) { .account-history-grid { grid-template-columns:minmax(0,1fr); }.history-group { padding:.8rem; } }
.account-page .history-list { max-height:28rem; overflow-y:auto; overscroll-behavior:contain; padding:.15rem .55rem .15rem 0; scrollbar-color:#6574a5 #121827; scrollbar-width:thin; }
.account-page .history-list:focus-visible { outline:2px solid #67e8f9; outline-offset:3px; border-radius:8px; }
.account-page .history-list::-webkit-scrollbar { width:.65rem; }
.account-page .history-list::-webkit-scrollbar-track { background:#121827; border-radius:1rem; }
.account-page .history-list::-webkit-scrollbar-thumb { background:linear-gradient(#67e8f9,#a78bfa); border:2px solid #121827; border-radius:1rem; }
@media(max-width:680px) { .account-page .history-list { max-height:24rem; } }
/* The history stays inside a padded card at every viewport size. */
.shop-history{min-width:0;margin:1.25rem 0;padding:clamp(1rem,3vw,1.5rem);border:1px solid var(--line);border-radius:16px;background:rgba(255,235,210,.025)}
.shop-history h2{overflow-wrap:anywhere}
.history-group{min-width:0}
.history-heading{gap:.45rem;min-width:0;overflow-wrap:anywhere}
.history-heading .ui-icon{flex:0 0 1.1em;margin:0 .1em 0 0}
@media(max-width:680px){.shop-history{padding:.8rem}.account-history-grid{grid-template-columns:minmax(0,1fr)}}
/* Narrow viewport safeguards shared by the public, account, and admin routes. */
header h1,.server-card h1{white-space:normal;overflow-wrap:anywhere}
input,textarea,select,button{max-width:100%;min-width:0}
input,textarea,select{font-size:16px}
.content-section,.owner-section,.account-card,.shop-history,.admin-panel,.admin-shell,.community-page,.cloud-section,.player-page{min-width:0}
table{max-width:100%}
@media(max-width:720px){.owner-section>div{grid-template-columns:minmax(0,1fr)}.content-section,.owner-section{padding:1rem}.site-nav{flex-wrap:wrap}.site-nav-brand{min-width:0;overflow-wrap:anywhere}.site-nav-links{min-width:0;justify-content:flex-start}}
@media(max-width:720px){.site-nav .site-nav-brand{white-space:normal;flex-shrink:1}.button{white-space:normal}.site-nav-status-item button{min-width:44px;min-height:44px}.community-page button:not(.gallery-frame){min-height:44px}}
/* Small feedback animations; the page background stays static. */
.session-greeting{color:var(--accent,#edbd82);font-size:1rem;margin:.8rem 0 0;overflow-wrap:anywhere}
.music-status-chip{display:inline-flex;align-items:center;gap:.55rem;padding:.35rem .8rem;margin:.8rem 0 0;border:1px solid #795438;border-radius:99px;background:#241910;color:#dac4aa;font-size:.82rem;max-width:100%;overflow-wrap:anywhere}
.music-status-chip::before,#playercount[data-server-state] h2::before{content:'';display:inline-block;flex:none;width:.55rem;height:.55rem;border-radius:50%;background:#9c9387;box-shadow:0 0 0 4px #9c938715}
.music-status-chip[data-playing="true"]::before,#playercount[data-server-state="online"] h2::before{background:#91bd79;box-shadow:0 0 9px #91bd7955}
#playercount[data-server-state="offline"] h2::before{background:#dba476}
#playercount[data-server-state] h2::before{margin-right:.8rem;vertical-align:middle}
@keyframes hdc-content-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
#admin-content>.website-form,#admin-content>table,dialog[open],.home-updates{animation:hdc-content-enter .18s ease-out}
.home-update-card{transition:border-color .18s ease,box-shadow .18s ease}
.home-update-card:hover{border-color:#c79863;box-shadow:0 5px 20px #0003}
@media(prefers-reduced-motion:reduce){#admin-content>.website-form,#admin-content>table,dialog[open],.home-updates{animation:none}.home-update-card{transition:none}}

/* Homepage: one clear welcome panel, with the live status and application action kept together. */
.home-page>header.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);align-items:center;gap:clamp(1.5rem,4vw,3.5rem);width:min(100% - 2rem,1180px);min-height:430px;margin:1rem auto 0;padding:clamp(1.5rem,5vw,4.25rem);text-align:left;border-color:#76543a;background:radial-gradient(ellipse at 15% 0,#65432470,transparent 46%),linear-gradient(120deg,#2a1d16,#18120f 70%);}
.home-page>header.home-hero:after{display:none}
.home-hero-copy{position:relative;z-index:1;max-width:40rem}.home-eyebrow{display:inline-block;margin-bottom:.8rem;color:#e7bd83;font-size:.76rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.home-page .home-hero h1{max-width:12ch;margin:0 0 .9rem;white-space:normal;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.3rem,5.2vw,4.2rem);line-height:1.03;letter-spacing:-.025em;background:linear-gradient(100deg,#fff2dc,#e1ae70 75%,#c7824a);color:transparent;background-clip:text}
.home-hero-copy>p{max-width:48ch;margin:.4rem 0 1.25rem;color:#d5c0a8;font-size:1.06rem;line-height:1.65}
.home-hero #playercount{display:flex;align-items:center;flex-wrap:wrap;gap:.2rem .75rem;width:fit-content;max-width:100%;padding:.55rem .8rem;border:1px solid #735238;border-radius:12px;background:#170f0bc9;font-size:.88rem}.home-hero #playercount h2{margin:0;color:#f0d7b3;font-size:.9rem;font-weight:750}.home-hero #playercount .server-uptime{margin:0;color:#bda68e;font-size:.82rem}
.home-hero-art{position:relative;align-self:stretch;min-height:270px;margin:0;overflow:hidden;border:1px solid #89613d;border-radius:20px;background:linear-gradient(135deg,#56402c,#211812);box-shadow:0 20px 44px #0b070680}.home-hero-art:after{position:absolute;inset:45% 0 0;content:"";background:linear-gradient(0deg,#120c09d9,transparent);pointer-events:none}.home-hero-art img{display:block;width:100%;height:100%;min-height:270px;object-fit:cover}.home-hero-art figcaption{position:absolute;z-index:1;right:1rem;bottom:.75rem;left:1rem;color:#f2dfc4;font-size:.78rem;letter-spacing:.04em}.home-hero-art.is-fallback{background:radial-gradient(ellipse at 67% 30%,#e5b665 0 7%,transparent 7.5%),linear-gradient(180deg,#513222 0,#a86a3a 42%,#684426 60%,#2d2419 100%)}.home-hero-art.is-fallback:before{position:absolute;inset:30% 0 0;content:"";background:linear-gradient(180deg,transparent 0 24%,#49331f 24% 38%,transparent 38%),linear-gradient(90deg,transparent 0 9%,#74502d 9% 17%,transparent 17% 24%,#554027 24% 35%,transparent 35% 45%,#78512c 45% 54%,transparent 54% 63%,#533c25 63% 72%,transparent 72% 84%,#6e4929 84% 91%,transparent 91%),linear-gradient(0deg,#1a2417 0 21%,#334125 21% 38%,#29371f 38% 48%,transparent 48%);background-size:100% 100%,100% 68%,100% 100%;background-repeat:no-repeat;background-position:center bottom;image-rendering:pixelated}.home-hero-art.is-fallback img{display:none}
.home-hero #playercount:before{content:none}
.home-hero>.session-greeting,.home-hero>.music-status-chip{align-self:center;margin:0;max-width:100%;font-size:.82rem}.home-hero>.session-greeting{grid-column:1;grid-row:2;color:#e7bd83}.home-hero>.music-status-chip{grid-column:2;grid-row:2;justify-self:stretch}
.home-page .content-section{max-width:1180px}.home-page .content-section>h3{margin-top:1.6rem}.home-page .content-section>p:first-child{max-width:70ch;font-size:1.08rem;color:#e5cfb5}.home-page .content-section ul{padding-left:1.25rem}.home-page .content-section li{margin:.35rem 0}
/* Shop catalogue: items sit on a quiet display plinth, while prices remain the focal point. */
.shop-page .shop-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:1.1rem}.shop-page .shop-product{position:relative;align-items:stretch;gap:.55rem;min-height:100%;padding:1rem;border:1px solid #60452f;border-radius:18px;background:linear-gradient(155deg,#33241a,#241914 72%);box-shadow:0 10px 26px #09060470;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.shop-page .shop-product:hover{transform:translateY(-3px);border-color:#b57a48;box-shadow:0 16px 32px #09060490,0 0 22px #b9793b18}.shop-page .shop-product-image{align-self:center;width:100%;height:clamp(145px,16vw,190px);margin:0 0 .3rem;border:1px solid #62462f;border-radius:14px;background:radial-gradient(ellipse at 50% 78%,#8f5d3429,transparent 55%),linear-gradient(145deg,#211710,#302218);object-fit:contain;image-rendering:pixelated}.shop-page .shop-item-inventory{display:grid;grid-template-columns:repeat(3,56px);justify-content:center;gap:.55rem;width:100%;min-height:145px;align-content:center;padding:1rem;border:1px solid #62462f;border-radius:14px;background:radial-gradient(ellipse at 50% 90%,#a6763d38,transparent 55%),linear-gradient(145deg,#211710,#302218)}.shop-page .shop-item-stack{position:relative;display:grid;place-items:center;width:56px;height:56px;border:1px solid #80603e;border-radius:10px;background:linear-gradient(145deg,#3d2c1e,#241a13);box-shadow:inset 0 1px #ffffff15,0 4px 9px #09060477}.shop-page .shop-item-icon{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.shop-page .shop-item-count{position:absolute;right:3px;bottom:0;padding:0 3px;border-radius:5px;background:#140f0bd9;color:#f7dfb6;font-size:.75rem;font-weight:800}.shop-page .shop-product .product-name{margin:.2rem 0 0;color:#f0c58c;font-size:1.2rem;text-align:left}.shop-page .shop-description,.shop-page .shop-effect-note,.shop-page .shop-disabled{margin:0;text-align:left}.shop-page .shop-product .product-price{margin:.25rem 0;color:#ffe0a5;font-size:1.2rem;font-weight:850;text-align:left}.shop-page .shop-buy{align-self:stretch;min-height:2.9rem;margin-top:auto;border-color:#c18a51;background:linear-gradient(120deg,#a7673b,#774426);color:#fff3df}.shop-page .shop-rank-preview{margin:.25rem 0;background:linear-gradient(145deg,#211710,#302218);border-color:#74563b}
.shop-sale-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:.35rem;padding:.3rem .65rem;border:1px solid #d5a75b;border-radius:999px;background:linear-gradient(120deg,#714321,#4c2d1b);color:#ffe8b8;font-size:.75rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.shop-price-line{display:flex;align-items:baseline;gap:.6rem;flex-wrap:wrap}.shop-price-original{color:#b8a18b;font-size:.9rem;text-decoration:line-through;text-decoration-color:#d08764}.shop-sale-timer{color:#e9bd7b;font-size:.8rem;font-weight:700}.shop-product.is-on-sale{border-color:#b8874b;background:radial-gradient(ellipse at 90% 0,#aa74341c,transparent 50%),linear-gradient(155deg,#38271b,#241914 72%)}
@media(max-width:760px){.home-page>header.home-hero{grid-template-columns:minmax(0,1fr);min-height:0;gap:1.3rem;padding:1.5rem}.home-page .home-hero h1{max-width:15ch;font-size:clamp(2rem,9vw,3.2rem)}.home-hero-art{min-height:180px;max-height:290px}.home-hero-art img{min-height:180px}.home-hero #playercount{width:100%}.home-hero>.session-greeting,.home-hero>.music-status-chip{grid-column:1;grid-row:auto;justify-self:stretch}}
@media(prefers-reduced-motion:reduce){.shop-page .shop-product{transition:none}.shop-page .shop-product:hover{transform:none}}

.subscription-list{list-style:none;padding:0;display:grid;gap:.8rem}.subscription-account-item{padding:1rem;border:1px solid var(--line);border-radius:12px;background:linear-gradient(145deg,#8bc8b008,transparent)}.subscription-account-item p{margin:.3rem 0}.subscription-account-item button{margin-top:.45rem}.account-page [data-discord-link-details]{overflow-wrap:anywhere}.account-page [data-discord-code-output]{margin:.8rem 0;padding:.8rem;border:1px dashed var(--line);border-radius:10px}.account-page [data-discord-code-output] code{overflow-wrap:anywhere}

.site-nav-inbox[hidden]{display:none!important}.site-nav-inbox[data-unread="true"]{color:#a7e7f1;text-shadow:0 0 12px #65cfe544}
.shop-item-inventory{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;min-height:52px;margin:.65rem 0;padding:.5rem .65rem;border:1px solid rgba(202,142,91,.32);border-radius:10px;background:linear-gradient(145deg,#1b120e,#241810);width:max-content;max-width:100%}.shop-item-stack{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid #765233;border-radius:6px;background:linear-gradient(145deg,#3b2a1e,#211711);image-rendering:pixelated}.shop-item-icon{width:32px;height:32px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(1px 2px 0 #0008)}.shop-item-count{position:absolute;right:2px;bottom:0;color:#fff4d5;font-size:.8rem;font-weight:800;line-height:1.1;text-shadow:1px 1px 1px #000,-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000}.shop-item-missing::before{content:'?';color:#e8b878;font-size:1.1rem;font-weight:800}
