@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, dl, dd, pre { margin: 0; }
  button, input { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
  button { color: inherit; }
  a { color: inherit; }
  [hidden] { display: none !important; }
}

@layer base {
  :root { --paper: #f3f0e7; --ink: #26251f; --muted: #68675c; --line: #c7c5b9; --accent: #df452e; --accent-dark: #af2c1b; --surface: #eae7dd; --white: #faf8f0; --error: #a42e1d; --sans: Arial, Helvetica, sans-serif; --serif: Georgia, 'Times New Roman', serif; --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; color-scheme: light; scroll-behavior: smooth; }
  body { background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; font-size: 15px; }
  ::selection { background: var(--accent); color: var(--white); }
  a { text-underline-offset: 4px; }
  button { cursor: pointer; }
  button:disabled { cursor: not-allowed; opacity: .55; }
  button, a { touch-action: manipulation; }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
  h1, h2, h3 { font-weight: 500; }
  h1, h2 { letter-spacing: -.055em; line-height: 1.02; }
  em { font-family: var(--serif); font-weight: 400; }
  p { line-height: 1.6; }
  section[id] { scroll-margin-top: 36px; }
}

@layer layout {
  .page-shell { max-width: 1760px; padding: 0 48px; margin: 0 auto; }
  .masthead { height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--ink); }
  .wordmark { font-weight: 900; font-size: 44px; letter-spacing: -.095em; text-decoration: none; line-height: 1; }
  .wordmark-dot { color: var(--accent); }
  .nav-links { display: flex; gap: 32px; font-size: 13px; margin-left: auto; margin-right: 26px; }
  .nav-links a { text-decoration: none; }
  .nav-links a:hover { text-decoration: underline; }
  .hero-topline, .hero-bottomline { display: flex; justify-content: space-between; align-items: center; }
  .hero-topline { padding: 29px 0 39px; }
  .hero-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
  .hero-intro h1 { font-size: clamp(46px, 4.1vw, 73px); }
  .hero-intro h1 em { letter-spacing: -.065em; }
  .hero-intro p { color: var(--muted); font-size: 14px; min-width: 218px; line-height: 1.65; padding-bottom: 3px; }
  .hero-intro p a { display: inline-block; margin-top: 10px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
  .hero-intro p a span { margin-left: 18px; }
  .sevens { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--accent); background: var(--accent); gap: 1px; overflow: hidden; }
  .seven-panel { display: flex; flex-direction: column; justify-content: center; position: relative; min-width: 0; padding: 35px 0 0; background: var(--paper); }
  .seven { color: var(--accent); text-align: center; font-weight: 900; font-size: clamp(230px, 33.6vw, 562px); line-height: .97; letter-spacing: -.075em; padding-right: .05em; transform: translateY(.035em); }
  .seven-panel:nth-child(2) { background: var(--accent); }
  .seven-panel:nth-child(2) .seven, .seven-panel:nth-child(2) .panel-label { color: var(--paper); }
  .panel-label { position: absolute; top: 19px; left: 21px; font-family: var(--mono); color: var(--accent-dark); font-size: 10px; letter-spacing: .035em; }
  .source-seal { position: absolute; bottom: 23px; right: 23px; width: 140px; height: 140px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink); transform: rotate(-14deg); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; font-family: var(--mono); font-size: 10px; text-align: center; line-height: 1.3; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--ink); }
  .source-seal strong { font-family: var(--sans); font-size: 14px; }
  .source-seal > span { font-size: 8px; margin-top: 5px; }
  .hero-bottomline { padding: 22px 0 27px; border-bottom: 1px solid var(--ink); font-size: 11px; }
  .hero-bottomline p { display: flex; align-items: center; gap: 9px; }
  .hero-note { color: var(--muted); }
  .section-grid { display: grid; grid-template-columns: minmax(120px, 17%) minmax(0, 1fr); gap: 30px; border-bottom: 1px solid var(--ink); padding: 78px 0 80px; }
  .section-margin { display: flex; flex-direction: column; justify-content: space-between; }
  .section-number { font-family: var(--mono); font-size: 10px; letter-spacing: .025em; padding-top: 7px; }
  .margin-cross { font-family: var(--mono); font-size: 25px; line-height: 1; }
  .story-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; margin-bottom: 42px; }
  .story-heading h2, .token-heading h2 { font-size: clamp(45px, 4.4vw, 76px); }
  .story-heading p { color: var(--muted); font-size: 13px; padding-bottom: 4px; }
  .source-layout { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
  .source-copy p { font-size: 14px; line-height: 1.8; }
  .source-copy p + p { margin-top: 17px; color: var(--muted); }
  .source-link { margin-top: 25px; display: inline-flex !important; }
  .token-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 37px; }
  .token-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .contract-card, .data-card { padding: 25px 28px; border: 1px solid var(--line); min-width: 0; }
  .contract-card { background: var(--surface); display: flex; flex-direction: column; }
  .data-card { background: var(--white); }
  .card-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 27px; }
  .contract-title { font-size: 33px; line-height: 1.15; letter-spacing: -.04em; margin-top: 26px; }
  .contract-description { font-size: 13px; color: var(--muted); margin-top: 15px; line-height: 1.7; }
  .contract-address-block { padding: 23px 0 21px; margin-top: auto; }
  .address-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
  .address-value { font-family: var(--mono); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
  .contract-address-block .small-link { font-size: 10px; margin-top: 10px; display: inline-block; }
  .wallet-card { margin-top: 20px; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 27px 28px; }
  .wallet-copy { flex: 1; min-width: 0; }
  .wallet-copy h3 { margin-top: 11px; font-size: 25px; letter-spacing: -.04em; }
  .wallet-copy p { margin-top: 9px; font-size: 12px; color: var(--muted); }
  .wallet-copy .inline-error { color: var(--error); }
  .wallet-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 14px; flex-shrink: 0; }
  .wallet-actions .small-link { font-size: 11px; }
  .token-footnote { font-family: var(--mono); color: var(--muted); font-size: 10px; margin-top: 17px; }
  .closing-note { position: relative; padding: 68px 0 79px; border-bottom: 1px solid var(--ink); }
  .closing-note > p { margin-top: 27px; font-size: clamp(60px, 7.4vw, 128px); letter-spacing: -.07em; line-height: 1; }
  .closing-note > p em { color: var(--accent); }
  .round-link { position: absolute; right: 0; bottom: 81px; width: 90px; height: 90px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 42px; text-decoration: none; transition: color .2s, background .2s; }
  .round-link:hover { background: var(--ink); color: var(--paper); }
  .footer { padding: 31px 0 39px; display: flex; justify-content: space-between; align-items: center; gap: 36px; }
  .footer > p { max-width: 570px; font-size: 11px; line-height: 1.65; color: var(--muted); margin-right: auto; }
  .footer > .text-link { flex-shrink: 0; font-size: 11px; }
}

@layer components {
  .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
  .asterisk { font-size: 24px; line-height: 16px; color: var(--accent); }
  .edition-label { font-family: var(--mono); text-transform: uppercase; font-size: 10px; letter-spacing: .015em; }
  .text-link { display: flex; align-items: center; gap: 24px; text-decoration: none; font-size: 12px; }
  .text-link:hover { text-decoration: underline; }
  .wallet-button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ink); border-radius: 3px; padding: 13px 17px; background: transparent; font-size: 12px; min-height: 44px; }
  .wallet-button:hover { background: var(--surface); }
  .button-dot, .status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; flex-shrink: 0; }
  .button-dot { background: var(--ink); }
  .status-dot.muted { background: var(--muted); }
  .primary-button, .secondary-button { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--ink); border-radius: 2px; font-size: 12px; text-decoration: none; min-height: 48px; }
  .primary-button { background: var(--ink); color: var(--paper); }
  .primary-button:hover { background: #444237; }
  .secondary-button { background: transparent; }
  .secondary-button:hover { background: var(--surface); }
  .primary-button[aria-disabled="true"] { pointer-events: none; opacity: .55; }
  .icon-button { flex-shrink: 0; display: grid; place-items: center; min-width: 36px; min-height: 36px; border: 1px solid var(--line); border-radius: 2px; background: transparent; font-size: 19px; }
  .icon-button:hover { background: var(--white); }
  .small-link { border: 0; background: transparent; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
  .state-chip { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 2px; padding: 5px 7px; font-size: 8px; font-family: var(--mono); letter-spacing: .04em; }
  .state-chip[data-state="verified"] { border-color: var(--accent); color: var(--accent-dark); }
  .chain-tag { font-family: var(--mono); display: inline-flex; gap: 8px; align-items: center; font-size: 9px; border: 1px solid var(--line); border-radius: 20px; padding: 9px 13px; }
  .field-label { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; color: var(--muted); }
  .card-disclaimer { font-family: var(--mono); font-size: 9px; color: var(--muted); line-height: 1.5; margin-top: 11px; }
  .code-card { background: var(--ink); color: var(--paper); min-width: 0; border-radius: 3px; }
  .code-heading { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9px; padding: 17px 17px 14px; color: #bab9af; border-bottom: 1px solid #515047; }
  .code-file::before { content: "◈"; margin-right: 8px; color: #f1785b; }
  .code-card pre { font-family: var(--mono); padding: 20px 16px; font-size: 9px; line-height: 1.9; overflow-x: auto; }
  .code-card code { font: inherit; }
  .code-line { display: inline-flex; }
  .line-number { width: 25px; flex-shrink: 0; color: #9d9d92; user-select: none; }
  .code-line b { font-weight: 400; color: #dfc08f; }
  .code-line mark { color: #ff937b; background: transparent; }
  .code-footnote { padding: 12px 17px; font-family: var(--mono); font-size: 8px; border-top: 1px solid #515047; color: #bab9af; }
  .refresh-button { border: 0; padding: 5px 0 5px 5px; background: none; font-size: 10px; display: inline-flex; align-items: center; gap: 5px; min-height: 30px; }
  .refresh-button span { font-size: 15px; }
  .token-stats { margin-top: 15px; }
  .token-stats > div { padding: 20px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); }
  .token-stats dt { font-size: 12px; color: var(--muted); padding-top: 3px; }
  .token-stats dd { text-align: right; font-size: 21px; letter-spacing: -.035em; overflow-wrap: anywhere; min-width: 0; max-width: 68%; }
  .stat-caption { display: block; font-size: 10px; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--muted); margin-top: 6px; }
  .read-status { font-family: var(--mono); font-size: 9px; display: flex; gap: 7px; align-items: center; color: var(--muted); padding-top: 18px; }
  .inline-error { color: var(--error); padding: 12px; background: #f6e3d9; border-left: 2px solid var(--error); font-size: 12px; line-height: 1.6; margin-top: 14px; overflow-wrap: anywhere; }
  .account-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 12px; font-family: var(--mono); font-size: 10px; }
  .account-row > button { font-family: var(--sans); font-size: 10px; }
  .wallet-balance { text-align: right; max-width: 300px; overflow-wrap: anywhere; font-size: 26px; letter-spacing: -.035em; }
  .balance-unit { font-size: 12px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
  .wallet-feedback { color: var(--ink) !important; }
  .skip-link { position: fixed; top: -80px; left: 20px; z-index: 10; padding: 15px; background: var(--ink); color: var(--paper); }
  .skip-link:focus { top: 15px; }
  dialog { width: min(440px, calc(100vw - 32px)); color: var(--ink); padding: 28px; border: 1px solid var(--ink); border-radius: 3px; background: var(--paper); box-shadow: 0 16px 70px #0002; }
  dialog::backdrop { background: #26251f88; backdrop-filter: blur(3px); }
  .dialog-topline { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
  dialog h2 { font-size: 33px; margin: 22px 0 14px; }
  dialog p { font-size: 13px; color: var(--muted); }
  dialog .privacy-note { font-size: 11px; margin-top: 12px; }
  .wallet-options { display: grid; gap: 10px; margin-top: 23px; }
  .wallet-choice { width: 100%; text-align: left; }
  #no-wallet .secondary-button { margin-top: 20px; }
  .toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 3px; background: var(--ink); color: var(--paper); padding: 13px 20px; font-size: 12px; z-index: 20; max-width: calc(100% - 32px); box-shadow: 0 5px 22px #0002; }
  .noscript-note { position: fixed; bottom: 0; inset-inline: 0; padding: 18px; background: var(--ink); color: var(--paper); font-size: 13px; text-align: center; z-index: 30; }
}

@layer responsive {
  @media (min-width: 1500px) { .source-copy p { font-size: 16px; } .code-card pre { font-size: 11px; } }
  @media (max-width: 1100px) { .page-shell { padding-inline: 32px; } .section-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 57px; } .section-margin { flex-direction: row; align-items: center; } .section-number { padding: 0; } .margin-cross { font-size: 19px; } .source-layout { gap: 26px; } .source-seal { width: 108px; height: 108px; right: 17px; bottom: 17px; font-size: 8px; } .source-seal strong { font-size: 12px; } .source-seal > span { font-size: 6px; } }
  @media (max-width: 760px) { .page-shell { padding-inline: 21px; } .masthead { height: 82px; gap: 17px; } .wordmark { font-size: 37px; } .nav-links { gap: 19px; margin: 0 0 0 auto; font-size: 12px; } .nav-links a:last-child { display: none; } .wallet-button { font-size: 10px; padding: 10px 11px; gap: 7px; } .hero-topline { padding: 24px 0 30px; } .hero-topline .eyebrow { font-size: 8px; gap: 7px; } .asterisk { font-size: 20px; } .edition-label { font-size: 8px; } .hero-intro { align-items: flex-start; gap: 20px; margin-bottom: 31px; } .hero-intro h1 { font-size: clamp(36px, 6.9vw, 55px); } .hero-intro p { font-size: 11px; min-width: 0; max-width: 157px; padding-top: 5px; } .hero-intro p a { margin-top: 7px; } .hero-intro p a span { margin-left: 3px; } .seven-panel { padding-top: 29px; } .panel-label { font-size: 7px; top: 12px; left: 10px; } .seven { font-size: 32.3vw; } .source-seal { width: 77px; height: 77px; right: 12px; bottom: 12px; font-size: 6px; gap: 3px; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); } .source-seal strong { font-size: 8px; } .source-seal > span { font-size: 4.5px; margin-top: 2px; } .hero-bottomline { padding: 18px 0 20px; font-size: 10px; } .hero-bottomline .text-link { font-size: 11px; gap: 10px; } .hero-note { display: none; } .story-heading { margin-bottom: 29px; } .story-heading h2, .token-heading h2 { font-size: 47px; } .story-heading p { font-size: 11px; max-width: 185px; } .source-layout { grid-template-columns: 1fr; gap: 29px; } .source-copy p { font-size: 14px; } .code-card pre { font-size: 11px; padding: 22px 17px; } .code-footnote { font-size: 9px; } .token-grid { gap: 13px; } .contract-card, .data-card { padding: 21px 19px; } .contract-title { font-size: 29px; } .contract-description { font-size: 12px; } .card-topline .eyebrow { font-size: 8px; } .state-chip { font-size: 7px; } .token-stats dd { font-size: 18px; } .token-stats dt { font-size: 11px; } .wallet-card { padding: 23px 20px; } .wallet-copy h3 { font-size: 23px; } .wallet-copy .eyebrow { font-size: 8px; } .wallet-actions .secondary-button { font-size: 11px; gap: 15px; padding: 14px; } .closing-note { padding-block: 53px 57px; } .closing-note > p { font-size: 70px; } .round-link { width: 65px; height: 65px; bottom: 65px; font-size: 32px; } .footer { gap: 24px; flex-wrap: wrap; padding-block: 27px 31px; } .footer > p { flex: 1; font-size: 10px; } .footer > .text-link { margin-left: 0; } }
  @media (max-width: 520px) { .nav-links { display: none; } .masthead { justify-content: space-between; } .hero-topline { padding-bottom: 28px; } .hero-intro { flex-direction: column; gap: 17px; } .hero-intro h1 { font-size: 49px; } .hero-intro p { max-width: none; font-size: 12px; } .hero-intro p br { display: none; } .hero-intro p br::after { content: ' '; } .hero-intro p a { display: block; width: fit-content; margin-top: 5px; } .seven-panel { padding-top: 25px; } .panel-label { font-size: 5.5px; left: 6px; top: 10px; } .seven { font-size: 31.1vw; line-height: 1.06; } .source-seal { width: 58px; height: 58px; right: 7px; bottom: 7px; font-size: 4.5px; gap: 2px; } .source-seal strong { font-size: 6px; } .source-seal > span { font-size: 3.5px; margin-top: 2px; } .hero-bottomline { font-size: 9px; } .hero-bottomline .text-link { font-size: 10px; } .section-grid { padding-block: 43px; } .story-heading { display: block; } .story-heading h2, .token-heading h2 { font-size: 48px; } .story-heading p { margin-top: 18px; max-width: none; font-size: 12px; } .code-card pre { font-size: 8px; padding-inline: 12px; } .line-number { width: 22px; } .code-footnote { font-size: 8px; padding-inline: 12px; } .token-heading { margin-bottom: 26px; } .chain-tag { font-size: 7px; padding: 8px 10px; gap: 6px; } .token-grid { grid-template-columns: 1fr; gap: 15px; } .contract-card, .data-card { padding: 23px; } .card-topline .eyebrow { font-size: 10px; } .state-chip { font-size: 8px; } .contract-title { font-size: 35px; } .contract-description { font-size: 13px; } .token-stats dt { font-size: 12px; } .token-stats dd { font-size: 22px; } .wallet-card { flex-direction: column; align-items: stretch; padding: 23px; gap: 22px; } .wallet-actions { align-items: stretch; } .wallet-balance { max-width: none; text-align: left; } .wallet-actions > .small-link { text-align: center; padding-block: 6px; } .wallet-copy .eyebrow { font-size: 9px; } .wallet-copy h3 { font-size: 26px; } .wallet-actions .secondary-button { font-size: 12px; padding: 15px 18px; } .token-footnote { font-size: 8px; line-height: 1.7; } .closing-note > .eyebrow { font-size: 8px; } .closing-note > p { font-size: clamp(47px, 12vw, 65px); } .round-link { width: 47px; height: 47px; font-size: 25px; bottom: 61px; } .footer { align-items: flex-start; gap: 21px; } .footer > p { flex-basis: calc(100% - 100px); } }
  @media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
}

/* The House of 777: casino presentation; no game or wager functionality. */
@layer base {
  :root { --paper:#071f1a; --ink:#f3e8ce; --muted:#baaf93; --line:#615339; --accent:#e4bc70; --accent-dark:#c39345; --surface:#0d2a23; --white:#f8edce; --error:#ffac9f; color-scheme:dark; }
  body { background:radial-gradient(ellipse at 50% 12%,#174031 0,transparent 50%),#071f1a; }
  h1,h2 { font-family:var(--serif); }
  ::selection { background:#8e2730; color:#fff2d5; }
}
@layer layout {
  .page-shell { max-width:1440px; padding-inline:48px; }
  .masthead { height:92px; border-color:var(--line); }
  .wordmark { color:var(--accent); font-family:var(--serif); font-size:42px; letter-spacing:-.08em; }
  .wordmark-dot { color:#d96055; }
  .nav-links { font-size:12px; letter-spacing:.06em; }
  .hero-topline { padding:24px 0; }
  .hero-intro { display:block; text-align:center; margin:12px 0 38px; }
  .hero-flourish { display:flex; align-items:center; justify-content:center; gap:20px; color:var(--accent); font-size:17px; }
  .hero-flourish span { font-size:9px; letter-spacing:.36em; }
  .hero-intro h1 { font-size:clamp(54px,6.5vw,94px); line-height:1.04; margin:20px 0 14px; letter-spacing:-.055em; }
  .hero-intro h1 em { color:var(--accent); font-weight:400; }
  .hero-intro p { color:#c6baa0; font-size:13px; line-height:1.65; }
  .slot-cabinet { position:relative; margin:0 auto; max-width:1050px; padding:47px 30px 39px; border:3px solid #b68a49; border-radius:29px; background:linear-gradient(130deg,#762c32,#351216 65%,#672a2d); box-shadow:0 0 0 6px #122b22,0 0 0 7px #b68a4966,0 28px 65px #0006,inset 0 0 0 8px #edc78520; }
  .slot-cabinet::before { content:""; position:absolute; inset:12px; pointer-events:none; border:2px dotted #f4d592; border-radius:18px; }
  .machine-nameplate { position:absolute; inset-inline:0; top:16px; text-align:center; font-size:9px; letter-spacing:.22em; color:#f3d695; }
  .machine-nameplate span { margin:0 12px; }
  .sevens { border:2px solid #251514; border-radius:12px; padding:6px; gap:11px; background:#261610; box-shadow:0 2px 0 #e4be7055; }
  .seven-panel,.seven-panel:nth-child(2) { height:320px; padding:0; border:1px solid #b5a07c; border-radius:6px; background:linear-gradient(#b3a17f 0%,#f6ebd1 21%,#fffae8 50%,#eee0bd 80%,#ac946c 100%); box-shadow:inset 0 8px 14px #0003; overflow:hidden; }
  .seven,.seven-panel:nth-child(2) .seven { color:#a52533; font-family:Georgia,serif; font-size:310px; line-height:1; padding:0; letter-spacing:-.05em; transform:translate(-.018em,-.14em); text-shadow:0 2px 0 #6d1620,2px 5px 0 #75182320; }
  .panel-label,.seven-panel:nth-child(2) .panel-label { color:#66533d; font-size:9px; letter-spacing:.12em; top:15px; left:0; width:100%; text-align:center; }
  .reel-suit { position:absolute; bottom:10px; left:0; width:100%; text-align:center; font-size:24px; color:#947b54; }
  .machine-foot { display:flex; justify-content:space-between; margin:14px 5px 0; color:#e8c684; font-size:8px; letter-spacing:.18em; }
  .machine-foot > span:first-child,.machine-foot > span:last-child { font-size:12px; line-height:8px; }
  .source-seal { width:88px; height:88px; right:-22px; bottom:-21px; background:#14392c; color:#ead099; border-color:#cfac69; box-shadow:0 0 0 4px #14392c,0 0 0 5px #cfac69,0 8px 18px #0006; }
  .source-seal strong { font-family:Georgia,serif; font-size:29px; }
  .source-seal > span { font-size:6px; letter-spacing:.08em; margin:0; }
  .hero-actions { display:flex; gap:12px; justify-content:center; margin-top:34px; }
  .hero-bottomline { margin-top:22px; border-color:var(--line); }
  .lottery-section { padding:60px 0; border-bottom:1px solid var(--line); }
  .lottery-topline { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:25px; }
  .lottery-status { display:inline-flex; align-items:center; gap:8px; font-size:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--accent); }
  .lottery-table { position:relative; text-align:center; padding:52px 65px 42px; background:radial-gradient(ellipse at 50% 20%,#20563f,#0e3027); border:1px solid #a88848; outline:1px solid #615339; outline-offset:-9px; border-radius:120px 120px 28px 28px; box-shadow:inset 0 0 80px #0005; }
  .lottery-table h2 { font-size:clamp(42px,4.8vw,67px); margin:21px 0; }
  .lottery-table h2 em { color:var(--accent); }
  .lottery-table .eyebrow { justify-content:center; }
  .lottery-intro { color:#d0c7ad; font-size:14px; }
  .lottery-status-card { max-width:390px; margin:27px auto 21px; padding:20px; border:1px solid #8c7345; background:#09241dd9; }
  .planned-tag { color:var(--accent); font-size:9px; letter-spacing:.18em; }
  .lottery-status-card p { font-family:Georgia,serif; font-size:27px; margin:8px 0 3px; }
  .lottery-status-card > span:last-child { color:#c8bca0; font-size:11px; }
  .lottery-footnote { max-width:550px; margin:auto; font-size:11px; color:#baaf93; }
  .table-suit { position:absolute; top:40%; font-size:70px; color:#b89a5766; }
  .table-suit-left { left:55px; }.table-suit-right { right:55px; }
  .section-grid,.closing-note { border-color:var(--line); }
  .section-number { color:var(--accent); letter-spacing:.07em; }
  .margin-cross { color:var(--accent); }
  .story-heading h2,.token-heading h2 { font-family:Georgia,serif; }
  .story-heading h2 em,.token-heading h2 em { color:var(--accent); }
  .contract-card { background:linear-gradient(145deg,#381f21,#211c1c); border-color:#866845; }
  .data-card { background:#102e25; border-color:#615339; }
  .wallet-card { background:#0a251f; border-color:#615339; }
  .closing-note > p { font-family:Georgia,serif; }
  .footer { border-color:var(--line); }
}
@layer components {
  .primary-button { background:linear-gradient(#edce8b,#c89b51); color:#251b10; border-color:#e9c481; box-shadow:inset 0 1px 0 #fff5,0 4px 14px #0003; }
  .primary-button:hover { background:#f2d895; color:#251b10; }
  .secondary-button,.wallet-button { border-color:#947646; background:#102d24; color:#eeddb5; }
  .secondary-button:hover,.wallet-button:hover { background:#204233; }
  .button-dot,.status-dot { background:#d4af67; box-shadow:0 0 7px #d4af6740; }
  .state-chip,.chain-tag { color:#edcf93; border-color:#8b713f; background:#153329; }
  .code-card { background:#0a1512; color:#dfd9bd; border:1px solid #6f5838; border-radius:4px; }
  .code-heading,.code-footnote { border-color:#53472e; color:#bcb091; }
  .code-line b { color:#dbb975; }.code-line mark { background:#664b2580; color:#f4cf7d; }
  .line-number { color:#80775f; }
  .read-status { border-color:var(--line); }.stat-caption { color:var(--muted); }
  dialog { background:#102a22; border-color:#aa8749; border-radius:12px; box-shadow:0 20px 100px #0009; }
  dialog::backdrop { background:#000b; backdrop-filter:blur(5px); }
  .wallet-options button { background:#15372c; color:var(--ink); border-color:#6c5936; }
  .wallet-options button:hover { background:#224c39; }
  .toast,.noscript-note { background:#ead098; color:#241b11; }
}
@layer responsive {
  @media(min-width:1100px) { .hero { padding-bottom:4px; } }
  @media(max-width:1000px) { .seven-panel,.seven-panel:nth-child(2) { height:260px; }.seven,.seven-panel:nth-child(2) .seven { font-size:250px; }.nav-links { gap:18px; margin-right:0; }.source-seal { right:-10px; } }
  @media(max-width:760px) {
    .page-shell { padding-inline:22px; }.masthead { height:80px; }.nav-links a { display:none; }.nav-links a:first-child { display:block; font-size:10px; }.nav-links { margin:0 0 0 auto; }
    .hero-topline { padding:23px 0; }.hero-intro { display:block; margin:13px 0 30px; text-align:center; }.hero-intro h1 { font-size:clamp(44px,8vw,65px); }.hero-intro p { max-width:none; font-size:12px; padding:0; }.hero-flourish { gap:14px; }.hero-flourish span { font-size:8px; }
    .slot-cabinet { padding:36px 16px 29px; border-radius:20px; }.slot-cabinet::before { inset:8px; border-radius:13px; }.machine-nameplate { top:13px; font-size:7px; }.machine-nameplate span { margin-inline:6px; }
    .sevens { gap:6px; padding:4px; border-radius:8px; }.seven-panel,.seven-panel:nth-child(2) { height:190px; padding:0; }.seven,.seven-panel:nth-child(2) .seven { font-size:190px; }.panel-label,.seven-panel:nth-child(2) .panel-label { font-size:6px; top:12px; left:0; }.reel-suit { font-size:17px; bottom:8px; }
    .machine-foot { font-size:6px; margin:11px 0 0; justify-content:center; }.machine-foot > span:first-child,.machine-foot > span:last-child { display:none; }.source-seal { width:60px; height:60px; right:-6px; bottom:-16px; gap:3px; box-shadow:0 0 0 3px #14392c,0 0 0 4px #cfac69; }.source-seal strong { font-size:20px; }.source-seal > span { font-size:4px; }
    .hero-actions { margin-top:31px; gap:9px; }.hero-actions a { font-size:11px; padding:13px 16px; gap:16px; }.hero-bottomline { gap:12px; flex-wrap:wrap; margin-top:13px; }.hero-bottomline > .text-link { font-size:10px; }.hero-note { display:block; width:100%; font-size:10px; }
    .lottery-section { padding:40px 0; }.lottery-topline { gap:8px; }.lottery-topline .section-number { font-size:8px; }.lottery-status { font-size:8px; }.lottery-table { padding:42px 22px 32px; border-radius:75px 75px 20px 20px; }.lottery-table h2 { font-size:42px; }.lottery-table .eyebrow { font-size:8px; }.lottery-intro { font-size:12px; }.table-suit { display:none; }.lottery-status-card { margin-top:23px; padding:18px 8px; }.lottery-status-card p { font-size:24px; }.lottery-status-card > span:last-child { font-size:10px; }.lottery-footnote { font-size:10px; }
    .story-heading h2,.token-heading h2 { font-size:43px; }.closing-note > p { font-size:64px; }
  }
  @media(max-width:450px) { .page-shell { padding-inline:18px; }.wordmark { font-size:35px; }.wallet-button { font-size:9px; padding:10px; }.nav-links a:first-child { font-size:9px; }.masthead { gap:12px; }.hero-intro h1 { font-size:42px; }.hero-intro h1 em { display:block; font-size:59px; }.seven-panel,.seven-panel:nth-child(2) { height:151px; }.seven,.seven-panel:nth-child(2) .seven { font-size:153px; }.panel-label,.seven-panel:nth-child(2) .panel-label { font-size:5px; letter-spacing:0; }.lottery-table h2 { font-size:35px; }.lottery-table .eyebrow { font-size:7px; letter-spacing:.07em; }.hero-actions a { font-size:10px; gap:10px; padding:13px 14px; } }
}
