/* The Street look on a re-dressed page (docs/street-rollout/README.md).
   Loaded after site.css only when the page is drawn in Street: street_look_lib.php,
   StreetLookHead(). The page keeps its own HTML and its own layout ladder; this file
   changes how it looks. Everything here is under body.look-street.

   Most of site.css draws from its --site-* settings, so those are set to Main Street's
   palette first. The rules after them cover what site.css or the game stylesheet
   (gf.css) writes in directly: the parchment photograph, the copperplate type, the
   glow on headings and buttons. pages-hex.css follows this file on a HexFighter host. */

@font-face{font-family:Fraunces;src:url('/home-preview/fonts/fraunces-latin.woff2') format('woff2');font-weight:460 620;font-display:swap}
@font-face{font-family:Outfit;src:url('/home-preview/fonts/outfit-latin.woff2') format('woff2');font-weight:400 600;font-display:swap}

body.look-street{
  /* Main Street's own colours (dashboard-preview/hub.css) */
  --sl-ink:#f3ebdc;--sl-soft:#bdb19f;--sl-faint:#8d8273;--sl-line:rgba(240,224,194,.16);--sl-line-2:rgba(240,224,194,.32);
  --sl-gold:#e8a33d;--sl-gold-2:#ffca76;--sl-hot:#ff8552;--sl-glass:rgba(14,12,10,.78);--sl-bar:rgba(9,8,7,.94);
  --sl-title:560 1.55rem/1.1 Fraunces,Georgia,serif;
  --sl-main-top:#f2b354;--sl-main-bot:#d9902b;--sl-main-ink:#231505;--sl-quiet:rgba(20,17,14,.7);
  /* site.css settings, in its order */
  --site-ink:var(--sl-ink);--site-muted:var(--sl-soft);--site-panel:var(--sl-glass);--site-panel-solid:#15120f;
  --site-border:rgba(240,224,194,.11);--site-gold:var(--sl-gold-2);--site-rust:var(--sl-hot);
  --site-shadow:0 18px 50px rgba(0,0,0,.5);--site-inset:inset 0 0 0 1px rgba(240,224,194,.05);
  --site-btn-top:rgba(255,255,255,.07);--site-btn-bot:rgba(255,255,255,.03);
  --site-btn-hover-top:rgba(232,163,61,.26);--site-btn-hover-bot:rgba(232,163,61,.14);
  --site-th:rgba(255,255,255,.035);--site-row:rgba(255,255,255,.03);--site-input-bg:rgba(255,255,255,.05);
  --site-highlight:rgba(232,163,61,.12);--site-radius:14px;
  color:var(--sl-ink);background:transparent none;
  font-family:Outfit,"Segoe UI",system-ui,sans-serif;-webkit-font-smoothing:antialiased;
}
/* gf.css puts the parchment photograph on html as well as body. */
html:has(body.look-street){background:#0e0d0c none}

/* ---------- the backdrop: Main Street at night, from Main Street's own plates ---------- */
body.look-street::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(120% 90% at 70% 20%,rgba(20,26,48,0) 30%,rgba(9,8,7,.55) 100%),
    url('/dashboard-preview/street/back.webp') no-repeat 50% calc(100% - 10vh)/auto 46vh,
    url('/dashboard-preview/street/clouds.webp') repeat-x 0 0/auto 55vh,
    linear-gradient(to bottom,#05070f 0,#0d1730 32%,#25375e 62%,#1a1714 62.2%,#0e0d0c 100%);
  filter:brightness(.42) saturate(.7) sepia(.15)}
body.look-street.look-at-hotel::after{content:"";position:fixed;right:4vw;bottom:9vh;z-index:-1;pointer-events:none;
  width:calc(68vh * 282 / 532);height:68vh;
  background:url('/dashboard-preview/street/b-hotel-lit.webp') no-repeat center/contain,url('/dashboard-preview/street/b-hotel.webp') no-repeat center/contain;
  filter:brightness(.5) saturate(.8);opacity:.9}
/* the place's own building, at the right: Main Street's plate for it, at Main Street's scale */
body.look-street.look-at-store::after{content:"";position:fixed;right:4vw;bottom:9vh;z-index:-1;pointer-events:none;
  width:calc(49vh * 318 / 384);height:49vh;
  background:url('/dashboard-preview/street/b-store-lit.webp') no-repeat center/contain,url('/dashboard-preview/street/b-store.webp') no-repeat center/contain;
  filter:brightness(.5) saturate(.8);opacity:.9}
body.look-street.look-at-gunsmith::after{content:"";position:fixed;right:4vw;bottom:9vh;z-index:-1;pointer-events:none;
  width:calc(68vh * 248 / 532);height:calc(68vh * 368 / 532);
  background:url('/dashboard-preview/street/b-gunsmith-lit.webp') no-repeat center/contain,url('/dashboard-preview/street/b-gunsmith.webp') no-repeat center/contain;
  filter:brightness(.5) saturate(.8);opacity:.9}
body.look-street.look-at-school::after{content:"";position:fixed;right:4vw;bottom:9vh;z-index:-1;pointer-events:none;
  width:calc(68vh * 244 / 532);height:calc(68vh * 442 / 532);
  background:url('/dashboard-preview/street/b-school-lit.webp') no-repeat center/contain,url('/dashboard-preview/street/b-school.webp') no-repeat center/contain;
  filter:brightness(.5) saturate(.8);opacity:.9}
body.look-street.look-at-gazette::after{content:"";position:fixed;right:4vw;bottom:9vh;z-index:-1;pointer-events:none;
  width:calc(68vh * 254 / 532);height:calc(68vh * 364 / 532);
  background:url('/dashboard-preview/street/b-gazette-lit.webp') no-repeat center/contain,url('/dashboard-preview/street/b-gazette.webp') no-repeat center/contain;
  filter:brightness(.5) saturate(.8);opacity:.9}

/* ---------- type ---------- */
body.look-street,
body.look-street table,body.look-street th,body.look-street td,
body.look-street button,body.look-street input,body.look-street select{font-family:Outfit,"Segoe UI",system-ui,sans-serif}
body.look-street .site-title{font:var(--sl-title);text-shadow:none;color:var(--sl-ink)}
body.look-street font[size="+1"]{font:560 1.28rem/1.2 Fraunces,Georgia,serif;color:var(--sl-ink)}
/* a page title written as large type without the title class (the matchmaker's Current Events
   Board, the outfitting page's heading): drawn as the titles beside it are */
body.look-street font[size="+2"]:not(.site-title){font:var(--sl-title);color:var(--sl-ink)}
body.look-street i{color:var(--sl-soft)}
body.look-street b.equip-scrip{color:var(--sl-gold-2);font-weight:600}
/* headings the page colours with an old color attribute (the General Store's are brown) */
body.look-street font[color]{color:var(--sl-gold)}
/* but red is the page's warnings and errors (the checkout's "Do NOT refresh", "INSUFFICIENT
   FUNDS!"): they stay an alert, italics and bold inside them too */
body.look-street font[color="red" i],
body.look-street font[color="red" i] :is(i,b){color:var(--sl-hot)}
/* a column-heading row the page writes as cells, some in large type: small and quiet, as th */
body.look-street tr.hub-cols>td,
body.look-street tr.hub-cols>td font[size]{font:600 .78rem/1.3 Outfit,"Segoe UI",system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--sl-soft)}
/* a heading row the page writes as a column heading: keep it a heading, not a small label */
body.look-street tr.hub-banner>th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
body.look-street a{color:var(--sl-gold-2)}
body.look-street a:hover{color:#ffe0a8}

/* ---------- panels and tables ---------- */
body.look-street table.site-panel,
body.look-street>table.table,
body.look-street table.site-footer{border:1px solid var(--sl-line-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
/* column headings: the page's own words, small and quiet. Not wider than classic's, so the
   phone layout's narrow columns still hold them. */
body.look-street th{text-shadow:none;font-weight:600;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase;color:var(--sl-soft)}
@media (max-width:800px){body.look-street th{font-size:.74rem;letter-spacing:0;text-transform:none}}
body.look-street table.site-panel tr.hub-card:hover>td{background:rgba(255,255,255,.025)}
body.look-street table.site-footer{color:var(--sl-faint)}
/* the footer's border is written inline in the game's border colour: red on Gunfighter */
body.look-street:not(.look-hex) table.site-footer{border-color:var(--sl-line-2)!important}
body.look-street table.site-footer a{color:var(--sl-soft)}

/* Rows the page colours itself, inline (the store's stock pages, gear/inventory.php):
   Gunfighter's are light greys, #E5E4E2 and #C0C0C0 for the zebra and #B2BEB5 for an item
   the fighter owns and for the column-heading row. Under Street's light text they would be
   unreadable, so the zebra becomes glass. An owned item stays ash gray, because the page's
   own note says that is how equipped items are highlighted. HexFighter's rows are already
   dark blues and are left as they are. */
body.look-street:not(.look-hex) tr[style*="background-color:#E5E4E2" i],
body.look-street:not(.look-hex) tr[style*="background-color:#E5E4E2" i]>td{background-color:rgba(255,255,255,.015)!important}
body.look-street:not(.look-hex) tr[style*="background-color:#C0C0C0" i],
body.look-street:not(.look-hex) tr[style*="background-color:#C0C0C0" i]>td{background-color:rgba(255,255,255,.055)!important}
body.look-street:not(.look-hex) tr[style*="background-color:#B2BEB5" i],
body.look-street:not(.look-hex) tr[style*="background-color:#B2BEB5" i]>td{background-color:rgba(178,190,181,.24)!important}
/* an owned item also gets an ash-gray edge, down its row and the description row under it;
   below 800px the pistol rows become cards, and the edge goes down the whole card */
body.look-street:not(.look-hex) tr:is(.hub-card,.inv-benefits-row)[style*="background-color:#B2BEB5" i]>td:first-child{box-shadow:inset 4px 0 0 #b2beb5}
@media (max-width:800px){
  /* as cards, each keeps the card's own glass, so the backdrop does not show through; an owned
     item's ash goes on top of it */
  body.look-street:not(.look-hex) table:not(.inventory-sheet) tr.hub-card[style*="background-color"]{background:var(--site-panel)!important}
  body.look-street:not(.look-hex) table:not(.inventory-sheet) tr.hub-card[style*="background-color"]>td{background:transparent!important}
  body.look-street:not(.look-hex) table:not(.inventory-sheet) tr.hub-card[style*="background-color:#B2BEB5" i]{background:linear-gradient(rgba(178,190,181,.24),rgba(178,190,181,.24)),var(--site-panel)!important;box-shadow:inset 4px 0 0 #b2beb5}
  body.look-street:not(.look-hex) table:not(.inventory-sheet) tr.hub-card[style*="background-color:#B2BEB5" i]>td:first-child{box-shadow:none}
}
/* the heading rows use the owned colour in classic; in Street they are heading rows */
body.look-street:not(.look-hex) tr:is(.hub-cols,.hub-banner)[style*="background-color:#B2BEB5" i],
body.look-street:not(.look-hex) tr:is(.hub-cols,.hub-banner)[style*="background-color:#B2BEB5" i]>:is(td,th){background-color:rgba(255,255,255,.035)!important}
body.look-street:not(.look-hex) tr.hub-cols[style*="background-color:#B2BEB5" i]>td{color:var(--sl-soft)}
/* separator rows the page colours "brown" inline (pistol tuning, between one pistol's rows and
   the next): on glass that is a bright red bar, so in Street it is a thin line in the game's colour */
body.look-street tr.hub-banner > td[style*="background-color: brown" i]{background:var(--sl-line-2)!important;padding:0!important;height:3px;line-height:0;font-size:0}
/* The equipped pistol's first row is jumped to and washed with site.css's parchment
   (#f3ddb4, flashing from #ffe8b8). Street's cream, gold, and soft type is drawn for
   the dark glass, so on that wash it disappears. The row's text — cells, links,
   italics, small type, and the phone card's labels — uses the dark brown already
   set for type on the gold buttons. HexFighter's wash is the same parchment, and
   its type is set in pages-hex.css. */
body.look-street:not(.look-hex) table.pistol-skills tr.hub-card:target,
body.look-street:not(.look-hex) table.pistol-skills tr.hub-card:target *{color:var(--sl-main-ink)}
body.look-street:not(.look-hex) table.pistol-skills tr.hub-card:target>[data-label]::before{color:var(--sl-main-ink)}
/* a price the fighter cannot afford: classic's dark red does not read on glass */
body.look-street:not(.look-hex) td.price-unaffordable{color:var(--sl-hot)}

/* ---------- buttons ---------- */
body.look-street button,
body.look-street input[type="submit"],
body.look-street input[type="button"],
body.look-street a.site-btn-nav,
body.look-street .site-btn-nav{border:1px solid var(--sl-line-2);border-radius:8px;color:var(--sl-ink);font-weight:500;text-shadow:none;box-shadow:none}
body.look-street button:hover,
body.look-street a.site-btn-nav:hover,
body.look-street .site-btn-nav:hover{border-color:var(--sl-gold);color:var(--sl-ink)}
/* the corner return link keeps its classic box; on a phone that box is 44px tall, so its
   label is centred in it instead of sitting at the top */
body.look-street .hub-return>a{display:inline-flex;align-items:center;justify-content:center}
@media (max-width:45rem){body.look-street .hub-return>a{display:flex}}
/* the same for a row of page links (the checkout's Dashboard and Store Showroom): on a phone
   each is a full-width box taller than its label */
body.look-street .site-btn-row>a.site-btn-nav{display:inline-flex;align-items:center;justify-content:center}
@media (max-width:45rem){body.look-street .site-btn-row>a.site-btn-nav{display:flex}}
/* the page's main action, as Main Street draws its own */
body.look-street a.site-btn,
body.look-street .site-btn{border:1px solid #ffd690;border-radius:8px;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;text-shadow:none;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street a.site-btn:hover,
body.look-street .site-btn:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
/* A row of page links that leads off with the page's action (the outfitting page's Go Duel, Join
   the Duel, Accept the Duel or Check Challenge Board) and then the ways out (Return to Dashboard,
   Detour to Jeb's Store). The page gives every one of them the main-action class. In Street only
   the first is drawn as the main action, as each Main Street panel has one; the rest are glass. */
body.look-street .site-btn-row>:first-child~a.site-btn{background:var(--sl-quiet);border-color:var(--sl-line-2);color:var(--sl-ink);font-weight:500;box-shadow:none}
body.look-street .site-btn-row>:first-child~a.site-btn:hover{background:var(--sl-quiet);border-color:var(--sl-gold);color:var(--sl-gold-2)}
/* A duel the fighter is at a limit for: the action stays, switched off, and a tap on it shows
   why (DuelLimitTapScript). Drawn as Main Street draws its own blocked duel buttons (hub.css):
   the button dimmed and unchanged on hover, the reason in a light coral, not classic's dark red. */
body.look-street a.site-btn.gf-limit-off[aria-disabled="true"],
body.look-street a.site-btn.gf-limit-off[aria-disabled="true"]:is(:hover,:focus,:active){opacity:.55;filter:none;cursor:not-allowed;
  background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));border-color:#ffd690;color:var(--sl-main-ink);box-shadow:none}
/* A switched-off plain button (the Direct Challenges page's Accept, the PBEM board's and the
   matchmaker's limited buttons) keeps its resting border on hover too: it does nothing. */
body.look-street button.gf-limit-off[aria-disabled="true"]:is(:hover,:focus,:active){border-color:var(--sl-line-2)}
/* A refusal's reason, and the email notice beside a refused play-by-email post (the matchmaker's and the
   contract's .mm-pbem-email): site.css's dark red is about 2:1 on Street's panels. */
body.look-street :is(.gf-limit-reason,.gf-limit-error,.mm-pbem-email){color:#ffb694;font-weight:500}
/* its Account page link takes the notice's weight, as in the other email notice (.gf-limit-error); site.css makes it bold */
body.look-street .mm-pbem-email a{font-weight:inherit}
/* The private challenge search's name box: Street's panel border (--site-border) is too faint to
   show a box's edge, so it gets its own, 3:1 or better against the panel. */
body.look-street.challenge-search #gf-challenge-q{border-color:rgba(240,224,194,.5)}
/* On a phone site.css makes each page link a full-width box at least 44px tall (display:block),
   so a link's label sits at the top of its box, where a <button> centres its own. On the duel
   set-up pages (the PBEM board's Accept and Send a private challenge) the label is centred. */
@media (max-width:800px){body.look-street.path-page a:is(.site-btn,.site-btn-nav){display:flex;align-items:center;justify-content:center}}
/* page links in a heading cell (the outfitting page, for a fighter with no consumables): they are
   buttons and a sentence, not a column heading, so they keep the page's own size and case */
body.look-street th:has(.site-btn-row){font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
body.look-street a.site-qty-btn,
body.look-street .site-qty-btn{border:1px solid var(--sl-line-2);border-radius:8px;box-shadow:none;color:var(--sl-ink)}
body.look-street a.site-qty-btn:hover{border-color:var(--sl-gold);color:var(--sl-gold-2)}
body.look-street a.site-qty-btn:focus,
body.look-street :is(a,button,summary):focus-visible{outline:3px solid var(--sl-gold-2);outline-offset:2px}

/* A stray <br> before the page's own body (the General Store has one straight after its
   <title>) opens the body early and stands as a blank line above everything. In classic it is
   a 20px gap; above the Street bar it is a dark band. Not drawn in Street. */
body.look-street>br:first-child{display:none}

/* ---------- the Street bar (StreetLookTop) ---------- */
body.look-street .sl-bar{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:.7rem;min-height:3.75rem;margin:0 0 .4rem;
  padding:.45rem clamp(.7rem,2vw,1.5rem);background:var(--sl-bar);border-bottom:1px solid var(--sl-line);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font:400 1rem/1.3 Outfit,"Segoe UI",system-ui,sans-serif;color:var(--sl-ink)}
body.look-street .sl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.look-street .sl-bar a{text-decoration:none}
body.look-street a.sl-brand{flex:none;display:inline-flex}
body.look-street .sl-brand img{width:2.1rem;height:2.1rem;object-fit:contain}
body.look-street .sl-trail{display:flex;align-items:center;gap:.5rem;flex:none;min-width:0}
body.look-street a.sl-back{display:inline-flex;align-items:center;gap:.35rem;padding:.42rem .75rem .42rem .55rem;border:1px solid var(--sl-line-2);border-radius:8px;background:rgba(20,17,14,.7);color:var(--sl-ink);font-size:.9rem;white-space:nowrap}
body.look-street a.sl-back:hover{border-color:var(--sl-gold);color:var(--sl-gold-2)}
body.look-street .sl-back-arrow{font-size:1.3rem;line-height:.8;color:var(--sl-gold)}
body.look-street .sl-place{font:600 .7rem/1.3 ui-monospace,"SFMono-Regular",Consolas,monospace;letter-spacing:.16em;text-transform:uppercase;color:var(--sl-gold);white-space:nowrap}
body.look-street .sl-who{display:inline-flex;align-items:center;gap:.55rem;min-width:0;padding:.2rem .8rem .2rem .2rem;border:1px solid var(--sl-gold);border-radius:10px;background:rgba(44,34,22,.9);box-shadow:0 0 0 1px rgba(232,163,61,.35)}
body.look-street .sl-face{flex:none;width:2.5rem;height:2.5rem;border-radius:7px;object-fit:cover;background:#221d18}
body.look-street .sl-who-text{display:grid;min-width:0}
body.look-street .sl-who-name{font:560 .98rem/1.15 Fraunces,Georgia,serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.look-street .sl-who-meta{font-size:.72rem;color:var(--sl-gold-2);white-space:nowrap}
body.look-street .sl-gap{flex:1 1 auto}
body.look-street a.sl-link{flex:none;padding:.42rem .7rem;border:1px solid var(--sl-line-2);border-radius:8px;background:rgba(20,17,14,.78);color:var(--sl-ink);font-size:.86rem;white-space:nowrap}
body.look-street a.sl-wire{font:560 .92rem/1 Fraunces,Georgia,serif}
body.look-street a.sl-link:hover,body.look-street a.sl-menu:hover{border-color:var(--sl-gold);color:var(--sl-gold-2)}
body.look-street a.sl-menu{flex:none;display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .85rem;border:1px solid var(--sl-line-2);border-radius:8px;background:rgba(20,17,14,.7);color:var(--sl-ink);font-size:.9rem}
body.look-street .sl-burger{width:1rem;height:.7rem;border-block:2px solid currentColor;position:relative}
body.look-street .sl-burger::after{content:"";position:absolute;left:0;right:0;top:calc(50% - 1px);border-top:2px solid currentColor}

/* narrower: the bar keeps the way back, the fighter and Menu; the rest are on Main Street */
@media (max-width:67.99rem){body.look-street a.sl-guide{display:none}}
@media (max-width:51.99rem){
  body.look-street a.sl-wire{display:none}
  body.look-street .sl-bar{gap:.5rem}
}
@media (max-width:37.99rem){
  body.look-street .sl-who-text{display:none}
  body.look-street .sl-who{padding:.2rem;border-radius:9px}
  body.look-street .sl-place{display:none}
}
@media (max-width:25.99rem){
  /* the words leave the screen, not the page: the arrow and the burger are aria-hidden, so the words
     are the two links' names (display:none left them with none) */
  body.look-street .sl-back-word,body.look-street .sl-menu-word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body.look-street a.sl-back{padding:.42rem .6rem}
  body.look-street a.sl-menu{padding:.55rem .65rem}
}
/* A visitor's bar (StreetLookVisitorTop) holds only the way home and the guide, and a visitor has no Menu to find
   the guide in: both stay, with the word Home, at every width. */
body.look-street .sl-bar-visitor a.sl-guide{display:inline-flex}
body.look-street .sl-bar-visitor .sl-back-word{display:inline;position:static;width:auto;height:auto;overflow:visible;clip-path:none}
/* ---------- the duel set-up page (duel/create.php) ----------
   It prints its heading and its messages loose on the page, with no panel around them: on the night sky
   they sat at the window's edge and over the clouds. Here each sits on a panel of its own, in the column
   the other pages' panels use. The page is told apart by its heading, the only one not inside a table. */
body.look-street.path-page:has(>font.site-title)>:is(font.site-title,p){display:block;box-sizing:border-box;width:80%;max-width:100%;
  margin:0 auto 12px;padding:14px 20px;border:1px solid var(--sl-line-2);border-radius:var(--site-radius);background:var(--sl-glass);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.look-street.path-page:has(>font.site-title)>font.site-title{margin-top:20px}
body.look-street.path-page:has(>font.site-title)>font.site-title+br{display:none}
/* the page prints an empty paragraph between its message and the warning */
body.look-street.path-page:has(>font.site-title)>p:not([class]):not(:has(*)){display:none}
/* a paragraph that only holds the way back is not a panel; the button is */
body.look-street.path-page:has(>font.site-title)>p:has(>a.site-btn:only-child){padding:0;border:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}
body.look-street.path-page:has(>font.site-title)>a.site-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:80%;max-width:100%;margin:0 auto 12px}
/* the page writes the box's left margin into its own tag, so this needs !important to reach the column */
body.look-street.path-page:has(>font.site-title)>table.duel-accepted{margin:0 auto 12px 10%!important}
/* at 900-1300px the 10% box wrapped Enter Duel! onto two lines; the box grows to keep it on one */
body.look-street.path-page:has(>font.site-title)>table.duel-accepted button{white-space:nowrap}
@media (max-width:800px){
  body.look-street.path-page:has(>font.site-title)>:is(font.site-title,p,a.site-btn){width:100%;border-radius:0}
  body.look-street.path-page:has(>font.site-title)>p:has(>a.site-btn:only-child){padding:0 12px}
  body.look-street.path-page:has(>font.site-title)>table.duel-accepted{margin:0 0 12px 12px!important}
  /* Enter Duel! is the page's action: a full touch target, as the other pages' buttons */
  body.look-street.path-page:has(>font.site-title)>table.duel-accepted button{min-height:44px;padding-left:16px;padding-right:16px}
}
/* ---------- a page printed loose in <body> (duel/join.php) ----------
   StreetLookPanel() wraps its content in one panel, in the column the other pages' panels use. */
body.look-street .sl-page-panel{box-sizing:border-box;width:80%;max-width:100%;margin:20px auto 12px;padding:16px 20px;
  border:1px solid var(--sl-line-2);border-radius:var(--site-radius);background:var(--sl-glass);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.look-street .sl-page-panel>p{margin:0 0 12px}
/* the Duel Accepted box writes its margin into its tag: inside the panel it sits at the panel's edge */
body.look-street .sl-page-panel>table.duel-accepted{margin:4px 0 0!important}
body.look-street .sl-page-panel>table.duel-accepted button{white-space:nowrap}
/* join.php's own <style> gives the footer's cells a 5px brown border. Its footer follows the panel; its cells get
   the faint line every other Street page's footer cells have (gf.css and site.css), not the brown one. */
body.look-street .sl-page-panel~table.site-footer :is(th,td){border:1px solid var(--site-border)}
@media (max-width:800px){
  body.look-street .sl-page-panel{width:100%;margin-top:0;border-radius:0;padding:14px 12px}
  body.look-street .sl-page-panel>table.duel-accepted button{min-height:44px;padding-left:16px;padding-right:16px}
}
/* ---------- the active duels list (duel/active.php) ----------
   site.css marks "Your turn" in dark blue (#0b2a6b), unreadable on Street's dark panels. Main Street marks
   a duel waiting on the player's move in its hot colour (--hot, the same as --sl-hot in each game); so does this list. */
body.look-street .gf-duel-turn-label{color:var(--sl-hot)}
/* Each row's one action is its opponent's name, which opens the duel: a 20px text link. On a phone it is a line
   44px tall across its card, as the other pages' actions are. Only this page has a row link into a duel. */
@media (max-width:800px){body.look-street tr.hub-card>td>a[href^="/duel/index.php?duelID="]{display:flex;align-items:center;min-height:44px}}
/* ---------- the sign-in page (login/login.php), Street for every visitor (StreetLookVisitorPages) ----------
   One main action, as each Main Street panel has: the page's own form's Sign in. The other services' links
   (Discord, X) carry the main-action class; here they are glass. Google's button keeps Google's colours (site.css). */
body.look-street.look-visitor form[action="login.php"] button[name="submit"]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.look-visitor form[action="login.php"] button[name="submit"]:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
body.look-street.look-visitor .login-service-row>a.site-btn:not(.gf-google-btn){background:var(--sl-quiet);border-color:var(--sl-line-2);color:var(--sl-ink);font-weight:500;box-shadow:none}
body.look-street.look-visitor .login-service-row>a.site-btn:not(.gf-google-btn):hover{background:var(--sl-quiet);border-color:var(--sl-gold);color:var(--sl-gold-2)}
/* The username and password boxes: their placeholder is their only label, and site.css's border (--site-border)
   is too faint to show a box's edge on the glass. Both are drawn as the private challenge search's box is. */
body.look-street.look-visitor form[action="login.php"] input{border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.look-visitor form[action="login.php"] input::placeholder{color:var(--sl-soft);opacity:1}
/* A failed sign-in (and a Discord or Google refusal) is Bootstrap's pale pink alert: on the glass it is drawn
   as Street's refusals are, in their light coral, with an edge in the game's hot colour. */
body.look-street.look-visitor p.alert-danger{border:1px solid var(--sl-line-2);border-left:4px solid var(--sl-hot);border-radius:8px;background:var(--sl-quiet);color:#ffb694}
/* On a phone the boxes and Sign in fill the panel's width, and every control is a 44px touch target. */
@media (max-width:800px){
  body.look-street.look-visitor form[action="login.php"] :is(input,button){display:block;box-sizing:border-box;width:100%;min-height:44px;margin:0 0 8px}
  body.look-street.look-visitor .site-btn-row:is(.login-account-row,.login-service-row) a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
}
/* ---------- the registration page (login/register.php), Street for every visitor, as the sign-in page ----------
   Its heading is written as a column-heading cell (th): the title and the way home keep the page's own size and case. */
body.look-street.look-visitor form[action="register.php"] th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
/* One main action: the form's Register, drawn as the sign-in page's Sign in. */
body.look-street.look-visitor form[action="register.php"] button[name="submit"]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.look-visitor form[action="register.php"] button[name="submit"]:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
/* The boxes, as the sign-in page's: an edge that shows on the glass, and readable placeholders. */
body.look-street.look-visitor form[action="register.php"] :is(input[type="text"],input[type="email"],input[type="password"]){border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.look-visitor form[action="register.php"] input::placeholder{color:var(--sl-soft);opacity:1}
/* The live name check writes its answer in the page's own dark green and dark red, about 2.9:1 and 2.5:1 on the glass.
   A name that is taken or refused is in Street's refusal colour; an available one in a light green. */
body.look-street.look-visitor .reg-username-status.is-bad{color:#ffb694}
body.look-street.look-visitor .reg-username-status.is-free{color:#9fdcaa}
/* The age and terms box: in the game's colour, and larger than the browser's own. Its label is part of the target. */
body.look-street.look-visitor label.terms-accept input[type="checkbox"]{accent-color:var(--sl-gold);width:18px;height:18px;vertical-align:-3px}
@media (max-width:800px){
  /* the way home leaves the heading's corner for a full-width 44px button under the title, as on the other pages */
  body.look-street.look-visitor form[action="register.php"] th>span{float:none!important;display:block;margin-top:10px}
  body.look-street.look-visitor form[action="register.php"] th>span>a.site-btn-nav{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:1rem}
  body.look-street.look-visitor form[action="register.php"] :is(input[type="text"],input[type="email"],input[type="password"]){box-sizing:border-box;width:100%;min-height:44px}
  body.look-street.look-visitor form[action="register.php"] button[name="submit"]{width:100%;min-height:44px}
  body.look-street.look-visitor form[action="register.php"] .site-btn-row>a.site-btn-nav{min-height:44px}
}
/* ---------- the sign-up terms step (login/discord_terms.php, google_terms.php), Street for every visitor ----------
   What a Discord or Google newcomer sees in place of registration: terms_gate_page() (login/terms_lib.php) draws its card.
   Each heading is a column-heading cell (th), as registration's:
   the title keeps the page's own size and case. One main action: Create account, or on Discord's step
   Share my Discord email, with Continue without email beside it in the plain button look.
   The card loads no Bootstrap, whose reboot gives the sign-in page's Sign in the page's 16px: Create account takes it here,
   or it is the browser's 13.33px. */
body.look-street.look-visitor table:is(.terms-gate,.terms-gate-notice) th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
body.look-street.look-visitor table.terms-gate button[name="submit"],
body.look-street.look-visitor table.terms-gate-notice a.site-btn{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.look-visitor table.terms-gate button[name="submit"]{font-size:inherit}
body.look-street.look-visitor table.terms-gate button[name="email_choice"]{font-size:inherit}
body.look-street.look-visitor table.terms-gate button[name="submit"]:hover,
body.look-street.look-visitor table.terms-gate-notice a.site-btn:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
/* On a phone the action fills the card's width, and the box's line is a 44px touch target. */
@media (max-width:800px){
  body.look-street.look-visitor table.terms-gate button[name="submit"]{display:block;box-sizing:border-box;width:100%;min-height:44px}
  body.look-street.look-visitor table.terms-gate-notice a.site-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:44px}
  body.look-street.look-visitor table.terms-gate label.terms-accept{display:block;min-height:44px}
  body.look-street.look-visitor table.terms-gate button[name="email_choice"]{display:block;box-sizing:border-box;width:100%;min-height:44px;margin-top:8px}
}
/* ---------- the tutorial (tutorials/index.php), Street for everyone on a game with a Street look (StreetLookPublicPages) ----------
   The page's full-width table is a centred column of glass here, as the other pages' panels and the footer under it. */
body.look-street.gf-tutorial>table.gf-tutorial-panel{width:80%;max-width:100%;margin:0 auto 12px;border:1px solid var(--sl-line-2);border-radius:var(--site-radius);
  background:var(--sl-glass);box-shadow:var(--site-shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.look-street.gf-tutorial>table.gf-tutorial-panel>tbody>tr>td{border:0;background:transparent}
body.look-street.gf-tutorial>table.gf-tutorial-panel>tbody>tr:first-child>td{border-bottom:1px solid var(--sl-line)}
/* On a phone it stays a card with its edge and corners, and fills the width where site.css widens the footer under it
   (45rem), so the two line up at every width, as on the sign-in page. */
@media (max-width:45rem){body.look-street.gf-tutorial>table.gf-tutorial-panel{width:100%}}
/* The visitor's bar stays at the top (sticky, 3.75rem). A jump on the page (the skip link, Read the Basics) and Tab,
   forwards or back, stop below it rather than under it. The page's own 1rem scroll margin adds to it. */
html:has(body.look-street.gf-tutorial){scroll-padding-top:4.5rem}
/* Headings in Main Street's type, without site.css's light glow, which is meant for the parchment. */
body.look-street.gf-tutorial .gf-tutorial-site-title{font:var(--sl-title);color:var(--sl-ink);text-shadow:none}
body.look-street.gf-tutorial .gf-tutorial-main h2{font:560 1.3rem/1.25 Fraunces,Georgia,serif;color:var(--sl-ink);text-shadow:none}
body.look-street.gf-tutorial .gf-tutorial-intro h2{font-size:1.7rem;line-height:1.15}
body.look-street.gf-tutorial .gf-tutorial-main h3{font:600 1.05rem/1.3 Outfit,"Segoe UI",system-ui,sans-serif;color:var(--sl-gold-2)}
body.look-street.gf-tutorial .gf-tutorial-main strong{color:var(--sl-ink);font-weight:600}
body.look-street.gf-tutorial .gf-tutorial-main .gf-tutorial-note{color:var(--sl-soft)}
@media (max-width:45rem){body.look-street.gf-tutorial .gf-tutorial-site-title{font-size:1.3rem}body.look-street.gf-tutorial .gf-tutorial-intro h2{font-size:1.4rem}}
/* The visitor's bar already has the way home: the page's own Home is not drawn twice. Full Game / Log In stays. */
body.look-street.gf-tutorial .gf-tutorial-nav a[href="../index.php"]{display:none}
/* One main action, as each Main Street panel has: the two QuickDuel buttons (.gf-tutorial-button with the QuickDuel
   address; "Enter the Full Game / Log In" shares the class), in the main-button colours pages.css gives a.site-btn.
   Every other button on the page is glass, with an edge of 3:1 or better against the panel. */
body.look-street.gf-tutorial a.gf-tutorial-button[href*="ccheck.php?qscheck="]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink)}
body.look-street.gf-tutorial :is(.gf-tutorial-nav,.gf-tutorial-actions) a:not(.gf-tutorial-button[href*="ccheck.php?qscheck="]){
  padding:.55rem .9rem;border:1px solid rgba(240,224,194,.5);border-radius:8px;background:var(--sl-quiet);color:var(--sl-ink);font-weight:500;text-shadow:none;box-shadow:none}
body.look-street.gf-tutorial :is(.gf-tutorial-nav,.gf-tutorial-actions) a:not(.gf-tutorial-button[href*="ccheck.php?qscheck="]):hover{background:var(--sl-quiet);border-color:var(--sl-gold);color:var(--sl-gold-2)}
/* The visitor's bar on this page: its links are 44px touch targets and their edge 3:1 or better against the bar, as the
   skills page draws its own (skills.css). The shared bar keeps its size and edge elsewhere. */
body.look-street.gf-tutorial .sl-bar :is(a.sl-brand,a.sl-back,a.sl-link){min-height:44px;min-width:44px;align-items:center;justify-content:center}
body.look-street.gf-tutorial .sl-bar a.sl-link{display:inline-flex}
body.look-street.gf-tutorial .sl-bar :is(a.sl-back,a.sl-link){border-color:rgba(240,224,194,.6)}
/* The how-a-round steps, the stats and moves and the draw-mark callout, each with a Street edge. */
body.look-street.gf-tutorial .gf-tutorial-steps{padding:.55rem 1rem .55rem 2.4rem;border:1px solid var(--sl-line);border-radius:10px;background:rgba(255,255,255,.025)}
body.look-street.gf-tutorial .gf-tutorial-steps li::marker{color:var(--sl-gold-2);font-weight:600}
body.look-street.gf-tutorial .gf-tutorial-reference{padding:.1rem 0 .1rem 1rem;border-left:2px solid var(--sl-line-2)}
body.look-street.gf-tutorial .gf-tutorial-reference dt{color:var(--sl-ink);font-weight:600}
body.look-street.gf-tutorial .gf-tutorial-callout{padding:.8rem 1rem;border:1px solid var(--sl-line);border-left:3px solid var(--sl-gold);border-radius:0 10px 10px 0;background:rgba(255,255,255,.035)}
body.look-street.gf-tutorial .gf-tutorial-callout h3{margin-top:0}
@media (prefers-reduced-motion:reduce){body.look-street *{transition:none!important;animation:none!important}}

/* ---------- the Telegraph Office and the Post-duel Notification Page ----------
   The same board in both: slips, Mark read, ann-btn links, and the pinned
   continue button. Classic keeps announcements.css. Street replaces the cork
   and the neon with Main Street's night glass. The bar sits above the board;
   the board fills what's left so the button stays on screen. */
body.look-street.ann{
  display:flex;flex-direction:column;height:100vh;height:100dvh;max-width:100%;overflow:hidden;
  margin:0;background:transparent none;color:var(--sl-ink)
}
body.look-street.ann .ann-app{flex:1 1 auto;height:auto;min-height:0;width:100%;max-width:100%}
body.look-street.ann .sl-bar{flex:none;margin:0}
body.look-street.ann .ann-kicker{color:var(--sl-gold-2);letter-spacing:.16em}
body.look-street.ann .ann-mast h1{font:var(--sl-title);color:var(--sl-ink);text-shadow:none}
body.look-street.ann .ann-lede{color:var(--sl-soft)}
body.look-street.ann .ann-board{
  padding:1rem;border:1px solid var(--sl-line-2);border-radius:var(--site-radius);
  background:var(--sl-glass);box-shadow:var(--site-shadow);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)
}
body.look-street.ann .ann-slip{
  transform:none!important;color:var(--sl-ink);
  background:rgba(255,255,255,.04);border:1px solid var(--sl-line);border-radius:10px;box-shadow:none
}
body.look-street.ann .ann-tack{display:none}
body.look-street.ann .ann-slip h2{color:var(--sl-ink);font-family:Fraunces,Georgia,serif}
body.look-street.ann .ann-when,
body.look-street.ann .ann-body{color:var(--sl-soft)}
body.look-street.ann .ann-body,
body.look-street.ann .ann-body p,
body.look-street.ann .ann-body li{color:var(--sl-ink)}
body.look-street.ann .ann-body a{color:var(--sl-gold-2)}
body.look-street.ann .ann-foot,
body.look-street.ann-gf .ann-foot,
body.look-street.ann-gw .ann-foot{background:linear-gradient(to top,rgba(9,8,7,.92),rgba(9,8,7,0))}
body.look-street.ann .ann-go button,
body.look-street.ann .ann-body a.ann-btn,
body.look-street.ann .ann-body a.site-btn{
  border:1px solid #ffd690;border-radius:8px;
  background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));
  color:var(--sl-main-ink);font-weight:600;text-shadow:none;
  box-shadow:0 0 0 3px rgba(232,163,61,.18)
}
body.look-street.ann .pdn-mark button{
  border:1px solid var(--sl-line-2);border-radius:8px;background:var(--sl-quiet);
  color:var(--sl-ink);font-weight:500;box-shadow:none
}
body.look-street.ann .ann-more a,
body.look-street.ann .ann-kicker a{color:var(--sl-gold-2)}
@media (max-width:800px){
  body.look-street.ann .ann-board{padding:.7rem .55rem;border-radius:0}
  body.look-street.ann .ann-go button,
  body.look-street.ann .pdn-mark button,
  body.look-street.ann .ann-body a.ann-btn{min-height:44px}
}

/* ---------- fighter creation (login/create.php), a signed-in account's page ----------
   It has no Main Street place, so no building behind it, as the Telegraph Office. Its rules are picked by its own body
   class, create-page, which no other page asks SiteBodyClass() for. One main action: Confirm All and Create, drawn as
   Main Street draws its own (gold on Gunfighter; HexFighter's main blue through its --sl-main-* settings); on the
   "No open slots" page (the sheet straight under the bar, not inside the form), Return to your Main Dashboard. Every
   other button stays glass: This is me, the name and race buttons, Generate Different Avatar Images, the heading's
   way out and the store. */
body.look-street.create-page .create-confirm button[value="CA"],
body.look-street.create-page>table.create-sheet .create-inline-actions>a.site-btn-nav[href="../main.php"]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.create-page .create-confirm button[value="CA"]:hover,
body.look-street.create-page>table.create-sheet .create-inline-actions>a.site-btn-nav[href="../main.php"]:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
/* The assigned name: site.css sets it in Arial (the classic copperplate has no bold). Here it is a fighter's name as
   Main Street and the bar draw one, in Fraunces. HexFighter's Montserrat (pages-hex.css) already reaches it. */
body.look-street.create-page td.create-assigned-name .create-assigned-name-value{font-family:Fraunces,Georgia,serif;font-weight:600;color:var(--sl-main-top)}
/* The portraits: site.css draws each one 100% wide and a fixed 200px tall (180px on a phone), so a square portrait in
   a narrower card (168px at the Activity's 1137, 150px at 1024) has light bands above and below it, which read on the
   glass as a picture that has not loaded. Every creation portrait is square, so the box is square too. */
body.look-street.create-page .create-avatar img.site-portrait{height:auto;aspect-ratio:1/1}
@media (max-height:450px) and (min-width:801px){body.look-street.create-page .create-avatar img.site-portrait{width:84px;height:84px;max-height:84px;aspect-ratio:1/1}}
@media (min-height:451px) and (max-height:520px) and (min-width:801px){body.look-street.create-page .create-avatar img.site-portrait{max-height:120px}}
/* The name note ("That name was just taken", "could not assign a name") is site.css's #8b0000, about 2:1 on the glass:
   it takes Street's refusal colour, as the registration page's name check does. */
body.look-street.create-page .create-name-note{color:#ffb694}
/* The no-active-fighter line and the page's notes ("Pick a portrait first", "no longer on offer", the token line):
   the page's own bold type, with an edge in the game's colour so a line that answers a press stands out on the glass. */
body.look-street.create-page b:is(.create-no-active,.create-page-note){display:block;padding:.15rem 0 .15rem .7rem;border-left:3px solid var(--sl-gold);color:var(--sl-ink)}
/* The selects (difficulty, race): an edge that shows on the glass (3:1 or better against the panel, as the private
   challenge search's box), and an open list on a solid panel, so the light type never lands on the system's white. */
body.look-street.create-page .create-sheet select{border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.create-page .create-sheet select option{background-color:var(--site-panel-solid);color:var(--sl-ink)}
/* Decision 5 (Kevin, 2026-11-27): an account with no active fighter gets the bar without the brand link, Main Street
   and Menu (StreetLookTop(..., false): .sl-bar-nodash, which only this page draws; the rules name the page's class
   too). With no Menu to find them in, the Telegraph Office and the guide stay at every width, as 44px touch targets,
   as the visitor's bar keeps the guide; on the narrowest phones the game's mark gives them its room. */
body.look-street.create-page .sl-bar-nodash span.sl-brand{flex:none;display:inline-flex}
body.look-street.create-page .sl-bar-nodash :is(a.sl-wire,a.sl-guide){display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;border-color:rgba(240,224,194,.6)}
@media (max-width:22.49rem){body.look-street.create-page .sl-bar-nodash span.sl-brand{display:none}}
/* On a phone site.css makes the sheet's controls full-width boxes at least 44px tall, with the links' labels centred as
   a button centres its own (both looks). Street states both here too, so its phone rules do not rest on site.css's. */
@media (max-width:800px){
  body.look-street.create-page .create-sheet :is(select,button,a.site-btn-nav){min-height:44px}
  body.look-street.create-page .create-sheet a.site-btn-nav{display:flex;align-items:center;justify-content:center}
}
/* ---------- the Leaderboards (leaderboards/index.php), an open page at the Gazette (StreetLookOpenPages) ----------
   One sheet holds the title, the five board buttons, the "Showing" line and the rankings; site.css's lb-page rules keep
   its layout at every width (the two-line records on a phone too). Here the sheet is Main Street's glass, with the edge
   the other pages' panels have. */
body.look-street.lb-page>table.lb-sheet{border:1px solid var(--sl-line-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
/* The title row is a heading cell (th): the title and Main Dashboard (Home Page for a visitor) keep the page's own size
   and case, not the small column label Street makes of a th. */
body.look-street.lb-page tr.lb-title>th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
/* The column headings are written as cells in bold: small and quiet, as Street's other column headings. On a phone, as
   there, no capitals or spacing, so the narrow two-line records still hold them. */
body.look-street.lb-page tr.lb-cols>td,
body.look-street.lb-page tr.lb-cols>td>b{font:600 .78rem/1.3 Outfit,"Segoe UI",system-ui,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:var(--sl-soft)}
body.look-street.lb-page tr.lb-cols>td{background:var(--site-th);vertical-align:bottom}
/* The board on screen is a pressed button that leads nowhere (aria-current). site.css fills it with the page's gold, which
   in Street is the main-action colour; here it is drawn as Main Street draws its chosen tab: a dark plate, the gold edge
   and its glow. The other four are glass. */
body.look-street.lb-page nav.site-btn-grid-boards>.site-btn-current,
body.look-street.lb-page nav.site-btn-grid-boards>.site-btn-current:hover{background:rgba(44,34,22,.9);border-color:var(--sl-gold);color:var(--sl-ink);font-weight:600;box-shadow:0 0 0 1px rgba(232,163,61,.35),0 6px 22px rgba(0,0,0,.45)}
/* The "Showing" note: its words in the soft ink, its label in the page's ink. */
body.look-street.lb-page tr.lb-showing>td>b{color:var(--sl-ink);font-weight:600}
/* An empty board's one line (Kevin, 2026-11-29): a quiet note across the sheet, in the soft ink of the "Showing" note. */
body.look-street.lb-page tr.lb-empty>td{padding:18px 12px;color:var(--sl-soft);font-style:italic}
@media (max-width:800px){
  body.look-street.lb-page tr.lb-cols>td,
  body.look-street.lb-page tr.lb-cols>td>b{font-size:.74rem;letter-spacing:0;text-transform:none}
  /* site.css's record rule (3px between two fighters) is drawn in the panel's border colour, which Street makes faint:
     here it is the panel's edge colour, so each fighter's two lines still read as one record. */
  body.look-street.lb-page tr:is(.lb-cols,.lb-row)>td:nth-child(-n+5){border-top-color:var(--sl-line-2)}
  body.look-street.lb-page tr:is(.lb-cols,.lb-row)>td:nth-child(n+6){border-bottom-color:var(--sl-line-2)}
  /* The way out on its own row (558px and under): a 44px touch target, its label centred, as the other pages' buttons. */
  body.look-street.lb-page tr.lb-return-row a.site-btn-nav{display:flex;align-items:center;justify-content:center;min-height:44px}
  /* The board buttons too: with their one-line labels (Kevin, 2026-11-29) site.css's phone buttons are 40px. */
  body.look-street.lb-page nav.site-btn-grid-boards>.site-btn-nav{min-height:44px}
}
/* The bar's links are 44px touch targets with an edge of 3:1 or better against the bar, as the other open pages (the
   skills page, A Duelist's Guide) draw their own; the Telegraph Office still leaves a narrow bar, as on every page. */
body.look-street.lb-page .sl-bar :is(a.sl-brand,a.sl-back,a.sl-link,a.sl-menu){min-height:44px;min-width:44px;align-items:center;justify-content:center}
body.look-street.lb-page .sl-bar a.sl-link{display:inline-flex}
body.look-street.lb-page .sl-bar :is(a.sl-back,a.sl-link,a.sl-menu){border-color:rgba(240,224,194,.6)}
/* inline-flex above outweighs the shared bar's narrow-screen rules, so they are restated: the guide leaves the signed-in
   bar under 68rem (the visitor's bar keeps it at every width), the Telegraph Office leaves every bar under 52rem. */
@media (max-width:67.99rem){body.look-street.lb-page .sl-bar:not(.sl-bar-visitor) a.sl-guide{display:none}}
@media (max-width:51.99rem){body.look-street.lb-page .sl-bar a.sl-wire{display:none}}
/* ---------- the after-action report (duel/aar.php), an open page at the Gazette (StreetLookOpenPages) ----------
   One Bootstrap table (table.table) holds the banner, the duelists, the share box and the rounds; the page's own style
   block keeps its layout, its phone cards too. Bootstrap writes the table's text in its own near-black (--bs-table-color):
   on the glass it was all but invisible on Gunfighter (site.css fixes it for HexFighter only). Here it is Street's ink.
   These first rules name the place, not the page's class, so they reach the page's short "summary not ready" shape too
   (AarSummaryNotReadyHtml), whose body has no aar-page; the Leaderboards, the Gazette's other page, have no table.table. */
body.look-street.look-at-gazette>table.table{--bs-table-color:var(--sl-ink);--bs-table-bg:transparent;color:var(--sl-ink)}
/* The banner (the title, the animation and the way out) and a sentence row are heading cells (th): they keep the page's
   own size and case, not the small column label Street makes of a th. */
body.look-street.look-at-gazette>table.table th:has(>.aar-headline),
body.look-street.aar-page>table.table tr.aar-span>th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
body.look-street.look-at-gazette .aar-fought{color:var(--sl-soft)}
/* The View Duel Animation reason, shown in place when the greyed button is pressed, and the share box's error: the page
   and its script write #8b0000 inline (about 1.9:1 on the glass), so these need !important. Street's refusal colour, as
   on the other Street pages. The share box's own text, its status and Copied are written in dark brown inline. HexFighter
   keeps site.css's rules for its after-action report (ctx-hexfighter), which already read on its glass. */
body.look-street:not(.look-hex).aar-page :is(.replay-anim-reason,#replayShareError){color:#ffb694!important}
body.look-street:not(.look-hex).aar-page :is(#replayShareBox,#replayShareStatus,#replayCopied){color:var(--sl-ink)!important}
/* The greyed View Duel Animation: a dark plate, as HexFighter's (site.css), not the inline light grey. */
body.look-street:not(.look-hex).aar-page button.replay-anim-blocked,
body.look-street:not(.look-hex).aar-page button.replay-anim-blocked:is(:hover,:focus){background:rgba(20,17,14,.7)!important;color:var(--sl-soft)!important;border-color:var(--sl-line-2)!important}
/* The page draws its focus ring in dark brown, for the parchment: on the glass it is the game's light gold. */
body.look-street:not(.look-hex).aar-page :is(.replay-anim-btn,#replayShareBox button,#replayShareBox input):is(:hover,:focus){outline-color:var(--sl-gold-2)}
/* A QuickDuel's three next steps all carry the main-action class. One main action, as each Main Street panel has:
   Register is drawn as it; Play Again and the Discord link are glass. */
body.look-street.aar-page .aar-quick-next>a.site-btn~a.site-btn{background:var(--sl-quiet);border-color:rgba(240,224,194,.5);color:var(--sl-ink);font-weight:500;box-shadow:none}
body.look-street.aar-page .aar-quick-next>a.site-btn~a.site-btn:hover{background:var(--sl-quiet);border-color:var(--sl-gold);color:var(--sl-gold-2)}
/* The QuickDuel win card stays the tutorial's cream card: its Close keeps the card's dark type (Street's light button type
   was nearly invisible on it). */
body.look-street.aar-page #gfTutWin button.gf-tut-win-close,
body.look-street.aar-page #gfTutWin button.gf-tut-win-close:hover{color:#1a1208;border-color:#3d2914;background:#f3e6cf}
/* On a phone (the page's cards start at 920px) every button and page link is a 44px touch target, its label centred. */
@media (max-width:920px){
  body.look-street.look-at-gazette :is(table.table,center) :is(a.site-btn-nav,button.site-btn-nav,a.site-btn),
  body.look-street.aar-page .aar-quick-next>a.site-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box}
}
/* The bar's links are 44px touch targets with an edge of 3:1 or better against the bar, as on the other open pages; the
   guide and the Telegraph Office still leave a narrow bar, as on every page. */
body.look-street.look-at-gazette:has(>table.table) .sl-bar :is(a.sl-brand,a.sl-back,a.sl-link,a.sl-menu){min-height:44px;min-width:44px;align-items:center;justify-content:center}
body.look-street.look-at-gazette:has(>table.table) .sl-bar a.sl-link{display:inline-flex}
body.look-street.look-at-gazette:has(>table.table) .sl-bar :is(a.sl-back,a.sl-link,a.sl-menu){border-color:rgba(240,224,194,.6)}
@media (max-width:67.99rem){body.look-street.look-at-gazette:has(>table.table) .sl-bar:not(.sl-bar-visitor) a.sl-guide{display:none}}
@media (max-width:51.99rem){body.look-street.look-at-gazette:has(>table.table) .sl-bar a.sl-wire{display:none}}
/* ---------- the Account Management page (login/account.php), an account's page with no Main Street place ----------
   Re-dressed: its sections keep their order and their own markup. Its rules are picked by its body class, account-page,
   which no other page asks SiteBodyClass() for. site.css's account-page rules (both looks) put its messages in the panels'
   column, space its sections evenly, give the email panels one frame and level its labels; these come on top. */
/* Its headings are heading cells (th): the title, the way out and each section's heading keep the page's own size and case,
   not the small column label Street makes of a th. */
body.look-street.account-page th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
/* Every section has the same edge: the page's plain tables are drawn as its panels are (pages.css gives table.site-panel
   the brighter edge). */
body.look-street.account-page>table:not(.footer):not(.site-footer),
body.look-street.account-page>form>table,
body.look-street.account-page #email-settings>form>table,
body.look-street.account-page #email-settings>table{border:1px solid var(--sl-line-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
/* One main action per panel, as Main Street has. The page gives every link button the main-action class: the store (Buy A
   Game Code, or the Discord Store in the Activity), Allocate, Redeem, Link Discord and Link Google stay gold, and so does the
   Manager name's Confirm change. Unlink Discord, Unlink Google and the Manager name's Cancel are glass. With scrip waiting
   to be allocated, Allocate is the top panel's main action and the store is glass. */
body.look-street.account-page :is(button[name="unlinkDiscord"],button[name="unlinkGoogle"],#manager-name-cancel),
body.look-street.account-page table.site-panel:has(a[href="allocate.php"]) a.site-btn:not([href="allocate.php"]){background:var(--sl-quiet);border-color:rgba(240,224,194,.5);color:var(--sl-ink);font-weight:500;box-shadow:none}
body.look-street.account-page :is(button[name="unlinkDiscord"],button[name="unlinkGoogle"],#manager-name-cancel):hover,
body.look-street.account-page table.site-panel:has(a[href="allocate.php"]) a.site-btn:not([href="allocate.php"]):hover{background:var(--sl-quiet);border-color:var(--sl-gold);color:var(--sl-gold-2)}
/* The text boxes and the lists: an edge that shows on the glass (3:1 or better against the panel, as the sign-in page's),
   readable placeholders, and an open list on a solid panel. */
body.look-street.account-page :is(input[type="text"],input[type="email"],input[type="password"],select){border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.account-page input::placeholder{color:var(--sl-soft);opacity:1}
body.look-street.account-page select option{background-color:var(--site-panel-solid);color:var(--sl-ink)}
body.look-street.account-page input[type="checkbox"]{accent-color:var(--sl-gold);width:18px;height:18px;vertical-align:-3px}
/* The Manager name's live check: the page's own dark green and dark red are about 2.9:1 and 2.5:1 on the glass. As the
   registration page's: Street's refusal colour for a name that is taken or refused, a light green for one that is free.
   The page's style names the field's id, so these do too. */
body.look-street.account-page #manager-name-form .reg-username-status.is-bad{color:#ffb694}
body.look-street.account-page #manager-name-form .reg-username-status.is-free{color:#9fdcaa}
/* The messages: Bootstrap's pale boxes become Street's, as the sign-in page's refusal: a refusal in the light coral with an
   edge in the game's hot colour, a success ("Password changed.", "Email updated.") in a light green. Without Bootstrap they
   look the same. */
body.look-street.account-page p.alert{padding:.7rem 1rem;border:1px solid var(--sl-line-2);border-radius:8px;background:var(--sl-quiet);font-weight:500;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.look-street.account-page p.alert-danger{border-left:4px solid var(--sl-hot);color:#ffb694}
body.look-street.account-page p.alert-success{border-left:4px solid #6fcf8f;color:#9fdcaa}
/* The bar stays at the top (sticky, 3.75rem). A jump to a section (the dashboards' #manager-name, the email notices'
   #duel-notification-emails, a form's own anchor) stops below it rather than under it. */
html:has(body.look-street.account-page){scroll-padding-top:4.5rem}
@media (max-width:800px){
  /* the way out leaves the title's corner for a full-width button under it, as on the registration page */
  body.look-street.account-page>table.site-panel th>span{float:none!important;display:block;margin-top:10px}
  body.look-street.account-page>table.site-panel th>span>a.site-btn-nav{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:1rem}
  /* every control is a 44px touch target: the buttons, the boxes, the lists, the link buttons (labels centred), and each
     email box with its label */
  body.look-street.account-page :is(button,select,input[type="text"],input[type="email"],input[type="password"]){min-height:44px}
  body.look-street.account-page a.site-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin:6px 0}
  body.look-street.account-page label:has(>input[type="checkbox"]){display:flex;align-items:center;gap:.5rem;min-height:44px}
}
/* ---------- the Game Code Redemption page (login/redemption.php), an account's page with no Main Street place ----------
   Re-dressed: its one panel keeps its markup. Its rules are picked by its body class, redeem-page, which no other page
   asks SiteBodyClass() for. site.css's redeem-page rules (both looks) box its message and fit it to a phone; these come
   on top. */
/* The title and the way out are a heading cell (th): they keep the page's own size and case, as on Account Management. */
body.look-street.redeem-page th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
/* One main action, as each Main Street panel has: Redeem Game Code, in the main-button colours. */
body.look-street.redeem-page button[name="submit"]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.redeem-page button[name="submit"]:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
/* The code box: an edge that shows on the glass (3:1 or better), and a readable placeholder, its only label. */
body.look-street.redeem-page input[name="gameCode"]{border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.redeem-page input[name="gameCode"]::placeholder{color:var(--sl-soft);opacity:1}
/* The message, as Account Management's: a refusal in the light coral with an edge in the hot colour, a code applied in a
   light green. */
body.look-street.redeem-page p.alert{padding:.7rem 1rem;border:1px solid var(--sl-line-2);border-radius:8px;background:var(--sl-quiet);font-weight:500}
body.look-street.redeem-page p.alert-danger{border-left:4px solid var(--sl-hot);color:#ffb694}
body.look-street.redeem-page p.alert-success{border-left:4px solid #6fcf8f;color:#9fdcaa}
@media (max-width:800px){
  /* the way out leaves the title's corner for a full-width button under it, as on Account Management: 10px under the
     title, with the 8px site.css keeps under the title */
  body.look-street.redeem-page>table:first-of-type th>span{float:none!important;display:block;margin-top:2px}
  body.look-street.redeem-page>table:first-of-type th>span>a.site-btn-nav{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:1rem}
  /* every control is a 44px touch target; the box and Redeem fill the panel's width */
  body.look-street.redeem-page input[name="gameCode"]{display:block;box-sizing:border-box;width:100%;min-height:44px;margin:0 0 8px}
  body.look-street.redeem-page button[name="submit"]{width:100%;min-height:44px}
}
/* ---------- the Buy Codes page (login/buycodes.php), an open page with no Main Street place (StreetLookOpenPages) ----------
   Re-dressed: its panels keep their markup, and the nine Shopify scripts are not changed. Its rules are picked by its body
   class, buycodes-page, which no other page asks SiteBodyClass() for. site.css's buycodes-page rules (both looks) space its
   panels and fit its way out to a phone; these come on top. */
/* The title, the way out and the store's heading (the scrip note and the Shopify lead) are heading cells (th): they keep the
   page's own size and case, not the small column label Street makes of a th. */
body.look-street.buycodes-page th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
/* The scrip note in Street's warning colour (its hot colour, as the checkout's red warnings), 4.5:1 or better on the glass. */
body.look-street.buycodes-page b.buycodes-note{color:var(--sl-hot)}
/* The Shopify cards (Gunfighter's website). Shopify draws each card in a frame of its own, which Street's CSS cannot reach:
   its words are dark, on a see-through ground (Shopify's default; the page's options set no colour), so on Street's dark
   glass they would not be readable. Each card's cell gets a light ground, as Classic's parchment, and the card is centred
   in it. The nine scripts are not changed. */
body.look-street.buycodes-page table.gf-web-store>tbody>tr>td{background:#e8dcc8;border-color:rgba(107,62,31,.45);text-align:center;color:#2a1a0a}
body.look-street.buycodes-page table.gf-web-store div[id^="product-component-"]>*{margin-left:auto;margin-right:auto}
@media (max-width:800px){
  /* the way out leaves the title's corner for a full-width button under it, as on the redemption page: 10px under the
     title, with the 8px site.css keeps under the title */
  body.look-street.buycodes-page>table:first-of-type th>span{float:none!important;display:block;margin-top:2px}
  body.look-street.buycodes-page>table:first-of-type th>span>a.site-btn-nav{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:1rem}
  /* every control is a 44px touch target: "redeem it here", and the Discord Store in the Activity */
  body.look-street.buycodes-page a.site-btn-nav[href="redemption.php"]{display:inline-flex;align-items:center;min-height:44px}
  body.look-street.buycodes-page a.site-btn{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px}
  /* one card per row: each card's cell takes the panel's width, 8px under the one before */
  body.look-street.buycodes-page table.gf-web-store,
  body.look-street.buycodes-page table.gf-web-store>tbody,
  body.look-street.buycodes-page table.gf-web-store>tbody>tr{display:block}
  body.look-street.buycodes-page table.gf-web-store>tbody>tr>:is(th,td){display:block;box-sizing:border-box;width:auto}
  body.look-street.buycodes-page table.gf-web-store>tbody>tr>td{margin-top:8px}
}
/* ---------- the retire page (retire.php), an account's page with no Main Street place ----------
   Re-dressed: its one panel keeps its markup. Its rules are picked by its body class, retire-page, which no other page
   asks SiteBodyClass() for. site.css's retire-page rules (both looks) space the panel, centre the way out's label on a
   phone and give the button the page's type; these come on top. The way out stays glass, and on a phone it is a 44px
   button the panel's width under the title, as site.css and the rules above already draw it. */
/* The button retires the fighter for good, so it is not drawn as the way forward: it takes the classic dashboard's
   red-gold Retire? tint (site.css, body.dash-page a.site-btn-retire), with the weight of a main action. */
body.look-street.retire-page #retirementForm input[type="submit"]{border-color:#8d5549;background:linear-gradient(#e7d6d0,#c5a7a0);color:#3d1812;font-weight:600;box-shadow:0 0 0 3px rgba(141,85,73,.3)}
body.look-street.retire-page #retirementForm input[type="submit"]:hover{border-color:#fff0cf;background:linear-gradient(#efe1dc,#d3b7b1);color:#3d1812}
body.look-street.retire-page #retirementForm input[type="submit"]:focus-visible{outline:3px solid var(--sl-gold-2);outline-offset:2px}
/* ---------- the races page (races/index.php), an open page at the Schoolhouse (StreetLookOpenPages) ----------
   site.css's races-page rules keep its layout in both looks: one card per race, the portrait beside the name and the
   effects (76px beside the name on a phone). Here each card is Main Street's glass with the panels' edge, the portrait
   has the game's edge (gold; blue on HexFighter through its --sl-gold), and the name is in Main Street's title type. */
body.look-street.races-page>section.race-sheet{border:1px solid var(--sl-line-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.look-street.races-page>section.race-sheet>img.race-face{border-color:var(--sl-gold);border-radius:10px;background:#221d18;box-shadow:0 0 0 1px rgba(232,163,61,.35),0 6px 22px rgba(0,0,0,.45)}
body.look-street.races-page>section.race-sheet>h2.race-name{font:var(--sl-title);color:var(--sl-ink);text-shadow:none}
/* The effects: the column headings small and quiet, as Street's other headings; the rows on the card's glass. */
body.look-street.races-page table.race-effects{border-color:var(--sl-line);background:transparent}
body.look-street.races-page table.race-effects td.race-mag{color:var(--sl-ink);font-variant-numeric:tabular-nums}
@media (max-width:800px){
  body.look-street.races-page>section.race-sheet>h2.race-name{font-size:1.3rem}
  /* each effect is a card on the race's card: a quiet edge, not a second panel's shadow */
  body.look-street.races-page table.race-effects tr.hub-card{border:1px solid var(--sl-line-2);background:rgba(255,255,255,.035);box-shadow:none}
  body.look-street.races-page table.race-effects tr.hub-card>td.race-mag::before{color:var(--sl-soft);font-weight:500}
  /* The way out under the title: a 44px touch target, its label centred, as the other pages' buttons. */
  body.look-street.races-page .hub-return>a.site-btn-nav{min-height:44px}
}
/* The bar stays at the top (sticky, 3.75rem). A jump to a race (#CODE, the dashboards' race links) or to the intro
   (#HUMAN) stops below it rather than under it, as on A Duelist's Guide. */
html:has(body.look-street.races-page){scroll-padding-top:4.5rem}
/* The bar's links are 44px touch targets with an edge of 3:1 or better against the bar, as the Leaderboards and A
   Duelist's Guide draw their own; inline-flex outweighs the shared bar's narrow-screen rules, so they are restated: the
   guide leaves the signed-in bar under 68rem (the visitor's bar keeps it at every width), the Telegraph Office every bar
   under 52rem. */
body.look-street.races-page .sl-bar :is(a.sl-brand,a.sl-back,a.sl-link,a.sl-menu){min-height:44px;min-width:44px;align-items:center;justify-content:center}
body.look-street.races-page .sl-bar a.sl-link{display:inline-flex}
body.look-street.races-page .sl-bar :is(a.sl-back,a.sl-link,a.sl-menu){border-color:rgba(240,224,194,.6)}
@media (max-width:67.99rem){body.look-street.races-page .sl-bar:not(.sl-bar-visitor) a.sl-guide{display:none}}
@media (max-width:51.99rem){body.look-street.races-page .sl-bar a.sl-wire{display:none}}
/* ---------- the password reset pages (login/reset.php, login/password_reset.php), Street for every visitor (StreetLookVisitorPages) ----------
   Re-dressed: each keeps its own markup. The request form (reset.php) is drawn as the sign-in page, the set page the reset
   email links to (password_reset.php) as registration. Their rules are picked by their body classes, pwreq-page and
   pwset-page, which no other page asks SiteBodyClass() for. A refusal on either is drawn by the visitor pages' rule
   (p.alert-danger, above). site.css's pwreq-page and pwset-page rules (both looks) come under these. */
/* The request form, as the sign-in page: one main action, Send Password Reset Link; boxes whose edge shows on the glass,
   and readable placeholders, their only labels. */
body.look-street.pwreq-page form[action="reset.php"] button[name="submit"]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.pwreq-page form[action="reset.php"] button[name="submit"]:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
body.look-street.pwreq-page form[action="reset.php"] input{border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.pwreq-page form[action="reset.php"] input::placeholder{color:var(--sl-soft);opacity:1}
/* The set page, as registration: its table has no site-panel class, so it takes the panels' edge here; its title and way
   out are a heading cell (th) and keep the page's own size and case; Reset Password is the one main action; the boxes as
   the request form's. */
body.look-street.pwset-page table.pwset-panel{border:1px solid var(--sl-line-2);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
body.look-street.pwset-page table.pwset-panel th{font-size:inherit;letter-spacing:0;text-transform:none;color:var(--sl-ink)}
body.look-street.pwset-page button[name="submit"]{border-color:#ffd690;background:linear-gradient(180deg,var(--sl-main-top),var(--sl-main-bot));color:var(--sl-main-ink);font-weight:600;box-shadow:0 0 0 3px rgba(232,163,61,.18)}
body.look-street.pwset-page button[name="submit"]:hover{background:linear-gradient(180deg,#ffc56b,#e59c35);border-color:#fff0cf;color:var(--sl-main-ink)}
body.look-street.pwset-page input[type="password"]{border-color:rgba(240,224,194,.5);color:var(--sl-ink)}
body.look-street.pwset-page input::placeholder{color:var(--sl-soft);opacity:1}
/* A finished reset ("Your password has been changed."), as Account Management's "Password changed.": a light green, with an
   edge in a green. */
body.look-street.pwset-page p.alert-success{padding:.7rem 1rem;border:1px solid var(--sl-line-2);border-left:4px solid #6fcf8f;border-radius:8px;background:var(--sl-quiet);color:#9fdcaa;font-weight:500}
@media (max-width:800px){
  /* the request form's boxes and Send fill the panel's width, each a 44px touch target, 8px apart, as sign-in's */
  body.look-street.pwreq-page form[action="reset.php"] :is(input,button){display:block;box-sizing:border-box;width:100%;min-height:44px;margin:0 0 8px}
  /* the set page's way out leaves the title's corner for a full-width 44px button under it, as registration's */
  body.look-street.pwset-page table.pwset-panel th>span{float:none!important;display:block;margin-top:10px}
  body.look-street.pwset-page table.pwset-panel th>span>a.site-btn-nav{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:1rem}
  body.look-street.pwset-page input[type="password"]{box-sizing:border-box;width:100%;min-height:44px}
  body.look-street.pwset-page button[name="submit"]{width:100%;min-height:44px}
  /* Sign in, after a finished reset, the panel's width */
  body.look-street.pwset-page a.site-btn[href="login.php"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px}
  /* the sign-in page's way to the request form (Q1): a link on a line of its own, so a 44px touch target too */
  body.look-street.look-visitor p.login-forgot>a{display:inline-flex;align-items:center;min-height:44px}
}
/* ---------- long-form legal & guide sheets (legal/terms.php, legal/privacy.php) ---------- */
body.look-street.hub-page.duel-guide h1.duel-guide-title{font:var(--sl-title);color:var(--sl-ink)}
body.look-street.hub-page.duel-guide .duel-guide-sheet h2{font:560 1.25rem/1.25 Fraunces,Georgia,serif;color:var(--sl-gold-2);margin:1.35rem 0 .5rem;padding-bottom:.25rem;border-bottom:1px solid var(--sl-line)}
body.look-street.hub-page.duel-guide .duel-guide-sheet blockquote.terms-summary{margin:.85rem 0;padding:.55rem .95rem;border-left:3px solid var(--sl-gold);border-radius:0 8px 8px 0;background:rgba(255,255,255,.04);color:var(--sl-ink)}
body.look-street.hub-page.duel-guide .duel-guide-sheet table.policy-table{border-collapse:collapse;border:1px solid var(--sl-line)}
body.look-street.hub-page.duel-guide .duel-guide-sheet table.policy-table th{background:var(--site-th);border-color:var(--sl-line);color:var(--sl-soft)}
body.look-street.hub-page.duel-guide .duel-guide-sheet table.policy-table td{border-color:var(--sl-line);color:var(--sl-ink)}
body.look-street.hub-page.duel-guide .duel-guide-sheet .hub-return,body.look-street.hub-page.duel-guide tr.duel-guide-foot{display:none}

/* ---------- A Duelist's Guide (tutorials/how-duels-work.php), an open page at the Schoolhouse ----------
   It shares the legal pages' sheet and body class (the rules above reach it too). Its own rules are picked by its
   place, look-at-school, which the legal pages do not have (StreetLookPagePlace), so none of these reaches them. */
/* The bar stays at the top (sticky, 3.75rem). A jump on the page (the skip link) and Tab, forwards or back, stop below
   it rather than under it, as on the tutorial. */
html:has(body.look-street.duel-guide.look-at-school){scroll-padding-top:4.5rem}
/* The title row is a plain cell, not a heading cell: drawn as the legal pages' heading cell is here. */
body.look-street.duel-guide.look-at-school>table.duel-guide-sheet tr.hub-banner>td.duel-guide-head{text-shadow:none;font-weight:600;color:var(--sl-ink)}
/* The two section buttons are glass, with an edge of 3:1 or better against the panel, as the tutorial's buttons other
   than its main action. An open section's button takes the game's colour on its edge, beside the page's own open mark. */
body.look-street.duel-guide.look-at-school .duel-guide-main .gf-collapse-section>button.gf-collapse-btn{border:1px solid rgba(240,224,194,.5);border-radius:8px;
  background:var(--sl-quiet);color:var(--sl-ink);font-weight:500;text-shadow:none;box-shadow:none}
body.look-street.duel-guide.look-at-school .duel-guide-main .gf-collapse-section>button.gf-collapse-btn[aria-expanded="true"]{border-color:var(--sl-gold)}
body.look-street.duel-guide.look-at-school .duel-guide-main .gf-collapse-section>button.gf-collapse-btn:hover{border-color:var(--sl-gold);color:var(--sl-gold-2)}
/* The visitor's box: a callout with a Street edge. Register is the main action (the first a.site-btn of a row is drawn
   gold above, the others glass); the glass ones get an edge of 3:1 or better. */
body.look-street.duel-guide.look-at-school .duel-guide-visitor{border:1px solid var(--sl-line);border-left:3px solid var(--sl-gold);border-radius:0 10px 10px 0;background:rgba(255,255,255,.035)}
body.look-street.duel-guide.look-at-school .duel-guide-visitor .site-btn-row>:first-child~a.site-btn{border-color:rgba(240,224,194,.5)}
body.look-street.duel-guide.look-at-school .duel-guide-visitor .site-btn-row>:first-child~a.site-btn:hover{border-color:var(--sl-gold)}
body.look-street.duel-guide.look-at-school .duel-guide-visitor p.duel-guide-visitor-note{color:var(--sl-soft)}
/* The bar's links are 44px touch targets with an edge of 3:1 or better against the bar, as the tutorial and the skills
   page draw their own; the Telegraph Office still leaves a narrow bar, as on every page. */
body.look-street.duel-guide.look-at-school .sl-bar :is(a.sl-brand,a.sl-back,a.sl-link,a.sl-menu){min-height:44px;min-width:44px;align-items:center;justify-content:center}
body.look-street.duel-guide.look-at-school .sl-bar a.sl-link{display:inline-flex}
body.look-street.duel-guide.look-at-school .sl-bar :is(a.sl-back,a.sl-link,a.sl-menu){border-color:rgba(240,224,194,.6)}
@media (max-width:51.99rem){body.look-street.duel-guide.look-at-school .sl-bar a.sl-wire{display:none}}
