/* THE OGRE EATS AT A TAVERN TABLE (Wave 110j).
 * A feast is a table, so the world is one: red gingham across the head of it, the cloth's white beneath, the
 * bill of fare as a printed card, the kitchen's ticket on its spike, and on the gingham the rings his days left
 * (scripts/ogre-rings.js, from the relic's own ledger). Type is a tavern slab for the name and the dishes, a
 * book face for the talk, a mono for the arithmetic. No web fonts. The portrait stays the dim hall it was painted
 * as: a picture hung in a bright room. */

body[data-world="ogre"] {
  --bg: #f5eee0; --surface: #ede3d0; --surface2: #fbf7ee; --text: #2a1d14; --muted: #7a6551; --dim: #d4c4a8;
  --amber: #b3262a; --amber2: #b3262a; --glow: rgba(179, 38, 42, .06);
  --cloth: rgb(181 36 40 / .42); --stain: #7a4a1e;
  --w-accent: #b3262a; --w-accent2: #2a1d14;
  --nav-bg: rgba(245, 238, 224, .95);
  --f-display: Rockwell, 'Roboto Slab', 'Clarendon', 'Courier New', Georgia, serif;
  --f-label: Rockwell, 'Roboto Slab', 'Clarendon', Georgia, serif;
  --f-body: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --f-num: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-family: var(--f-body); font-size: 16px; background: var(--bg); color: var(--text);
}
body[data-world="ogre"]::before { opacity: .2; mix-blend-mode: multiply; }

/* the cloth (110s): thrown over the table from the right and lying askew on the house's own cream, so there is
 * no band and no hem across the page; the card stands at the cloth's near corner, low on the left */
body[data-world="ogre"] .banner-block { min-height: 540px; padding: 4.6rem 3rem 2.4rem; border-bottom: 0; justify-content: flex-end; background: none; }
body[data-world="ogre"] .banner-block::after { background: none; }
/* 110t (Keystone's re-measure): thrown from the left, not the right, so it keeps off the top right that Sharp's card
 * and the Bird's window already hold; the card stands at its near corner, low and right of centre */
.cloth { position: absolute; z-index: 1; top: 2.6rem; bottom: 2.2rem; left: -6%; right: 30%; transform: rotate(2.4deg); transform-origin: 70% 50%;
  background-color: #fbf7ee;
  background-image: repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 3px), linear-gradient(90deg, var(--cloth) 50%, transparent 50%), linear-gradient(var(--cloth) 50%, transparent 50%);
  background-size: auto, 44px 44px, 44px 44px; box-shadow: 10px 14px 22px -10px rgb(60 30 10 / .4); }
.table-rings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: multiply; }
.ring { fill: none; stroke: var(--stain); stroke-dasharray: 220 var(--gap, 12) 400 6; stroke-linecap: round; }
.ring-inner { fill: none; stroke: var(--stain); stroke-width: 1.2; }
.ring-stranger { fill: none; stroke: #6b6b6b; stroke-width: 2; stroke-dasharray: 4 7; opacity: .55; }
/* the name on a card propped on the cloth */
.plaque { position: relative; z-index: 2; align-self: flex-start; margin-left: 46%; max-width: 100%; background: var(--surface2); padding: 1.2rem 1.8rem 1.1rem;
  transform: rotate(-1.2deg); box-shadow: 8px 10px 0 -2px rgb(60 30 10 / .14), 0 1px 0 #fff inset; border: 1px solid #e3d6bd; }
body[data-world="ogre"] .banner-eyebrow { color: var(--amber); font-family: var(--f-num); letter-spacing: .3em; margin-bottom: .4rem; }
body[data-world="ogre"] .banner-eyebrow::before { background: var(--amber); }
body[data-world="ogre"] .banner-title { font-family: var(--f-display); font-weight: 700; color: var(--text); letter-spacing: -.01em; font-size: clamp(4rem, 12vw, 9rem); line-height: 1; }
body[data-world="ogre"] .banner-tagline { margin-top: .5rem; font-family: var(--f-num); color: var(--muted); letter-spacing: .2em; font-size: .8rem; }
.rings-key { position: relative; z-index: 2; margin-top: 1rem; margin-left: 46%; max-width: 40rem; padding: .5rem .8rem; background: rgb(251 247 238 / .92); font: .72rem/1.55 var(--f-num); color: var(--muted); }
body[data-world="ogre"] .banner-block { display: flex; flex-direction: column; }

/* the rest of the house, on the cloth's white */
body[data-world="ogre"] .relic-glyph { background: var(--surface2); border: 2px solid var(--text); border-radius: 50%; box-shadow: 4px 4px 0 var(--dim); }
body[data-world="ogre"] .badge { font-family: var(--f-num); color: var(--text); }
body[data-world="ogre"] .badge.sealed { color: var(--amber); }
body[data-world="ogre"] .relic-description { color: var(--text); font-style: normal; border-left-color: var(--amber); }
body[data-world="ogre"] .relic-description code, body[data-world="ogre"] .mint-address, body[data-world="ogre"] .cert-mint-addr { color: var(--amber); }
body[data-world="ogre"] .portrait-wrap { background: transparent; }
body[data-world="ogre"] .portrait-frame { box-shadow: 0 18px 36px -18px rgb(40 20 8 / .6); }
body[data-world="ogre"] .portrait-cap, body[data-world="ogre"] .portrait-cap .pc-eyebrow { color: var(--muted); font-family: var(--f-num); }
/* the bill of fare: a printed card */
body[data-world="ogre"] .menu-card { background: var(--surface2); border: 1px solid var(--text); box-shadow: 0 12px 26px -16px rgb(40 20 8 / .5); }
body[data-world="ogre"] .menu-title, body[data-world="ogre"] .dish-name { font-family: var(--f-display); color: var(--text); }
body[data-world="ogre"] .dish-no { font-family: var(--f-display); color: var(--amber); }
body[data-world="ogre"] .dish { border-color: var(--dim); }
body[data-world="ogre"] .dish-desc, body[data-world="ogre"] .menu-sub, body[data-world="ogre"] .menu-foot { color: var(--muted); font-family: var(--f-body); }
/* the kitchen's ticket, spiked */
body[data-world="ogre"] .kitchen-scrap { background: #fffdf6; color: var(--text); border-color: var(--dim); box-shadow: 0 8px 16px -10px rgb(40 20 8 / .4); }
body[data-world="ogre"] .ks-body, body[data-world="ogre"] .ks-stamp, body[data-world="ogre"] .ks-foot { font-family: var(--f-num); color: var(--text); }
body[data-world="ogre"] .ks-stamp, body[data-world="ogre"] .ks-foot { color: var(--muted); }
body[data-world="ogre"] .relic-voice, body[data-world="ogre"] .cipher, body[data-world="ogre"] .pack, body[data-world="ogre"] .certificate,
body[data-world="ogre"] .token-stats, body[data-world="ogre"] .links-section, body[data-world="ogre"] .bench-notice, body[data-world="ogre"] .mint-info { background: transparent; color: var(--text); }
body[data-world="ogre"] .rv-stanza { color: var(--text); font-family: var(--f-body); }
body[data-world="ogre"] .rv-stanza em, body[data-world="ogre"] .bench-text em { color: var(--amber); }
body[data-world="ogre"] .rv-eyebrow, body[data-world="ogre"] .rv-coda, body[data-world="ogre"] .bench-eyebrow, body[data-world="ogre"] .pack-eyebrow, body[data-world="ogre"] .mint-eyebrow { color: var(--muted); font-family: var(--f-num); }
body[data-world="ogre"] .cipher-eq, body[data-world="ogre"] .vt-eq, body[data-world="ogre"] [data-world-steps] .vt-eq { font-family: var(--f-num); font-weight: 700; color: var(--text); }
body[data-world="ogre"] .cipher-eq .x { color: var(--amber); }
body[data-world="ogre"] .cipher-note, body[data-world="ogre"] .pack-lede, body[data-world="ogre"] .bench-text, body[data-world="ogre"] .bench-sub { color: var(--text); }
body[data-world="ogre"] .pack-link, body[data-world="ogre"] .link-card, body[data-world="ogre"] .copy-btn, body[data-world="ogre"] .cert-copy-btn { font-family: var(--f-num); color: var(--text); background: var(--surface2); border-color: var(--text); }
body[data-world="ogre"] .pack-link:hover, body[data-world="ogre"] .link-card:hover { color: var(--amber); border-color: var(--amber); }
body[data-world="ogre"] .link-card-name { color: var(--text); font-family: var(--f-display); }
body[data-world="ogre"] .link-card-desc, body[data-world="ogre"] .stat-label { color: var(--muted); }
body[data-world="ogre"] .stats-grid { background: var(--text); }
body[data-world="ogre"] .stat-cell { background: var(--surface2); }
body[data-world="ogre"] .stat-value, body[data-world="ogre"] .section-title { font-family: var(--f-display); color: var(--text); }
body[data-world="ogre"] .mint-address-block { background: var(--surface2); border-color: var(--dim); }
/* the certificate: a printed deed on the white */
body[data-world="ogre"] .cert-doc { background: #fffdf6; border-color: var(--text); color: var(--text); box-shadow: 0 16px 30px -18px rgb(40 20 8 / .5); }
body[data-world="ogre"] .cert-doc::before, body[data-world="ogre"] .cert-doc::after { border-color: var(--dim); }
body[data-world="ogre"] .cert-name { font-family: var(--f-display); color: var(--text); }
body[data-world="ogre"] .cert-eyebrow, body[data-world="ogre"] .cert-sub, body[data-world="ogre"] .cert-key, body[data-world="ogre"] .cert-prov-label, body[data-world="ogre"] .cert-copy-note, body[data-world="ogre"] .cert-calib, body[data-world="ogre"] .cert-mint-label { color: var(--muted); font-family: var(--f-num); }
body[data-world="ogre"] .cert-val, body[data-world="ogre"] .cert-prov-val { color: var(--text); font-family: var(--f-num); }
body[data-world="ogre"] .cert-leader { border-color: var(--dim); }
body[data-world="ogre"] .cert-witnesses a { color: var(--amber); }
body[data-world="ogre"] .cert-witnesses { white-space: normal; overflow-wrap: anywhere; flex-wrap: wrap; row-gap: .3rem; }
body[data-world="ogre"] .vt-pull, body[data-world="ogre"] [data-vault] .vt-pull { font-family: var(--f-num); color: var(--text); background: var(--surface2); border-color: var(--text); }
body[data-world="ogre"] .vt-note, body[data-world="ogre"] .vt-trail { color: var(--text); }
body[data-world="ogre"] .btn-primary { color: var(--surface2); background: var(--text); }
body[data-world="ogre"] .btn-primary:hover { background: var(--amber); }
body[data-world="ogre"] .back-strip { background: var(--surface); }
body[data-world="ogre"] .ws-forge, body[data-world="ogre"] .ws-token { color: var(--amber); }
body[data-world="ogre"] .ws-node { font-family: var(--f-num); }
body[data-world="ogre"] footer { border-top: 2px solid var(--text); }

/* the entrance, the kit and the shell */
body[data-world="ogre"] .entrance .en-scene { color: var(--text); font-family: var(--f-body); }
body[data-world="ogre"] .entrance .en-scene::first-letter { color: var(--amber); font-family: var(--f-display); font-weight: 700; }
body[data-world="ogre"] .entrance .en-arrive, body[data-world="ogre"] .entrance .en-tuned { color: var(--muted); font-family: var(--f-num); }
body[data-world="ogre"] .en-tuned b { color: var(--amber); font-family: var(--f-display); }
body[data-world="ogre"] .en-ways button, body[data-world="ogre"] .entrance .en-ways a { color: var(--text); font-family: var(--f-num); background: var(--surface2); border-color: var(--text); }
body[data-world="ogre"] .en-ways button:hover, body[data-world="ogre"] .entrance .en-ways a:hover { color: var(--amber); border-color: var(--amber); }
body[data-world="ogre"] .entrance .en-ways .en-next { color: var(--muted); border-color: var(--dim); }
body[data-world="ogre"] .walk-card { background: var(--surface2); border-color: var(--text); color: var(--text); }
body[data-world="ogre"] .walk-card .wk-line { color: var(--text); }
body[data-world="ogre"] .relic-web { background: var(--surface); }
body[data-world="ogre"] nav:first-of-type, body[data-world="ogre"] .world-nav { background: var(--nav-bg); border-bottom-color: var(--text); }
body[data-world="ogre"] .world-nav { font-family: var(--f-num); --w-accent: var(--amber) !important; --w-accent2: var(--text) !important; }
body[data-world="ogre"] .world-nav a, body[data-world="ogre"] .nav-back { color: var(--muted); }
body[data-world="ogre"] .nav-brand, body[data-world="ogre"] .footer-brand { color: var(--text); font-family: var(--f-display); font-weight: 700; }
body[data-world="ogre"] .nav-ticker { color: var(--amber); font-family: var(--f-num); }
body[data-world="ogre"] .world-room-head .wr-no { font-family: var(--f-display); color: var(--dim); }
body[data-world="ogre"] .world-room-head h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: .04em; }
body[data-world="ogre"] .world-room-head p, body[data-world="ogre"] .ws-no small, body[data-world="ogre"] .ws-empty, body[data-world="ogre"] .ws-count,
body[data-world="ogre"] .world-record-head, body[data-world="ogre"] .wl-head, body[data-world="ogre"] .world-lede, body[data-world="ogre"] .wl-row { color: var(--muted); }
body[data-world="ogre"] .ws-body { color: var(--text); }
body[data-world="ogre"] .ws-no { font-family: var(--f-display); }
body[data-world="ogre"] .ws-chapter, body[data-world="ogre"] .wl-row { border-top-color: var(--dim); }
body[data-world="ogre"] .wl-row, body[data-world="ogre"] .world-record-head { font-family: var(--f-num); }
body[data-world="ogre"] .wl-track { background: linear-gradient(90deg, transparent calc(50% - .5px), var(--dim) calc(50% - .5px), var(--dim) calc(50% + .5px), transparent calc(50% + .5px)); }
body[data-world="ogre"] .wl-bar { background: rgb(122 74 30 / .5); }
body[data-world="ogre"] .wl-vol i { background: var(--stain); }

@media (max-width: 860px) {
  body[data-world="ogre"] .banner-block { min-height: 580px; padding: 3.6rem 16px 1.6rem; }
  .plaque, .rings-key { margin-left: 0; }
  .cloth { top: 1.8rem; bottom: 15rem; left: -12%; right: 10%; background-size: auto, 32px 32px, 32px 32px; }
}
@media (max-width: 560px) {
  body[data-world="ogre"] nav:first-of-type { padding: 1rem 16px; gap: 10px; }
  body[data-world="ogre"] nav:first-of-type .nav-brand { display: none; }
  body[data-world="ogre"] .nav-ticker { font-size: .74rem; letter-spacing: .12em; }
}
