/* Gift Coal — seasonal RavenCoven experience. Mobile layouts first. */
:root {
  --night: #181314; --night-soft: #211819; --panel: #241b1d;
  --panel-raised: #302223; --ink: #f6e9da; --paper: #e8d0b5;
  --muted: #d2beb5; --dim: #aa9790; --rose: #d47272;
  --gold: #e1bd8e; --gold-light: #f0d3a8; --edge: #655054;
  --coal-red: #bc4a48; --coal-red-bright: #db6661;
  --coal-cream: #f3e7d5; --coal-ink: #211819;
  --line: rgba(236, 214, 197, .19);
}
html { scroll-padding-top: 30px; }
body {
  color: var(--coal-cream);
  background: #191416;
  background-image: linear-gradient(155deg, #251719 0, #191416 46%, #1b1519 100%);
  font-family: "Segoe UI", Arial, sans-serif;
}
body::after,.ambient-stars { display: none; }
h1,h2,h3 { letter-spacing: -.045em; }
.site-header { background: #191416; border-bottom: 1px solid #4c3739; }
.header-inner { display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 15px 18px; align-items: center; }
.brand-copy strong { font-family: "Arial Black", "Segoe UI", sans-serif; font-size: 1.13rem; font-weight: 900; letter-spacing: -.055em; }
.brand-copy strong span { color: #df7775; }
.brand-copy small { color: #e0bca1; font-size: .62rem; font-weight: 750; letter-spacing: .14em; }
.main-nav { justify-content: flex-start; flex-wrap: nowrap; gap: 11px 18px; max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.main-nav > a,.nav-out { color: #f0e0d1; font-size: .82rem; white-space: nowrap; padding: 7px 0; }
.main-nav .nav-signin { border: 1px solid #cc7a78; color: #f8e3d4; background: none; border-radius: 2px; padding: 9px 12px; }
.main-nav a[aria-current="page"] { color: #f3bdab; }
.site-footer { background: #120f11; border-top: 1px solid #503537; }
.footer-inner { padding: 22px 18px; color: #bfaea4; font-size: .8rem; gap: 12px 22px; }
.footer-inner a { color: #f0bfaa; text-decoration: underline; text-underline-offset: 3px; }
.container { width: min(100% - 36px, 1160px); }
.btn { border-radius: 3px; min-height: 48px; font-size: .92rem; letter-spacing: 0; }
.btn-primary {
  background: var(--coal-red); border: 1px solid #e3887b;
  box-shadow: none; color: white; font-weight: 800;
}
.btn-primary:hover { background: #d65d58; color: white; box-shadow: none; }
.btn-outline { background: transparent; border: 1px solid #c59381; color: #f4e0cf; }
.btn-outline:hover { background: #3e2929; border-color: #e9b4a3; }
.btn-subtle { background: #312326; border: 1px solid #6e5152; color: #f3ddd0; }
.btn-subtle:hover { background: #493033; }
.text-link { color: #f0c6ae; font-size: .9rem; border-bottom-color: #bd837b; }
.text-link:hover { color: white; }
.panel,.featured-panel,.step-card { background: #251d1f; box-shadow: none; border: 1px solid #533c40; }
.metric { background: #241b1d; border-color: #584044; }
.metric strong { color: #f0d1af; }
input,textarea,select { background: #1b1518; border-color: #9e7974; color: #fff0df; border-radius: 3px; }
input:focus,textarea:focus,select:focus { border-color: #e5ab92; }
.status-pill { border-radius: 3px; }
.toast { background: #4a272b; border-color: #b8645e; border-radius: 3px; }

/* Shared campaign typography */
.coal-stamp {
  display: inline-block; margin: 0;
  color: #eeb2a0; font-size: .74rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.coal-title {
  font: 900 clamp(4.5rem, 18vw, 8.8rem)/.86 "Arial Black", Impact, sans-serif;
  letter-spacing: -.085em; margin: 19px 0 23px; max-width: 100%;
  text-transform: none;
}
.coal-title span { color: #e07d74; display: inline-block; }
.coal-hero { display: flex; flex-direction: column; padding-block: 47px 45px; }
.coal-hero__copy { position: relative; z-index: 1; min-width: 0; }
.coal-hero__hook {
  font-weight: 750; font-size: clamp(1.37rem, 5.8vw, 2.05rem);
  line-height: 1.27; max-width: 650px; color: #ffe9d7;
  letter-spacing: -.028em;
}
.coal-hero__hook strong { color: #f2a29a; font-weight: 900; }
.coal-body {
  max-width: 590px; color: #e5d3c7; line-height: 1.7;
  font-size: 1.01rem; margin-top: 21px;
}
.coal-body strong { color: #fff0dc; }
.coal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 28px; }
.coal-actions .btn { min-width: 218px; }
.coal-deadline { color: #cbb4a5; font-size: .8rem; margin-top: 15px; }
.coal-ended { color: #eab9ac; max-width: 425px; }
.coal-art-slot { display: none; }
.coal-art-slot:has(img) { display: block; min-height: 0; margin-block: 18px 28px; }
.coal-art-slot img { display: block; width: 100%; height: auto; object-fit: contain; }
/* Image slot intentionally has no placeholder border, icon, or copy. */

/* Entitlements */
.coal-offer-band { padding: 31px 0 39px; background: #2b2022; border-top: 3px solid #a84747; }
.coal-overline { color: #edb8a3; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; }
.coal-perks { list-style: none; padding: 0; margin: 17px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.coal-perks li { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid #68474c; padding: 17px 0; min-width: 0; }
.coal-perks strong { font-size: clamp(1.17rem, 4.7vw, 1.6rem); color: #fff0db; line-height: 1.2; font-weight: 850; }
.coal-perks span { font-size: .83rem; line-height: 1.45; color: #d4c0b5; }
.coal-freebie { color: #e2bd9d; margin-top: 22px; font-size: .88rem; max-width: 560px; }
.coal-freebie::before { content: "Also: "; font-weight: 800; color: #f0c5a5; }

/* Referrer instructions */
.coal-steps { padding-block: 52px 75px; }
.coal-section-head h2,.coal-footnotes h2 {
  font: 850 clamp(1.9rem, 7vw, 2.9rem)/1.03 "Segoe UI",Arial,sans-serif;
  margin-top: 9px; color: #fff0dc; letter-spacing: -.055em;
}
.coal-steps ol { padding: 0; margin: 25px 0 0; list-style: none; display: grid; gap: 0; }
.coal-steps li { display: grid; grid-template-columns: 45px 1fr; gap: 17px; padding: 20px 0; border-top: 1px solid #67474a; }
.coal-steps li:last-child { border-bottom: 1px solid #67474a; }
.coal-steps li>span { color: #e08d81; font-weight: 900; font-size: 1.02rem; }
.coal-steps h3 { font: 850 1.18rem/1.2 "Segoe UI",Arial,sans-serif; letter-spacing: -.025em; }
.coal-steps li p { color: #d3beb3; font-size: .93rem; margin-top: 6px; line-height: 1.55; }
.coal-smallprint { color: #bba69b; font-size: .8rem; margin-top: 19px; line-height: 1.7; }

/* Invited friend */
.coal-hero--welcome { padding-bottom: 25px; }
.coal-question { color: #e6c9b4; margin-top: 27px; font-size: 1rem; font-weight: 650; }
.coal-punchline {
  display: inline-block; padding: 11px 15px 12px;
  margin-top: 14px; background: #b54947; color: #fff0df;
  font: 900 clamp(1.4rem, 7.2vw, 2.95rem)/1.05 "Arial Black",Impact,sans-serif;
  letter-spacing: -.035em; transform: rotate(-1.8deg);
  max-width: 100%;
}
.coal-inviter { margin-top: 17px; font-size: .83rem; color: #c6b0a5; }
.coal-inviter strong { color: #f6d5bd; }
.coal-claim { display: flex; flex-direction: column; gap: 20px; padding-block: 20px 55px; }
.coal-claim__intro h2 {
  font: 850 clamp(1.8rem, 7vw, 2.85rem)/1.15 "Segoe UI", Arial, sans-serif;
  letter-spacing: -.045em; margin-top: 12px;
}
.coal-claim__intro h2 span { color: #edac9f; }
.coal-perks--claim { margin: 21px 0 0; }
.coal-claim__action {
  margin-top: 9px; background: #e9d6bb;
  color: #241719; padding: 23px 22px 27px;
  box-shadow: 7px 9px 0 #86383b;
}
.coal-claim__action .btn-primary { width: 100%; }
.coal-claim__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 13px;
  font: 900 2.35rem "Arial Black",Impact,sans-serif; letter-spacing: -.055em;
  margin-bottom: 16px;
}
.coal-claim__price small { font: 700 .85rem "Segoe UI",Arial,sans-serif; letter-spacing: 0; }
.coal-claim__note { margin-top: 14px; color: #5b4242; font-size: .82rem; line-height: 1.5; }
.coal-claim__action .coal-deadline { color: #6b4b45; border-top: 1px solid #ad8c80; padding-top: 14px; margin-top: 18px; }
.coal-claim__action .notice { border-radius: 0; margin-bottom: 11px; }
.coal-footnotes { padding: 27px 0 80px; border-top: 1px solid #674448; }
.coal-footnotes p { max-width: 630px; line-height: 1.6; color: #d0b9ab; margin-top: 13px; font-size: .91rem; }

/* Gift link and terms */
.coal-reveal { padding-block: 75px 100px; max-width: 780px; min-height: 65vh; }
.coal-reveal h1,.coal-terms h1 {
  font: 900 clamp(2.9rem, 11vw, 5.7rem)/1 "Arial Black",Impact,sans-serif;
  margin-top: 19px; letter-spacing: -.07em;
}
.coal-reveal h1 span { color: #e47a6d; }
.coal-reveal>p:not(.coal-stamp) { max-width: 560px; margin-top: 23px; line-height: 1.75; color: #dec9bd; }
.coal-reveal .btn { margin-top: 28px; }
.coal-reveal .text-link { display: table; margin-top: 26px; }
.coal-terms { padding-block: 65px 85px; max-width: 900px; }
.coal-terms__items { display: grid; margin: 29px 0; gap: 0; }
.coal-terms__items section { padding: 22px 0; border-top: 1px solid #644448; }
.coal-terms__items h2 { font: 850 1.28rem/1.2 "Segoe UI",Arial,sans-serif; color: #ffe8d3; }
.coal-terms__items p { color: #d3bbae; font-size: .93rem; margin-top: 7px; line-height: 1.72; }
.coal-data-notes { padding: 17px 0; border-top: 1px solid #644448; border-bottom: 1px solid #644448; margin-bottom: 29px; font-size: .88rem; }
.coal-data-notes summary { cursor: pointer; color: #edb9a5; font-weight: 750; }
.coal-data-notes p { color: #d4bfb5; margin-top: 12px; max-width: 700px; line-height: 1.7; }

/* Signed-in sections */
.coal-account { padding-block: 50px 80px; }
.coal-account__head { padding-bottom: 25px; }
.coal-account__head h1 { font: 900 clamp(2.45rem, 11vw, 4.4rem)/1.04 "Segoe UI",Arial,sans-serif; letter-spacing: -.065em; margin-top: 13px; }
.coal-account__head p:last-child { margin-top: 10px; color: #d7c1b7; }
.coal-account .featured-panel { padding: 23px 19px; }
.coal-account .featured-panel h2 { font: 850 clamp(1.43rem, 6.5vw, 2.25rem)/1.1 "Segoe UI",Arial,sans-serif; letter-spacing: -.035em; }
.coal-account .featured-panel p { color: #dac7bf; }
.coal-account .slug-form { margin-top: 23px; }
.coal-account .field-hint { color: #c0a9a0; }
.coal-account .slug-field { background: #191416; border-color: #86676b; }
.coal-account .slug-field>span { color: #d1bbae; }
.coal-account .share-field { margin-top: 12px; }
.coal-account .metrics-grid { margin-top: 21px; }
.coal-account .metric { min-height: 127px; }
.coal-account .metric strong { color: #edb89a; font-family: "Arial Black",Impact,sans-serif; font-size: clamp(1.8rem, 8vw, 3.1rem); letter-spacing: -.07em; }
.coal-account .metric>span:last-child { margin-top: 7px; }
.coal-account__empty { padding: 21px 0; color: #cdb5aa; }
.coal-account__empty h3 { font: 800 1.3rem "Segoe UI",Arial,sans-serif; letter-spacing: -.02em; color: #fff0db; margin-bottom: 9px; }
.coal-account__empty p { max-width: 480px; margin-bottom: 17px; }
.coal-account .page-emblem,.coal-account .metric-icon,.page-gifts .page-emblem { display: none; }

/* Keep operations usable without retro ornaments. */
.page-admin h1,.page-admin h2,.page-admin h3 { font-family: "Segoe UI", Arial, sans-serif; font-weight: 800; letter-spacing: -.035em; }
.page-admin .admin-metric,.page-admin .admin-sidebar,.page-admin .admin-panel { border-radius: 2px; background: #241c1e; box-shadow: none; }
.page-admin .admin-metric strong { font-family: "Segoe UI",Arial,sans-serif; color: #f6d2b5; font-weight: 800; }
.page-admin .sidebar-heading { color: #efb8a0; }
.page-admin .sidebar-heading span,.page-admin .sidebar-footer .status-dot { display: none; }
.page-admin .sidebar-footer { color: #b6a2a1; }
.page-admin .panel-symbol { display: none; }

@media (min-width: 700px) {
  .header-inner { padding: 17px 28px; flex-wrap: nowrap; }
  .main-nav { justify-content: flex-end; flex-wrap: wrap; overflow: visible; }
  .brand-copy strong { font-size: 1.3rem; }
  .container { width: min(100% - 64px, 1160px); }
  .coal-offer-band { padding: 40px 0; }
  .coal-perks { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px 24px; }
  .coal-perks li { padding-top: 7px; }
  .coal-steps ol { grid-template-columns: repeat(3,1fr); gap: 22px; }
  .coal-steps li { grid-template-columns: 1fr; gap: 8px; }
  .coal-steps li:last-child { border-bottom: none; }
  .coal-claim { flex-direction: row; align-items: flex-start; gap: 40px; }
  .coal-claim__intro { flex: 1; min-width: 0; }
  .coal-perks--claim { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .coal-claim__action { flex: 0 0 300px; margin-top: 0; }
  .coal-terms__items { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 35px; }
  .coal-account .featured-panel { padding: 33px; }
}
@media (min-width: 940px) {
  .header-inner { padding: 20px 36px; }
  .coal-hero {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.78fr);
    align-items: start; gap: 45px; padding-block: 75px 80px; min-height: 520px;
  }
  .coal-hero--welcome { padding-bottom: 58px; }
  .coal-art-slot { display: block; min-height: 430px; width: 100%; }
  .coal-hero--welcome .coal-art-slot { min-height: 430px; }
  .coal-title { font-size: clamp(5rem, 9vw, 8rem); }
  .coal-steps { padding-block: 70px 105px; }
  .coal-claim { gap: 60px; padding-top: 10px; }
  .coal-claim__action { flex-basis: 340px; }
}
@media (max-width: 380px) {
  .main-nav { font-size: .75rem; }
  .coal-perks { gap: 0 11px; }
  .coal-title { font-size: 4.2rem; }
  .coal-claim__action { padding: 19px 16px 24px; }
  .coal-account .metric { padding: 12px 9px; }
  .coal-account .metrics-grid { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}


@media (max-width: 699px) {
  /* The claim CTA comes before the Tier 3 details on small screens. */
  .coal-claim__action { order: -1; }
}
.status-expired { color: #e3b9a4; }


/* Admin-only identity directory and abuse audit, readable on narrow screens. */
.page-admin .account-details {
  display: grid;
  gap: 3px;
  min-width: 152px;
  line-height: 1.35;
  font-size: .78rem;
}
.page-admin .account-details strong { color: #f3ddcd; overflow-wrap: anywhere; }
.page-admin .account-details span, .page-admin .account-subtext { color: #d1b6aa; }
.page-admin .account-details a, .page-admin .account-link {
  color: #f3b6a3; text-decoration: underline; text-underline-offset: 2px;
  overflow-wrap: anywhere; word-break: break-word;
}
.page-admin .account-details code, .page-admin #user-directory code {
  font: .77rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere; word-break: break-word;
}
.page-admin .account-subtext { display: block; font-size: .78rem; margin-top: 3px; }
.page-admin .signal-warning {
  display: block; color: #e8b5a5; font-size: .72rem;
  line-height: 1.5; margin-top: 5px;
}
.page-admin #risk .table-scroll, .page-admin #security .table-scroll { overflow-x: auto; }
.page-admin #risk td, .page-admin #security td { vertical-align: top; }
.page-admin #user-directory { min-width: 730px; }
.page-admin #user-directory td { vertical-align: top; }

/* Operational scorecard remains compact on narrow devices. */
.page-admin .admin-metric small { line-height: 1.45; }
