/* ===== YGG Portal - Donation Shop: hero, members-only gate, checkout + result windows ===== */
.dsx-hero, .dsc {
    --dx-gold: #f2c873;
    --dx-amber: #e5a52a;
    --dx-line: #2c3c58;
    --dx-line-soft: #223049;
    --dx-muted: #a8b4c9;
    --dx-dim: #8392ab;
    --dx-jade: #8ee2b3;
}
html.dsx-lock { overflow: hidden; }

/* ---------- Buttons ---------- */
.dsx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 22px; border-radius: 10px; border: 0;
    font: 700 15px/1 Arial, sans-serif; text-decoration: none !important; cursor: pointer;
    color: #1a1204 !important;
    background: linear-gradient(180deg, #f8d584, #e5a52a);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 26px rgba(229, 165, 42, .26);
    transition: transform .15s, filter .15s, border-color .15s, color .15s, background .15s;
}
.dsx-btn:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.dsx-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.dsx-btn:disabled { background: #232d44; color: #8a96b0 !important; box-shadow: none; cursor: not-allowed; transform: none; }
.dsx-btn--xl { padding: 17px 28px; font-size: 17px; border-radius: 12px; }
.dsx-btn--ghost { background: rgba(13, 21, 38, .55); color: #d6deef !important; border: 1px solid #4a5a7e; box-shadow: none; }
.dsx-btn--ghost:hover:not(:disabled) { border-color: #f2c873; color: #f2c873 !important; filter: none; }

/* ---------- Hero ---------- */
.dsx-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 10px; align-items: center;
    min-height: 400px; margin-bottom: 26px; padding: 36px 24px 36px 42px;
    border: 1px solid var(--dx-line); border-radius: 22px;
    background:
        radial-gradient(60% 90% at 78% 55%, rgba(242, 200, 115, .2), transparent 62%),
        radial-gradient(90% 120% at 0% 0%, rgba(142, 226, 179, .07), transparent 55%),
        linear-gradient(160deg, #18263f, #0c1424 72%);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.dsx-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 22px);
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%); mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.dsx-hero__main { position: relative; z-index: 2; max-width: 580px; }
.dsx-eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--dx-gold); font: 800 11px/1 Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.dsx-title { margin: 12px 0 14px; font: 700 clamp(30px, 4.2vw, 46px)/1.1 Georgia, "Times New Roman", serif; color: var(--dx-gold); text-shadow: 0 2px 22px rgba(242, 200, 115, .22); }
.dsx-lead { margin: 0 0 22px; color: #cfd8e8; font-size: 16px; line-height: 1.6; }
.dsx-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.dsx-wallet {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center;
    margin: 0 0 22px; padding: 16px 18px; border-radius: 16px;
    border: 1px solid rgba(242, 200, 115, .3);
    background: radial-gradient(120% 120% at 0% 0%, rgba(242, 200, 115, .14), transparent 60%), rgba(9, 15, 28, .72);
}
.dsx-wallet__icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #1a1204; background: linear-gradient(180deg, #f8d584, #e5a52a); }
.dsx-wallet__label { display: block; color: var(--dx-dim); font: 700 11px/1.2 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.dsx-wallet__value { display: block; margin-top: 4px; font: 800 30px/1 Arial, sans-serif; font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff, #f2c873); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; }
.dsx-wallet__who { grid-column: 2; color: var(--dx-dim); font-size: 12.5px; }
.dsx-wallet__who b { color: #dfe6f3; }

.dsx-art { position: relative; z-index: 1; display: grid; place-items: center; align-self: stretch; margin: -36px 0; min-height: 360px; pointer-events: none; }
.dsx-art__halo {
    position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 200, 115, .28), rgba(242, 200, 115, .06) 55%, transparent 70%);
    border: 1px solid rgba(242, 200, 115, .16);
    box-shadow: 0 0 0 26px rgba(242, 200, 115, .035), 0 0 0 58px rgba(242, 200, 115, .02);
}
.dsx-art__floor { position: absolute; bottom: 10%; width: 66%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.dsx-art picture { position: relative; display: block; width: min(470px, 100%); }
.dsx-art__img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(0,0,0,.55)) drop-shadow(0 0 1px rgba(0,0,0,.8)); animation: dsxFloat 6s ease-in-out infinite; }
@keyframes dsxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Members-only gate */
.dsx-hero--gate { min-height: 480px; margin-top: 6px; }
.dsx-perks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dsx-perks li { padding: 14px; border-radius: 12px; border: 1px solid var(--dx-line); background: rgba(13, 21, 38, .6); }
.dsx-perks b { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }
.dsx-perks span { color: var(--dx-muted); font-size: 12.5px; line-height: 1.5; }

/* ---------- Checkout window ---------- */
.dsc {
    width: min(540px, calc(100vw - 24px)); max-height: calc(100vh - 32px);
    padding: 0; border: 1px solid #3a4b68; border-radius: 18px;
    background: linear-gradient(170deg, #1a2944, #0d1526 65%); color: #e9edf5;
    box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(242,200,115,.1), inset 0 1px 0 rgba(255,255,255,.05);
    overflow: auto;
}
.dsc::backdrop { background: rgba(4, 8, 18, .8); backdrop-filter: blur(4px); }
.dsc[open] { animation: dscIn .22s cubic-bezier(.2,.9,.3,1.1); }
@keyframes dscIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.dsc-form { position: relative; padding: 22px 24px 24px; margin: 0; }
.dsc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.dsc-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; color: var(--dx-jade); font: 700 11px/1 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.dsc-title { margin: 0; font: 700 23px/1.25 Georgia, "Times New Roman", serif; color: #fff; }
.dsc-x { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #4a5a7e; background: rgba(13,22,38,.9); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: border-color .15s, color .15s, transform .15s; }
.dsc-x:hover:not(:disabled) { border-color: #f2c873; color: #f2c873; transform: rotate(90deg); }
.dsc-x:disabled { opacity: .4; cursor: not-allowed; }

.dsc-item { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--dx-line); border-radius: 14px; background: rgba(11, 19, 36, .75); }
.dsc-art { position: relative; flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 14px;
    background: radial-gradient(circle, rgba(242,200,115,.25), transparent 65%), #0b1324; border: 1px solid rgba(242,200,115,.35); box-shadow: inset 0 0 24px rgba(0,0,0,.55); }
.dsc-art img { width: 64px; height: 64px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); }
.dsc-item-text { min-width: 0; }
.dsc-name { margin: 0 0 4px; font: 700 18px/1.3 Arial, sans-serif; color: #fff; overflow-wrap: anywhere; }
.dsc-meta { margin: 0; color: var(--dx-dim); font-size: 13px; }

.dsc-deliver { margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.dsc-deliver legend { padding: 0; margin-bottom: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dx-dim); }
.dsc-chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.dsc-char { position: relative; cursor: pointer; }
.dsc-char input { position: absolute; opacity: 0; pointer-events: none; }
.dsc-char-box { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--dx-line); border-radius: 10px; background: rgba(21,30,48,.8); transition: border-color .15s, background .15s; }
.dsc-char:hover .dsc-char-box { border-color: #4a5a7e; }
.dsc-char input:checked + .dsc-char-box { border-color: #f2c873; background: rgba(242,200,115,.1); box-shadow: 0 0 0 1px rgba(242,200,115,.35); }
.dsc-char input:focus-visible + .dsc-char-box { outline: 2px solid #fff; outline-offset: 2px; }
.dsc-avatar { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #24324d; color: #f2c873; font: 700 13px Arial, sans-serif; }
.dsc-char input:checked + .dsc-char-box .dsc-avatar { background: #f2c873; color: #1a1204; }
.dsc-char-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dsc-sum { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--dx-line-soft); border-radius: 12px; background: rgba(11,19,36,.55); display: grid; gap: 8px; }
.dsc-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.dsc-sum dt { color: var(--dx-muted); }
.dsc-sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.dsc-total { padding-top: 10px; margin-top: 2px; border-top: 1px dashed var(--dx-line); font-size: 15px; }
.dsc-total dd { color: #f2c873; }
.dsc-total dd.is-neg { color: #ff8a8a; }
.dsc-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(220,70,70,.14); border: 1px solid rgba(220,70,70,.4); color: #ffb3b3; font-size: 13px; }
.dsc-warn[hidden] { display: none; }
.dsc-note { margin: 14px 0 0; color: var(--dx-dim); font-size: 12.5px; line-height: 1.5; }
.dsc-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.dsc-pay { min-width: 180px; font-size: 16px; padding: 14px 22px; }

.dsc-busy { position: absolute; inset: 0; z-index: 3; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; background: rgba(9,15,28,.93); backdrop-filter: blur(2px); }
.dsc-busy[hidden] { display: none; }
.dsc-busy b { font-size: 17px; color: #fff; }
.dsc-busy span:last-child { color: var(--dx-muted); font-size: 13px; max-width: 34ch; }
.dsc-spinner { width: 46px; height: 46px; margin-bottom: 6px; border-radius: 50%; border: 4px solid rgba(242,200,115,.2); border-top-color: #f2c873; animation: dscSpin .8s linear infinite; }
@keyframes dscSpin { to { transform: rotate(360deg); } }

/* ---------- Result window ---------- */
.dsr { width: min(460px, calc(100vw - 24px)); }
.dsr-body { padding: 30px 26px 26px; text-align: center; }
.dsr-visual { position: relative; display: inline-block; margin-bottom: 16px; }
.dsr-art { width: 96px; height: 96px; }
.dsr-badge { position: absolute; right: -14px; bottom: -10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #0d1526; color: #fff; font: 700 18px/1 Arial, sans-serif; }
.dsr[data-kind="ok"] .dsr-badge { background: #2f9e64; }
.dsr[data-kind="ok"] .dsr-badge::before { content: "\2713"; }
.dsr[data-kind="err"] .dsr-badge { background: #c44a4a; }
.dsr[data-kind="err"] .dsr-badge::before { content: "!"; }
.dsr[data-kind="info"] .dsr-badge { background: #2b5d9e; }
.dsr[data-kind="info"] .dsr-badge::before { content: "i"; font-family: Georgia, serif; }
.dsr[data-kind="wait"] .dsr-badge { background: #2b3d5e; box-shadow: inset 0 0 0 3px #f2c873; }
.dsr[data-kind="wait"] .dsr-badge::before { content: ""; width: 40%; height: 40%; border-radius: 50%; border: 3px solid rgba(242,200,115,.3); border-top-color: #f2c873; animation: dscSpin .8s linear infinite; }
.dsr-item { margin: 8px 0 0; color: #f2c873; font-weight: 700; }
.dsr-item span { color: var(--dx-dim); font-weight: 400; font-size: 13px; }
.dsr-steps { display: flex; justify-content: center; gap: 6px; margin: 18px 0 0; padding: 0; counter-reset: s; }
.dsr-steps span { position: relative; flex: 1; max-width: 120px; padding-top: 14px; color: var(--dx-dim); font-size: 11.5px; }
.dsr-steps span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); }
.dsr-steps span.is-done { color: #8ee2b3; }
.dsr-steps span.is-done::before { background: #2f9e64; }
.dsr-steps span.is-active { color: #f2c873; }
.dsr-steps span.is-active::before { background: linear-gradient(90deg, #e5a52a, #f8d584, #e5a52a); background-size: 200% 100%; animation: dsrRun 1.4s linear infinite; }
@keyframes dsrRun { from { background-position: 200% 0; } to { background-position: 0 0; } }
.dsr-msg { margin: 16px 0 0; color: var(--dx-muted); font-size: 15px; line-height: 1.55; }
.dsr-actions { margin-top: 22px; display: flex; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .dsx-hero { grid-template-columns: 1fr; padding: 26px 20px 12px; min-height: 0; }
    .dsx-art { margin: 0 -20px; min-height: 0; }
    .dsx-art picture { width: min(420px, 100%); }
    .dsx-art__halo { width: 62%; }
    .dsx-perks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .dsx-hero { padding: 22px 16px 10px; border-radius: 18px; }
    .dsx-art { margin: 0 -16px; }
    .dsx-cta .dsx-btn { width: 100%; }
    .dsx-wallet__value { font-size: 26px; }
    .dsc-form { padding: 18px 16px; }
    .dsc-actions { flex-direction: column-reverse; }
    .dsc-actions .dsx-btn { width: 100%; }
    .dsc-art { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    .dsc[open], .dsx-art__img, .dsc-spinner, .dsr-badge::before, .dsr-steps span::before { animation: none !important; }
}

/* Donation details: public information, separate from shop checkout. */
.dni-banner { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 28px; margin-bottom:24px; border:1px solid #957139; border-left:4px solid #f2c873; border-radius:16px; background:linear-gradient(110deg,#30291f,#151f32 75%); box-shadow:0 8px 30px #0003; }
.dni-kicker { color:#f2c873; font:700 10px/1.5 'Segoe UI',sans-serif; letter-spacing:.19em; }
.dni-banner h2 { margin:7px 0; color:#f4ead6; font:600 23px/1.2 Georgia,serif; }
.dni-banner p { margin:0; color:#bac4d5; font-size:14px; }
.dni-banner button { flex-shrink:0; }
.dcp { display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,420px); gap:24px; align-items:center; margin:0 0 24px; padding:24px 28px; border:1px solid #42516b; border-radius:16px; background:linear-gradient(110deg,#172944,#101b2d 75%); box-shadow:0 8px 30px #0003; }
.dcp-copy h2 { margin:7px 0; color:#f4ead6; font:600 23px/1.2 Georgia,serif; }
.dcp-copy p { max-width:620px; margin:0; color:#bac4d5; font-size:14px; line-height:1.55; }
.dcp-form { display:grid; gap:12px; }
.dcp-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.dcp-field { display:grid; gap:6px; color:#b4c3da; font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.dcp-field select,.dcp-field input { box-sizing:border-box; width:100%; padding:11px 12px; border:1px solid #536381; border-radius:8px; background:#0d1829; color:#edf2fa; font:14px/1.4 'Segoe UI',sans-serif; }
.dcp-result { display:grid; grid-template-columns:1fr auto; gap:4px 12px; align-items:center; padding:14px 16px; border:1px solid #806634; border-radius:12px; background:linear-gradient(120deg,#2e291f,#18243a); }
.dcp-result__label { color:#bfc9d9; font-size:12px; }
.dcp-result strong { color:#f2c873; font:800 25px/1 Arial,sans-serif; font-variant-numeric:tabular-nums; }
.dcp-result small { grid-column:1/-1; color:#aab8cd; font-size:11px; }
.dcp-status { min-height:1.4em; margin:0; color:#9ce4c3; font-size:11px; line-height:1.4; }
@media(max-width:700px) { .dcp { grid-template-columns:1fr; padding:22px; } }
@media(max-width:460px) { .dcp-fields { grid-template-columns:1fr; } .dcp { padding:18px; } }
.dni { box-sizing:border-box; width:min(600px,calc(100% - 28px)); max-height:calc(100dvh - 32px); padding:0; border:1px solid #5f543e; border-radius:22px; color:#e9edf5; background:#111b2b; box-shadow:0 32px 100px #0009; font:14px/1.55 'Segoe UI',Arial,sans-serif; overflow:auto; }
.dni::backdrop { background:#030912c9; backdrop-filter:blur(7px); }
.dni *, .dni *::before { box-sizing:border-box; }
.dni-close { position:absolute; top:16px; right:16px; width:36px; height:36px; border:1px solid #536078; border-radius:50%; background:#172233; color:#cbd4e2; font:24px/1 Arial,sans-serif; cursor:pointer; }
.dni-header { padding:30px 32px 24px; border-bottom:1px solid #334052; background:radial-gradient(ellipse at 10% 0%,#6c512a50,transparent 75%); }
.dni-header h2 { margin:12px 0 10px; max-width:420px; color:#fff0d2; font:500 34px/1.12 Georgia,serif; letter-spacing:-.7px; }
.dni-header p { margin:0; color:#b4bfd0; }
.dni-body { padding:24px 32px 0; }
.dni-step { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.dni-step > span:first-child { display:grid; place-items:center; width:27px; height:27px; border:1px solid #786039; border-radius:8px; color:#f2c873; background:#b88b2312; font-size:11px; font-weight:700; }
.dni-step h3 { margin:0; color:#edf1f8; font-size:15px; font-weight:600; }
.dni-gcash { padding:20px; border:1px solid #3976bd; border-radius:14px; background:radial-gradient(ellipse at 100% 0%,#1d5ea548,transparent 75%),#142841; }
.dni-method,.dni-brand,.dni-number-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.dni-brand { justify-content:flex-start; font-size:22px; }
.dni-gmark { display:grid; place-items:center; width:36px; height:36px; border:2px solid #8dc4ff; border-radius:50%; color:white; background:#096bdf; font:bold 25px/1 Arial,sans-serif; }
.dni-available { color:#9ce4c3; font-size:11px; }
.dni-label { display:block; color:#b4c3da; font-size:10px; letter-spacing:.13em; font-weight:600; }
.dni-method { margin-bottom:22px; }
.dni-number { color:#fff; font-size:30px; letter-spacing:.025em; font-weight:650; font-variant-numeric:tabular-nums; user-select:all; }
.dni-copy { padding:9px 12px; border:1px solid #6788b1; border-radius:7px; background:#233f62; color:#eff6ff; cursor:pointer; font:600 11px/1.4 'Segoe UI',sans-serif; }
.dni-copy:hover { background:#31547d; }
.dni-holder { margin-top:17px; padding-top:15px; border-top:1px solid #3a516e; }
.dni-holder strong { display:block; margin-top:3px; color:#edf3ff; font-size:16px; letter-spacing:.06em; }
.dni-note { margin:12px 0 0; font-size:11px; color:#adbed4; }
.dni-upcoming { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.dni-upcoming > div { display:flex; align-items:center; justify-content:space-between; gap:8px; border:1px solid #334056; border-radius:10px; padding:13px 14px; background:#172131; }
.dni-upcoming strong { font-size:12px; color:#b6c0d0; font-weight:600; }
.dni-upcoming span { color:#aab4c5; font-size:10px; }
.dni-confirm { margin-top:24px; }
.dni-required { margin-left:auto; font-size:9px; letter-spacing:.1em; color:#f2c873; }
.dni-confirm p { margin:0 0 16px; color:#b8c4d6; font-size:13px; }
.dni-discord { display:flex; align-items:center; justify-content:center; gap:14px; padding:13px 18px; border:1px solid #9b9fff; border-radius:9px; background:#5865e8; color:#fff !important; font-weight:650; text-decoration:none !important; }
.dni-discord:hover { background:#6874f4; }
.dni-discord-note { display:block; margin-top:9px; color:#a9b7cd; text-align:center; font-size:10px; }
.dni-status { margin:8px 0; color:#9ce4c3; font-size:12px; }
.dni-status:empty { margin:0; }
.dni-footer { margin-top:22px; padding:14px 24px; text-align:center; border-top:1px solid #2d394d; color:#aeb9cb; font-size:11px; background:#0d1625; }
.dni-footer span { color:#f2c873; margin-right:6px; }
.dni :focus-visible { outline:2px solid #f2c873; outline-offset:4px; }
@media(max-width:600px) { .dni-banner { align-items:flex-start; flex-direction:column; padding:22px; gap:18px; } .dni-banner button { width:100%; } .dni-header { padding:28px 22px 22px; } .dni-header h2 { font-size:29px; padding-right:14px; } .dni-body { padding:20px 18px 0; } .dni-gcash { padding:16px; } .dni-number { font-size:clamp(20px,6vw,28px); } .dni-number-row { gap:8px; flex-wrap:wrap; } .dni-upcoming > div { flex-direction:column; align-items:flex-start; gap:3px; } }

/* Donation receipt tickets */
.dni-actions { display:grid; gap:10px; flex-shrink:0; text-align:center; }
.dni-ticket-link { color:#f2c873; font-size:12px; text-decoration:none; }
.dni-discord-note a { color:#d1d4ff; }
.dt-heading { margin:14px 0 30px; }
.dt-heading h1 { color:#f7e6c5; font:500 clamp(30px,4vw,42px)/1.15 Georgia,serif; margin:12px 0; }
.dt-heading p { color:#b4c0d3; margin:0 0 14px; }
.dt-heading a { color:#f2c873; font-size:13px; text-decoration:none; }
.dt-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start; gap:24px; margin-bottom:40px; }
.dt-panel { min-width:0; padding:28px; border:1px solid #35445c; border-radius:18px; background:linear-gradient(145deg,#1a2941,#111b2d); color:#e9edf5; }
.dt-panel h2 { color:#f3eadb; font:500 27px/1.2 Georgia,serif; margin:8px 0 12px; }
.dt-panel p { color:#b4c1d5; font-size:14px; line-height:1.6; }
.dt-form { display:flex; flex-direction:column; gap:10px; margin:24px 0; }
.dt-form label { font-size:13px; font-weight:650; color:#e4eaf5; }
.dt-form input:not([type=hidden]):not([type=file]),.dt-form select,.dt-form textarea { width:100%; padding:12px 14px; border:1px solid #536381; border-radius:8px; background:#0d1829; color:#edf2fa; font:14px/1.4 'Segoe UI',sans-serif; }
.dt-form small { color:#a9b9cf; font-size:11px; line-height:1.6; }
.dt-form label:not(:first-child) { margin-top:8px; }
.dt-upload { display:flex; flex-direction:column; align-items:center; gap:8px; padding:22px 12px; border:1px dashed #7985af; border-radius:12px; background:#5360a014; text-align:center; }
.dt-upload > span { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; background:#303d60; color:#c4cbff; font-size:26px; }
.dt-upload > strong { font-size:14px; }
.dt-upload input { max-width:100%; color:#c3cee0; font-size:12px; }
.dt-upload input::file-selector-button { margin-right:8px; border:1px solid #7b85b0; border-radius:6px; padding:8px 12px; background:#303c61; color:#fff; cursor:pointer; }
.dt-form .dt-private { padding:10px 12px; margin:0; border-left:2px solid #91d9bb; color:#b6ddcd; font-size:12px; background:#7fc4a10a; }
.dt-file-status:empty { display:none; }
.dt-file-status { margin:0; overflow-wrap:anywhere; }
.dt-preview { max-width:100%; max-height:180px; object-fit:contain; border-radius:8px; }
.dt-preview[hidden] { display:none; }
.dt-help { display:block; border-top:1px solid #34445f; padding-top:18px; color:#bfc6ff; font-size:12px; text-decoration:none; }
.dt-inbox-head,.dt-ticket-top { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.dt-tag { display:inline-block; color:#f3d99c; border:1px solid #826634; background:#a5812214; border-radius:20px; padding:4px 10px; font-size:10px; white-space:nowrap; }
.dt-tag--ok { color:#abe2c8; border-color:#406c58; background:#4d9a7314; }
.dt-ticket { padding:20px 0; border-top:1px solid #34445f; overflow-wrap:anywhere; }
.dt-ticket-top strong { font-size:14px; }
.dt-ticket .dt-meta { font-size:11px; color:#a3b3ca; }
.dt-receipt-link { display:inline-block; border:1px solid #5b6c93; border-radius:7px; padding:8px 12px; color:#cbd7ff; font-size:12px; text-decoration:none; }
.dt-reply { margin-top:14px; padding:12px; background:#0d1829; border-radius:8px; }
.dt-reply strong { font-size:11px; color:#a7d9c3; }
.dt-reply p { margin:6px 0 0; }
.dt-review { margin-top:16px; }
.dt-review summary { cursor:pointer; color:#f2c873; font-size:13px; min-height:32px; }
.dt-review .dt-form { margin:12px 0 0; }
.dt-empty { text-align:center; padding:44px 16px; }
.dt-empty strong { color:#f3eadb; }
.dt-pagination { display:flex; justify-content:space-between; gap:12px; }
.dt-pagination a { color:#f2c873; }
.dt-layout :focus-visible { outline:2px solid #f2c873; outline-offset:3px; }
@media(max-width:800px) { .dt-layout { grid-template-columns:1fr; } .dt-panel { padding:22px; } .dni-actions { width:100%; } }

/* Separate ticket sources and a visible ticket entry point. */
.dni-ticket-link { display:flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 20px; border:1px solid #a7b4ff; border-radius:10px; background:linear-gradient(135deg,#5969e5,#424fac); box-shadow:0 6px 20px #303b8055,inset 0 1px 0 #ffffff26; color:#fff !important; font:700 14px/1.4 'Segoe UI',sans-serif; text-decoration:none !important; }
.dni-ticket-link:hover { background:linear-gradient(135deg,#6b7cf3,#5260c7); }
.dni-ticket-link:focus-visible,.dt-source-tab:focus-visible { outline:3px solid #f2c873; outline-offset:4px; }
.dt-source-nav { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0 0 24px; }
.dt-source-tab { display:flex; align-items:center; gap:14px; min-height:86px; padding:18px 22px; border:1px solid #465574; border-radius:12px; background:#152138; color:#d3dced !important; text-decoration:none !important; }
.dt-source-tab > span:first-child { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border-radius:10px; background:#263754; font-size:25px; }
.dt-source-tab strong { display:block; font:650 15px/1.4 'Segoe UI',sans-serif; }
.dt-source-tab small { display:block; margin-top:4px; color:#b0bfd5; font:12px/1.5 'Segoe UI',sans-serif; }
.dt-source-tab:hover { border-color:#a9b7d5; background:#1b2b46; }
.dt-source-tab.is-active { border-color:#e2b662; background:linear-gradient(120deg,#352e22,#1c283d); box-shadow:inset 0 3px 0 #f2c873; color:#ffe2a6 !important; }
.dt-source-tab.is-active > span:first-child { color:#f2c873; background:#5a4528; }
.dt-layout--game { grid-template-columns:minmax(0,1fr); }
.dt-origin { display:block; margin-bottom:10px; color:#aebeff; font:700 10px/1.4 'Segoe UI',sans-serif; letter-spacing:.12em; }
@media(max-width:600px) { .dt-source-nav { grid-template-columns:1fr; gap:10px; } .dt-source-tab { min-height:76px; padding:14px 18px; } }
