/* minamisoft.com.
   The model is DMM GAMES, in its look as well as its layout: a game platform, not a product page. So:
   the page is carried by banners (the games' logos and copy are drawn into the pictures, assets/banners/<lang>/),
   everything is flat and square and packed close, type is heavy, actions are orange, marks are red, and the only
   quiet colours are the white of the page and the dark of the tab bar. Sky, from the logo, marks "current".
   Do not bring back rounded cards, soft shadows, check-mark lists or pale chips: that is the look this replaced. */
@font-face { font-family: "Mochiy"; src: url("/assets/fonts/mochiy.woff2") format("woff2"); font-display: swap; }
/* the header's wordmark (2026-11-25): Inter Bold, as plain and heavy as DMM GAMES' own */
@font-face { font-family: "Inter Mark"; src: url("/assets/fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: block; }

:root {
  --ink: #333; --ink-2: #555; --ink-3: #767676; --line: #dcdcdc; --wash: #f4f4f4;
  --bar: #1d2433; --sky: #35c5f0; --navy: #0b2a63; --link: #1263c4;
  --sky-soft: rgb(53 197 240 / .16); --sky-press: rgb(53 197 240 / .4);
  --go: #ff9933; --go-hi: #ff9933; --red: #e60033;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic", "Microsoft YaHei", "PingFang SC", "Microsoft JhengHei", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { font: 14px/1.5 var(--font); color: var(--ink); background: #fff; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
/* under the pointer: the thing fades a little, at once. Nothing slides, grows, or changes colour. */
a:hover, button:hover, label.av:hover, summary:hover { opacity: .8; }
.gn a:hover, .svc.off { opacity: 1; }
/* Under the pointer, as DMM GAMES' current pages answer it (games.dmm.com: its top page and its lists, whose design this
   site copies; their style sheet has no underline under the pointer at all, read 2026-12-01): a picture, a button, an
   icon and a text link all fade, the rule above, at once. Only a tab of the main bar darkens instead (.gn) and a row of
   a top-bar menu turns grey (.mn-l). DMM's older pages (its PC game shop, the old game pages) underline their links;
   they are not the model. What DMM does animate is the main bar's menu (.dd-m) and a dialog coming in (dialog[open]). */
/* My games in the left column: a game's picture with its name is a picture, so the two fade together (DMM's tiles there:
   opacity .8, no underline, no tint; its stylesheet, read 2026-12-01). It needs no rule of its own: the fade above. */
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
b, strong { font-weight: 700; }   /* never heavier: a bold word inside a bold line would otherwise ask for 900 */
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ── The white bar: the logo and the round of icons ─────────────────────── */
.hd { position: relative; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 3.2%; padding: 0 round(3.2%, 1px); background: #fff; }   /* whole pixels: the logo is a picture */
.logo { display: flex; align-items: baseline; gap: 6px; color: #111; }
.logo img { border-radius: 50%; }
/* the site's name, as one piece of text ("Minami Soft Games"): the top page's main heading, a plain span elsewhere */
/* "Minami Soft" larger, "Games" smaller, on one baseline, in their own colours (blue and ink), with no picture beside them.
   Drawn, not typed (2026-11-30): each word is an SVG of straight bars on the pixel grid, one drawing per size, made by
   tools/make_wordmark.py (why, and how its colours were computed, is written there), laid over its own text. The text stays, unseen: it is the top page's heading.
   The rules below are what the pictures fall back to (Windows high contrast shows the text instead). */
.nm { display: flex; align-items: baseline; gap: 6px; font: inherit; }
.wm, .gm { font-family: "Inter Mark", var(--font); font-weight: 700; line-height: 1.2099609375; white-space: nowrap; }
.wm { font-size: 22px; color: var(--navy); }
.gm { font-size: 15px; color: var(--ink); }
/* wordmark:begin (written by tools/make_wordmark.py, do not edit by hand) */
.nm { align-items: flex-end; }
.wm, .gm { display: block; flex: none; overflow: hidden; -webkit-text-fill-color: transparent; background: 0 0 / 100% 100% no-repeat; }
.wm { width: 137px; height: 18px; background-image: url("/assets/brand/wordmark/header-wm.svg"); }
.gm { width: 50px; height: 12px; background-image: url("/assets/brand/wordmark/header-gm.svg"); }
@media (max-width: 640px) { .wm { width: 116px; height: 16px; background-image: url("/assets/brand/wordmark/phone-wm.svg"); } .gm { width: 39px; height: 11px; background-image: url("/assets/brand/wordmark/phone-gm.svg"); } }
.st-hd .wm { width: 137px; height: 18px; background-image: url("/assets/brand/wordmark/studio-wm.svg"); }
.st-hd .gm { width: 50px; height: 12px; background-image: url("/assets/brand/wordmark/studio-gm.svg"); }
.pb .wm { width: 116px; height: 15px; background-image: url("/assets/brand/wordmark/bar-wm.svg"); }
.pb .gm { width: 39px; height: 10px; background-image: url("/assets/brand/wordmark/bar-gm.svg"); }
/* wordmark:end */
@media (forced-colors: active) { .nm { align-items: baseline; } .wm, .gm { width: auto; height: auto; -webkit-text-fill-color: currentColor; background: none; } }
/* Each icon stands in a cell as high as the bar; the cells sit side by side, so the icons keep their old distance. */
/* the search. (Its size is YouTube's since 2026-12-03: the block "The bar at YouTube's size" below. What follows is the
   frame it had before, for a phone, which keeps it.) Its frame was FANZA's (DMM's shared header, its own stylesheet navismithapis-cdn.com/css/pc/min.css,
   read 2026-11-30): 23% of the window wide (195 to 540 px), 30 px high in the middle of the 48 px bar, 3 px left of
   the icons; the words 14 px, padding 6 px; the button 33 x 30, its right end rounded, a white magnifier drawn in 1 px
   lines (DMM's picture) on the site's blue.
   How it behaves is YouTube's (youtube.com, measured 2026-12-01; YouTube's box is 40 px high, ours 30, so its sizes
   inside the box are taken at three quarters): the box edged #c6c6c6 with a faint shadow inside (#eee); focused, it
   widens 32 px to the left, a magnifier comes in at its left, its edge turns blue #1c62b9 and its shadow darkens
   (black at 30%); with words in it, a round clear button. Under it, 4 px down, the suggestions: white, corners 12 px,
   a shadow (black at 20%, 2 px down, 4 px wide), 8 px above and below; rows 44 px high, 8 px in from the sides, corners
   8 px, the one pointed at grey (black at 5%); a 20 px icon (a clock for a past search, a magnifier for the rest),
   16 px words, a picture 53 x 30 with corners of 4 px (a channel's round), and on a past search a 16 px cross to
   remove it, seen on the row pointed at. */
.sf { position: relative; display: flex; flex: 0 1 23vw; min-width: 195px; max-width: 540px; height: 30px; margin: 0 3px 0 auto; }
.sf:focus-within { flex-basis: calc(23vw + 32px); max-width: 572px; }
.sf-b { position: relative; display: flex; flex: 1; align-items: center; min-width: 0; height: 30px; padding: 0 0 0 14px; border: 1px solid #c6c6c6; border-right: 0; border-radius: 15px 0 0 15px; background: #fff; box-shadow: inset 0 1px 2px #eee; }
.sf:focus-within .sf-b { padding-left: 36px; border-color: #1c62b9; border-right: 1px solid #1c62b9; box-shadow: inset 0 1px 2px rgb(0 0 0 / .3); }
.sf-i { display: none; position: absolute; left: 12px; top: 6px; width: 16px; height: 16px; fill: none; stroke: #0f0f0f; stroke-width: 1.800; }
.sf:focus-within .sf-i { display: block; }
.sf input { flex: 1; min-width: 0; height: 28px; margin: 0; padding: 0 6px 0 0; border: 0; border-radius: 0; background: none; color: #0f0f0f; font: inherit; font-size: 14px; line-height: 28px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; outline: 0; appearance: none; }
.sf input::-webkit-search-cancel-button { display: none; }
.sf-x { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-right: 1px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.sf-x:hover { background: rgb(0 0 0 / .1); opacity: 1; }
.sf-x[hidden] { display: none; }
.sf-x svg { width: 16px; height: 16px; fill: none; stroke: #0f0f0f; stroke-width: 1.800; }
.sf-go { flex: none; width: 33px; height: 30px; padding: 0; border: 0; border-radius: 0 15px 15px 0; background: var(--sky); cursor: pointer; }
.sf-go svg { display: block; width: 33px; height: 30px; fill: none; stroke: #fff; stroke-width: 14; }
.sf-l { position: absolute; top: 34px; left: 0; right: 33px; z-index: 70; max-height: calc(100vh - 60px); margin: 0; padding: 8px 0; overflow-y: auto; list-style: none; border: 1px solid #ccc; border-top: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 4px rgb(0 0 0 / .2); }
.sf-l[hidden] { display: none; }
.sf-l li { display: flex; align-items: center; gap: 14px; height: 44px; margin: 0 8px; padding: 0 8px 0 16px; border-radius: 8px; color: #0f0f0f; font-size: 16px; line-height: 20px; cursor: default; }
.sf-l li[aria-selected="true"] { background: rgb(0 0 0 / .05); }
.sf-l .k { flex: none; width: 20px; height: 20px; fill: none; stroke: #0f0f0f; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.sf-l .t, .sf-l .tw { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sf-l .t b { font-weight: 700; }
.sf-l .tw { display: flex; flex-direction: column; }
.sf-l .tw .t { flex: none; }
.sf-l .tw small { color: #606060; font-size: 12px; line-height: 16px; }
.sf-l .th { flex: none; width: 53px; height: 30px; border-radius: 4px; object-fit: cover; background: var(--wash); }
.sf-l .av { flex: none; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--wash); }
.sf-l .rm { flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-left: 4px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; }
.sf-l li[aria-selected="true"] .rm { opacity: 1; }
.sf-l .rm svg { width: 16px; height: 16px; fill: none; stroke: #0f0f0f; stroke-width: 1.800; }
.ico { display: flex; align-self: stretch; margin-right: -11px; }
/* Create, between the search and the bell: YouTube's button (youtube.com, measured signed in 2026-12-01: a pill 40 high,
   black at 5% (10% under the pointer), a 24 px plus, 14 px words, 16 px in from its sides, 8 px before the bell), taken
   at three quarters as the search is, its words on the site's scale (12 px, 600). Only a signed-in player sees it, as
   on YouTube. YouTube's opens a menu (Upload video, Go live, Create post); the Studio makes one thing, a work, so ours
   goes straight to its upload. On a phone, the plus alone. */
.mk { align-self: center; display: flex; align-items: center; gap: 4px; height: 30px; margin: 0 6px 0 10px; padding: 0 12px 0 9px; border-radius: 15px; background: rgb(0 0 0 / .05); color: #0f0f0f; font-size: 12px; font-weight: 600; line-height: 30px; white-space: nowrap; }
.mk:hover { opacity: 1; background: rgb(0 0 0 / .1); }
.mk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; }
/* (each icon in a cell 50 wide and the bar's height, the cells touching, as DMM's header has them: measured on its saved
   page at 1360 and 1900 wide, 2026-12-01) */
.im { position: relative; display: flex; align-items: center; padding: 0 9px; border: 1px solid transparent; border-bottom: 0; }
.im > a { position: relative; display: grid; place-items: center; width: 30px; height: 30px; color: #555; }
.im > a > b { position: absolute; top: -5px; left: 16px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; line-height: 17px; font-weight: 700; text-align: center; }
/* The bar at YouTube's size (the owner, 2026-12-03: "Publish the YouTube size top bar"). YouTube's own, measured
   part by part on its watch page in the owner's signed-in Chrome (1366 wide; the sizes do not change with the window,
   only the search box gets narrower when there is less room): 56 high, 16 px in from both ends; the guide button
   40 x 40 at the very left (16), its 24 px icon at 24; the logo's drawing 16 px after the button (72); the search box
   with its button at most 600 wide, 40 high, 16 px words, the button 64 x 40 with a 24 px magnifier; at least 88 px
   between the logo's drawing and the box (its logo's 12, a 40 margin and the 36 the box keeps at its left to widen
   into when focused) and 68 after the box (4, 12 and the 40 microphone, then 12 inside its right part); the free room
   shared equally before and after; then Create (a 40 px pill: 16 in, a 24 px plus, 14 px words, 16 out), the bell
   and the account's picture (32), buttons 40 x 40, 8 apart, the last one's edge 16 px from the window's.
   (Two earlier tries the same day measured YouTube signed out and took its whole middle part, microphone included,
   for the box: 732, then 632; both came out larger than YouTube's, and the guide button stood 20 px to the right of
   YouTube's. The owner saw each at once.) We have no microphone: its room stays. Our right side holds more (Create,
   the bell, favourites, help, the cart, the account), so where YouTube has free room on both sides of the box, ours
   has less. Focused, the box reaches 32 px further left, as YouTube's does, without moving anything. Before all this,
   ours was FANZA's: 48 high, the search 30 high with 14 px words, 23% of the window wide. A phone keeps its own bar. */
@media (min-width: 641px) {
  .hd, .gd-top { height: 56px; }
  .hd { padding-right: 16px; }   /* (the last button 16 px from the edge on every page, as on YouTube) */
  .hd > .logo { margin-right: 36px; }
  .hd > .ico { margin: 0 -4px 0 16px; }
  .sf, .sf:focus-within { flex: 0 1 600px; min-width: 0; max-width: 600px; height: 40px; margin: 0 auto; }
  .sf-b { height: 40px; padding-left: 16px; border-radius: 20px 0 0 20px; }
  .sf:focus-within .sf-b { margin-left: -32px; padding-left: 48px; }
  .sf:focus-within .sf-l { left: -32px; }
  .sf-i { left: 16px; top: 10px; width: 20px; height: 20px; }
  .sf input { height: 38px; font-size: 16px; line-height: 38px; }
  .sf-x { width: 36px; height: 36px; margin-right: 2px; }
  .sf-x svg { width: 24px; height: 24px; }
  .sf-go { width: 64px; height: 40px; border-radius: 0 20px 20px 0; }
  .sf-go svg { width: 40px; height: 40px; margin: 0 auto; }
  .sf-l { top: 44px; right: 64px; }
  .im { padding: 0 3px; }
  .im > a { width: 40px; height: 40px; }
  .im > a > b { top: 0; left: 21px; }
  .hd .ico .im .me-pic { width: 32px; height: 32px; }
  /* the buttons evenly spaced (the owner, 2026-12-03; ours are not YouTube's, so no measure of theirs): 24 px between
     everything seen, Create's pill, each 24 px icon and the 32 px picture, which ends the bar at its edge */
  .hd .ico > .im:last-child .me-pic { justify-self: end; }
  .mk { gap: 6px; height: 40px; margin: 0 12px 0 10px; padding: 0 16px; border-radius: 20px; font-size: 14px; line-height: 40px; }
  .mk svg { width: 24px; height: 24px; }
  body.watching .hd { padding: 0 16px; }
  body.watching .hd > .gd-b.hd-gd { margin: 0; }
  body.watching .hd-gd + .logo { margin-left: 16px; }
}
/* Narrower desktop/tablet windows (measured on live YouTube 2026-12-04): the header stays a single 56px row and the
   search bar shrinks continuously to fill the space between logo and icons — never wrapping to a full-width second row. */
@media (min-width: 641px) and (max-width: 1016px) {
  .hd > .logo { margin-right: 16px; }
  .hd > .ico { margin-left: 12px; }
  .sf:focus-within .sf-b { margin-left: 0; padding-left: 42px; }
  .sf:focus-within .sf-l { left: 0; }
  .sf-i { left: 14px; }
  .sf-go { width: 48px; }
  .sf-l { right: 48px; }
  .mk { width: 40px; padding: 0; justify-content: center; }
  .mk span { display: none; }
}
@media (min-width: 641px) and (max-width: 820px) {
  .hd { padding: 0 12px; }
  body.watching .hd { padding: 0 12px; }
  body.watching .hd-gd + .logo { margin-left: 8px; }
  .hd > .logo { margin-right: 10px; }
  .hd > .ico { margin: 0 -2px 0 10px; }
  .im { padding: 0 1px; }
  .im > a { width: 34px; height: 34px; }
  .hd .ico .im .me-pic { width: 28px; height: 28px; }
  .mk { width: 34px; height: 34px; margin: 0 4px 0 0; }
  .sf-go { width: 44px; }
  .sf-l { right: 44px; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .hd .wm { width: 116px; height: 16px; background-image: url("/assets/brand/wordmark/phone-wm.svg"); }
  .hd .gm { width: 39px; height: 11px; background-image: url("/assets/brand/wordmark/phone-gm.svg"); }
}

/* The menus under the icons (favourites, the cart, the account), as DMM's top bar has them (its bell, like ours,
   is a plain link and opens none): the icon's cell lights up pale and a pale panel hangs from it, its right edge on the cell's; a bold head with its icon in colour;
   white rows 38 high, one pixel apart, with a small arrow at the right; a row under the pointer turns grey (DMM's
   menus do, where everything else on the site only fades). They open under a pointer or the keyboard; a finger
   has neither, and its tap goes to the icon's own page as before. */
.mn { position: absolute; top: 100%; right: -1px; z-index: 2; width: max-content; min-width: 216px; max-width: 320px; padding: 20px; border: 1px solid #dee0e3; background: #f2f4f7; box-shadow: 2px 4px 8px -3px rgba(0, 0, 0, .4); visibility: hidden; transition: visibility 0s .12s; }
.mn h2 { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; color: var(--ink); font-size: 14px; line-height: 22px; font-weight: 700; white-space: nowrap; }
.mn h2 svg { width: 22px; height: 22px; stroke-width: 2; color: #12a5d6; }
.mn h2 svg.c-fav { color: #f5b400; fill: currentColor; }
.mn-l li { margin: 1px 0; }
.mn-l + .mn-l, .mn-say + .mn-l { margin-top: 10px; }
.mn-l a, .mn-l button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 38px; padding: 4px 10px; border: 0; border-radius: 2px; background: #fff; color: var(--ink); font-size: 12px; line-height: 18px; text-align: left; white-space: nowrap; }
.mn-l a:hover, .mn-l button:hover { opacity: 1; background: #ccc; }
.mn-l a > span { min-width: 0; margin-right: auto; overflow: hidden; text-overflow: ellipsis; }
.mn-l img { width: 30px; height: 30px; object-fit: cover; flex: none; }
.mn-l small { display: block; color: var(--ink-3); font-size: 10px; line-height: 15px; }
.mn-l b { flex: none; font-size: 12px; }
.mn-l .cv { width: 11px; height: 11px; stroke-width: 2.5; color: #999; }
.mn-say { margin-bottom: 10px; color: var(--ink-2); font-size: 12px; line-height: 18px; }
.mn-sum { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 1px; font-size: 12px; line-height: 18px; }
.mn-sum b { font-size: 16px; line-height: 24px; }
.mn .bt { min-height: 38px; padding: 7px 16px; }
/* the cart's menu: a game on sale in red over its regular price; under the total, the payment, then the cart's page */
.mn-l b.sale { display: flex; flex-direction: column; align-items: flex-end; color: var(--red); }
.mn-l b.sale s { display: block; color: var(--ink-3); font-size: 10px; line-height: 14px; font-weight: 400; }
#mn-cart-pay { width: 100%; }
/* the cart's menu, empty: a white card where the games would be, saying so with the cart drawn pale, and under it, where
   the payment would be, the way to the PC games (the only games sold one at a time) */
.mn-none { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px 14px; border-radius: 2px; background: #fff; color: var(--ink-2); font-size: 12px; line-height: 18px; }
.mn-none svg { width: 30px; height: 30px; fill: none; stroke: #c3c7cc; stroke-width: 1.500; }
.mn .ob.mn-find { display: flex; justify-content: center; width: 100%; height: 38px; margin-top: 10px; }
#mn-cart-full .mn-l { margin-top: 8px; }
.mn-go { display: grid; gap: 8px; margin-bottom: 10px; }
/* The account's menu is a panel, on the model of DMM.com's own (measured 2026-12-01 in a signed-in browser: 751 wide;
   at the left, 514 wide, a banner 484 by 65 and under a bold head two columns of white rows 238 by 38, a pixel apart,
   each with its name at 12 px and at its right, at 10 px in grey, what the row opens; at the right, 235 wide behind a
   line, rows 200 by 38 with an icon, a name and an arrow, and Sign out at the foot). Ours: the banner is for
   creators; the rows at the left are the player's things and, signed in, the Creator Studio's; every row has an
   icon; and the right begins with the player (YouTube's head, as the players' system has it). */
.im[data-menu="who"] > .mn { display: flex; width: 790px; max-width: none; padding: 0; }
.mn-a { flex: 1 1 0; min-width: 0; padding: 15px 14px 20px 20px; }
.mn-b { flex: none; width: 236px; padding: 16px; border-left: 1px solid #e1e3e6; }
.mn-a h2 { margin-top: 16px; }
.mn-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4px; }
.mn-l .ic { width: 20px; height: 20px; color: #555; }
.mn-l a > small { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mn-g a > span { flex: none; max-width: 100%; }
/* the banner: flat, in the site's navy, its words in the page's language (DMM's is a picture) */
.mn-ad { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0 14px; height: 65px; padding: 0 78px 0 16px; overflow: hidden; background: var(--navy); color: #fff; }
.mn-ad em { grid-row: 1 / 3; padding: 3px 10px; border: 1px solid rgb(255 255 255 / .7); color: #fff; font-size: 12px; line-height: 18px; font-style: normal; font-weight: 700; white-space: nowrap; }
.mn-ad b { align-self: end; overflow: hidden; font-size: 20px; line-height: 26px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.mn-ad span { align-self: start; overflow: hidden; color: rgb(255 255 255 / .85); font-size: 12px; line-height: 18px; white-space: nowrap; text-overflow: ellipsis; }
.mn-ad svg { position: absolute; right: 18px; top: 9px; width: 46px; height: 46px; color: var(--sky); stroke-width: 2.4; }
.mn h2 svg.c-me { color: var(--ink); }
.mn h2 svg.c-me circle { fill: currentColor; }
.mn h2 svg.c-me path { stroke: #fff; }
@media (max-width: 880px) {
  /* a narrow window: one column, the player and the account's rows first */
  .im[data-menu="who"] > .mn { flex-direction: column; width: 300px; max-height: calc(100vh - 56px); overflow-y: auto; }
  .mn-b { order: -1; width: auto; border-left: 0; border-bottom: 1px solid #e1e3e6; }
  .mn-g { grid-template-columns: minmax(0, 1fr); }
  .mn-ad { grid-template-columns: minmax(0, 1fr); padding-right: 16px; }
  .mn-ad em, .mn-ad svg { display: none; }
}
/* "Sign out" stands at the menu's foot, at the right, as a plain bold link with its door (DMM's does) */
.mn-out { display: flex; justify-content: flex-end; margin-top: 14px; }
.mn-out button { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; line-height: 22px; font-weight: 700; }
.mn-out svg { width: 20px; height: 20px; }
.mn-go .ob { height: 38px; margin-top: 0; justify-content: center; }
@media (hover: hover) and (min-width: 641px) {
  .im[data-menu]:hover, .im[data-menu]:focus-within { border-color: #dee0e3; background: #f2f4f7; }
  .im[data-menu]:hover > .mn, .im[data-menu]:focus-within > .mn { visibility: visible; transition-delay: 0s; }
  /* the lit cell and its panel are one shape: the cell covers the panel's upper line under itself */
  .im[data-menu]:hover::after, .im[data-menu]:focus-within::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; height: 1px; background: #f2f4f7; }
}

/* ── The dark bar: the tabs ─────────────────────────────────────────────── */
/* The tab bar, as DMM GAMES' (its style sheet, read 2026-12-01): grey #383838, 46 high; the tabs in a row at most 1680
   wide in the middle, so that below that width トップ stands at the very left edge; each tab 12 px in from its sides,
   14 px words in #ebebeb; under the pointer a tab turns #121212; the current tab #66d5eb with #093e48 words, and under
   the pointer white at 18% laid over it. */
.gn { background: #383838; }
.gn-in { display: flex; align-items: stretch; max-width: 1680px; height: 46px; margin: 0 auto; padding: 0; overflow-x: auto; scrollbar-width: none; }
.gn-in::-webkit-scrollbar { display: none; }
.gn a { display: flex; align-items: center; gap: 7px; padding: 0 12px; color: #ebebeb; font-size: 14px; line-height: 21px; font-weight: 400; white-space: nowrap; }
.gn a.on { background: #66d5eb; color: #093e48; }
/* under the pointer a tab darkens at once, as DMM's does (its bar #383838 goes to #121212; ours goes darker by the
   same share), and the tab of this page lightens (DMM: white at 18% over it) */
.gn a:hover { background: #121212; }
.gn a.on:hover { background: #66d5eb linear-gradient(#ffffff2e, #ffffff2e); }
.gn em { font-style: normal; font-size: 10px; line-height: 14px; font-weight: 700; padding: 0 4px; border-radius: 2px; background: var(--red); color: #fff; }

/* ── The page: the column of modules, then the banners and shelves ──────── */
.pg { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; max-width: 1690px; margin: 0 auto; padding: 24px 28px 72px; align-items: start; }
.sd { display: grid; gap: 30px; }
.mod h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 16px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
.mod h2 > span { white-space: nowrap; }
.mod h2 a { font-size: 12px; line-height: 18px; font-weight: 400; white-space: nowrap; }
.bt { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; border: 0; border-radius: 4px; background: var(--go); color: #422100; font-size: 14px; line-height: 24px; font-weight: 700; text-align: center; }
.mg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
/* My games as DMM's left column has it (signed in, 2026-12-01): the column starts with it, no picture or name above
   (DMM puts the member in the dark bar; ours is in the account menu); each game a square picture over its name, a link
   in blue of at most two lines */
.mg a { display: block; color: var(--link); font-size: 12px; line-height: 15px; }
.mg span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.mg img { aspect-ratio: 1; object-fit: cover; margin-bottom: 4px; }
.rc li + li { margin-top: 10px; }
.rc a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--ink-2); font-size: 12px; line-height: 18px; }
.rc img { aspect-ratio: 1; object-fit: cover; }
.rc small { display: block; font-size: 12px; color: var(--ink-3); }
.nl a { display: block; padding: 8px 0; color: #333; font-size: 14px; line-height: 21px; }
.sb { display: block; }
.sb + .sb { margin-top: -22px; }

/* ── The carousel, as DMM GAMES' (games.dmm.com, measured 2026-12-02) ──
   A slide is a 16:9 scene (or film) at the right and a key visual of 1160 x 1080 over its left: the key's ground ends
   where the scene begins and its character and words run on over the scene, so the two read as one picture. Slides
   change at once, with no fade. The scene settles as it comes in (DMM's poster: 1.05 to 1 in 3s, ease-out) and, where
   it is a film, its first picture fades out over 1s once the film plays. The whole slide fades to .8 under the pointer
   (every link does), at once, and it fades toward the white page, so it lightens: the dark ground (#383838, until the
   pictures are in) is the slide's own, as DMM's is its sub banner's and its film's, never the carousel's behind it. */
.hero { position: relative; }
.hero-st { position: relative; }
.sl { position: relative; aspect-ratio: 2724 / 1070; overflow: hidden; }
.s { position: absolute; inset: 0; visibility: hidden; background: #383838; }
.s.on { visibility: visible; }
.s .wd { position: absolute; top: 0; right: 0; width: calc(100% * 1904 / 2724); height: 100%; overflow: hidden; }
.wd .ps, .wd video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wd .ps { transition: opacity 1s; }
.s.on .ps { animation: poster-in 3s ease-out forwards; }
@keyframes poster-in { from { transform: scale(1.05); } }
.wd.pl .ps { opacity: 0; }
.s .kv { position: absolute; z-index: 1; top: 0; left: 0; width: auto; height: 100%; max-width: none; display: block; }
/* The arrows (its .prevButton and .nextButton): out of sight until the pointer is on the carousel, then they slide in
   by 36px and fade to .8, both in .3s; black, 38 x 53, with a white mark; .6 under the pointer itself. */
.ar { position: absolute; z-index: 2; top: 50%; width: 38px; height: 53px; border: 0; background: #000; color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s; }
.ar.pv { left: 0; transform: translate(-48px, -50%); } .ar.nx { right: 0; transform: translate(48px, -50%); }
.hero:hover .ar.pv, .ar.pv:focus-visible { transform: translate(-12px, -50%); } .hero:hover .ar.nx, .ar.nx:focus-visible { transform: translate(12px, -50%); }
.hero:hover .ar, .ar:focus-visible { opacity: .8; pointer-events: auto; }
.hero:hover .ar:hover { opacity: .6; }
/* (a screen with no pointer to rest: the arrows stand at the banner's edges) */
@media (hover: none) { .ar { opacity: .8; pointer-events: auto; } .ar.pv, .ar.nx { transform: translate(0, -50%); } }
/* The strip (its .slideSelector, read from its style sheet and the live page): each slide's own banner (340:90, fitted
   whole), a link to its game, on #383838 with 1px between and a divider of rgba(0,0,0,.18) in it; every link at .4,
   the slide's shown at full, with no outline and no frame: the one sign of the slide shown is the 2px track along its
   top, #848484, that fills in #1bb2cf as the slide's time runs (six seconds, or its film's length), set four times a
   second and eased to each step in .25s, linear. The pointer resting on a banner shows its slide (site.js: after
   100ms, as DMM's), so the banner under the pointer comes to full by being the one shown, not by a hover style. */
.th { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: #383838; }
.th li { position: relative; aspect-ratio: 340 / 90; }
.th li:not(:last-child)::after { content: ""; position: absolute; top: 0; left: 100%; width: 1px; height: 100%; background: rgba(0, 0, 0, .18); }
.th a { position: relative; display: block; height: 100%; opacity: .4; }
.th a:hover { opacity: .4; }
.th a.on, .th a.on:hover { opacity: 1; }
.th img { display: block; width: 100%; height: 100%; object-fit: contain; }
.th-bar { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 2px; background: #848484; }
.th-bar i { position: absolute; inset: 0; background: #1bb2cf; transform: scaleX(0); transform-origin: 0 0; }
.th a.on .th-bar i { transition: transform .25s linear; }
/* (the hidden arrow stands 48px past the carousel: the page is cut at its own width, so no sideways scroll comes of it) */
.pg { overflow-x: clip; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.tiles img { width: 100%; }

/* ── Shelves ────────────────────────────────────────────────────────────── */
.sec { margin-top: 46px; }
.h { font-size: 24px; line-height: 32px; font-weight: 700; margin-bottom: 14px; }
.h.big { font-size: 24px; margin-bottom: 8px; }
.hh { display: flex; align-items: baseline; gap: 22px; font-size: 20px; line-height: 28px; font-weight: 700; margin-bottom: 14px; }
.hh a { display: inline-flex; align-items: center; font-size: 14px; font-weight: 400; }
.hh a svg { width: 14px; height: 14px; stroke-width: 2; }
.ev { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ev a { color: var(--ink); }
.ev img { width: 100%; }
.ev p { margin-top: 10px; font-size: 14px; line-height: 23px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.lb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lb span { display: inline-block; padding: 0 7px; border: 1px solid #bdbdbd; color: #555; font-size: 12px; line-height: 19px; font-weight: 700; }
.lb .free { border-color: var(--red); background: var(--red); color: #fff; }
.lb .paid { border-color: #111; background: #111; color: #fff; }
.lb .cost { border-color: var(--red); color: var(--red); font-style: italic; font-size: 12px; }
.fv { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: #444; font-size: 12px; font-weight: 700; }
.fv svg { width: 17px; height: 17px; }
.fv.sm { width: 30px; height: 30px; padding: 0; margin-left: auto; border-radius: 50%; }
.fv[aria-pressed="true"] { color: #e08a00; border-color: #f0b23c; }
.fv[aria-pressed="true"] svg { fill: currentColor; }

/* A new game: the red date in the corner, as DMM marks its new arrivals. */
.newg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ng { position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 0 22px; align-items: start; padding: 44px 20px 20px 8px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: #fff; }
.ng::before { content: ""; position: absolute; left: -1px; top: -3px; border: 9px solid transparent; border-left-color: var(--red); border-top-color: var(--red); }
.ng .date { position: absolute; left: 20px; top: 6px; color: var(--red); font-weight: 700; font-size: 14px; display: flex; align-items: baseline; gap: 6px; }
.ng .date b { font-size: 24px; line-height: 30px; font-style: italic; }
.ng .pic img { width: 200px; aspect-ratio: 1; object-fit: cover; }
.ng h4 { font-size: 20px; line-height: 30px; font-weight: 700; }
.ng h4 a { color: var(--ink); }
.ng .tx > p { margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 23px; }
.ng .tx .lb { margin-top: 12px; }
.ng small { display: block; margin-top: 12px; font-size: 12px; font-weight: 700; color: #111; }
.ng .act { display: grid; gap: 10px; width: 200px; align-self: center; }

/* Games on their way: the release line on top, as DMM lists its pre-registrations. */
.pre { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px 20px; }
.pre article { position: relative; padding: 10px 0 0 12px; border-top: 3px solid #bdbdbd; }
.pre article::before { content: ""; position: absolute; left: 0; top: -3px; border: 8px solid transparent; border-left-color: #bdbdbd; border-top-color: #bdbdbd; }
.rd { display: flex; align-items: center; gap: 8px; padding-left: 8px; font-size: 14px; font-weight: 700; color: #555; margin-bottom: 8px; }
.rd em { font-style: normal; font-size: 10px; line-height: 15px; font-weight: 700; padding: 0 4px; border-radius: 2px; background: var(--red); color: #fff; }
.pre .pic { display: block; }
.pre .pic img { width: 100%; }
.pre h4 { margin-top: 10px; font-size: 16px; line-height: 25px; font-weight: 700; }
.pre article > p:not(.rd):not(.lb) { margin-top: 4px; color: var(--ink-3); font-size: 14px; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pre .lb { margin-top: 10px; }

/* ── The store: the paid list, a game's page, the cart, the membership's page ── */
.pg.one { grid-template-columns: minmax(0, 1fr); max-width: 1290px; }
.lead { color: var(--ink-2); font-size: 14px; margin: -2px 0 20px; }
.bt:disabled { background: #d6d6d6; color: #7a7a7a; box-shadow: none; cursor: default; }
.bt.in { background: #fff; color: #b35f00; box-shadow: inset 0 0 0 2px var(--go); }
.bt.in::before { content: "✓"; margin-right: 8px; }
.pr { font-size: 24px; line-height: 36px; font-weight: 700; font-style: italic; color: var(--red); }
.pr small { margin-left: 6px; font-size: 14px; font-style: normal; color: var(--ink-2); }
.pr.tba { font-size: 14px; font-style: normal; color: var(--ink-3); }
.pl { display: grid; gap: 18px; }
.pi { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr) 220px; gap: 0 22px; align-items: start; padding: 14px 18px 14px 12px; border: 1px solid var(--line); border-top: 3px solid #bdbdbd; background: #fff; }
.pi::before { content: ""; position: absolute; left: -1px; top: -3px; border: 8px solid transparent; border-left-color: #bdbdbd; border-top-color: #bdbdbd; }
.pi .pic img { width: 100%; }
.pi .rd { padding-left: 0; }
.pi h2 { font-size: 20px; line-height: 30px; font-weight: 700; }
.pi h2 a { color: var(--ink); }
.pi .tx > p:not(.rd):not(.lb) { margin-top: 4px; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.pi .lb { margin-top: 10px; }
.buy { display: grid; gap: 10px; align-self: center; }
.buy .pr { text-align: right; }

.bc { display: flex; flex-wrap: wrap; gap: 6px 0; margin: -6px 0 14px; font-size: 12px; color: var(--ink-3); }
.bc > * + *::before { content: "›"; margin: 0 9px; color: #999; }
.gp { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.gp-hero { width: 100%; }
.gp-shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.gp-main .hh { margin-top: 34px; padding-left: 12px; border-left: 5px solid var(--red); line-height: 26px; }
.body { color: var(--ink-2); font-size: 14px; line-height: 27px; }
.body.sm { margin-top: 16px; color: var(--ink-3); font-size: 14px; line-height: 22px; }
.ftl { display: grid; gap: 12px; }
.ftl li { padding: 12px 16px; background: var(--wash); border-left: 3px solid #bdbdbd; color: var(--ink-2); font-size: 14px; line-height: 24px; }
.ftl b { color: var(--ink); font-weight: 700; }
.spec { display: grid; grid-template-columns: 150px minmax(0, 1fr); margin: 0; border-top: 1px solid var(--line); font-size: 14px; }
.spec dt, .spec dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.spec dt { background: var(--wash); font-weight: 700; }
.gp-buy { position: sticky; top: 16px; display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: #fff; }
.gp-buy .kv { width: 100%; }
.gp-buy h1 { font-size: 20px; line-height: 30px; font-weight: 700; }
.gp-buy .bt { height: 56px; font-size: 16px; }
.gp-buy .sm { color: var(--ink-3); font-size: 12px; line-height: 20px; }
.free7 { font-size: 14px; font-weight: 700; color: #c4005e; }
.pml { display: block; padding: 12px 14px; background: #fff0f6; border: 1px solid #ffb3d1; color: var(--ink-2); font-size: 12px; line-height: 20px; }
.pml b { display: block; color: #c4005e; font-size: 14px; font-weight: 700; }
.pp-hero { width: 100%; max-width: 1040px; outline: 1px solid #111; outline-offset: -1px; margin-bottom: 4px; }
.steps { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 12px 16px 12px 60px; background: var(--wash); color: var(--ink-2); font-size: 14px; line-height: 24px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; font-style: italic; font-size: 16px; line-height: 32px; text-align: center; }
.steps b { color: var(--ink); font-weight: 700; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 330px)); margin-top: 0; }

.ct { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
#cart-list li { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto auto; gap: 0 20px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line); }
#cart-list li:first-child { border-top: 3px solid #bdbdbd; }
#cart-list .pic img { width: 100%; }
#cart-list div a { display: block; color: var(--ink); font-size: 16px; line-height: 26px; font-weight: 700; }
#cart-list small { color: var(--ink-3); font-size: 12px; }
#cart-list li > b { font-size: 20px; font-weight: 700; font-style: italic; color: var(--red); white-space: nowrap; }
.rm { height: 32px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: #555; font-size: 12px; font-weight: 700; }
.ct-empty { padding: 44px 20px; border: 1px solid var(--line); border-top: 3px solid #bdbdbd; text-align: center; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.ct-empty .ob { margin-top: 16px; }
.ct-sum { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: #fff; }
.ct-sum .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.ct-sum .total { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 700; }
.ct-sum .total b { font-size: 24px; font-style: italic; color: var(--red); }
.ct-sum .bt { height: 56px; font-size: 16px; }
.ct-sum .sm { color: var(--ink-3); font-size: 12px; line-height: 20px; }

/* The membership's advertisement, as DMM sets its "GAMES 遊び放題": the banner, and a grey panel with two bold lines. */
.pm { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr); background: var(--wash); }
.pm .pic img { width: 100%; outline: 1px solid #111; outline-offset: -1px; }
.pm .tx { align-self: center; padding: 16px 28px; }
.pm .big { font-size: 20px; line-height: 32px; font-weight: 700; }
.pm .sm { margin-top: 8px; color: var(--ink-3); font-size: 14px; line-height: 21px; }
.ob { display: inline-flex; align-items: center; height: 48px; margin-top: 18px; padding: 0 18px; border: 1px solid #777; border-radius: 4px; background: #fff; color: #222; font-size: 14px; font-weight: 700; }
/* What the site is, in plain words (people and search engines both read it). */
.abt p { color: var(--ink-3); font-size: 14px; line-height: 25px; }
.abt h3 { margin-top: 14px; font-size: 14px; line-height: 26px; font-weight: 700; }
/* short selling lines, one a row, where a paragraph of explanation used to stand (as DMM's pages carry them) */
.pts li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 14px; line-height: 26px; }
.pts li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.catch { margin-bottom: 8px; color: var(--red); font-size: 20px; line-height: 30px; font-weight: 700; }

/* ── The footer: columns of small links, Language Settings, the black line ─ */
.ft { background: var(--wash); margin-top: 20px; }
.ft-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; gap: 40px; max-width: 1210px; margin: 0 auto; padding: 26px 28px 30px; }
.ft h2 { font-size: 12px; line-height: 20px; font-weight: 400; color: #333; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px dotted #aaa; }
.ft section > a { display: block; padding: 3px 0; font-size: 12px; }
.lang { position: relative; }
.lang > button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px 0 12px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; font-size: 14px; font-weight: 700; }
.lang > button svg { width: 18px; height: 18px; }
.lang ul { position: absolute; left: 0; bottom: calc(100% + 4px); min-width: 170px; padding: 4px; border: 1px solid #c4c4c4; background: #fff; box-shadow: 0 6px 18px rgb(0 0 0 / .18); }
.lang li a { display: block; height: 34px; padding: 0 12px; color: var(--ink); font-size: 14px; line-height: 34px; }
.lang li a[aria-current="true"] { font-weight: 700; color: var(--link); }
.lg { background: #1f1f1f; color: #fff; text-align: center; padding: 16px 20px 18px; font-size: 12px; }
.lg a { color: #fff; padding: 0 12px; border-left: 1px solid #777; }
.lg a:first-child { border-left: 0; }
.lg p + p { margin-top: 10px; font-size: 12px; color: #ddd; }

/* ── Narrower windows ───────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .pg { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
  .mg { grid-template-columns: 1fr 1fr; }
  .tiles, .ev { gap: 14px; }
  .ng { grid-template-columns: 160px minmax(0, 1fr); }
  .ng .pic img { width: 160px; }
  .ng .act { grid-column: 1 / -1; grid-template-columns: 1fr auto; width: auto; margin: 16px 0 0 8px; }
}
@media (max-width: 980px) {
  .pg { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 16px 16px 56px; }
  .sd { order: 2; margin-top: 44px; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .sd .sb + .sb { margin-top: 0; }
  .mg { grid-template-columns: repeat(4, 1fr); }
  .hero:hover .ar.pv, .ar.pv:focus-visible, .hero:hover .ar.nx, .ar.nx:focus-visible { transform: translate(0, -50%); }   /* (no room beside the banner: they come to its edge) */
  .tiles, .ev { grid-template-columns: 1fr 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm .tx { padding: 18px 16px 22px; }
  .pi { grid-template-columns: 220px minmax(0, 1fr); }
  .pi .buy { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; margin-top: 12px; }
  .gp, .ct { grid-template-columns: 1fr; gap: 24px; }
  .gp-buy { position: static; order: -1; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 16px; }
  .gp-buy .kv { grid-row: 1 / span 6; }
  .gp-buy > :not(.kv) { grid-column: 2; }
  .gp-buy:not(:has(.kv)) { grid-template-columns: 1fr; }
  .gp-buy:not(:has(.kv)) > * { grid-column: 1; }
}
/* on a phone the search takes a row of its own under the logo and icons */
@media (max-width: 640px) {
  .hd { flex-wrap: wrap; height: auto; min-height: 46px; padding: 0 12px; }
  .hd > .ico { height: 46px; }
  .sf, .sf:focus-within { order: 3; flex: 1 0 100%; max-width: none; margin: 0 0 8px; }
  .logo { gap: 6px; }
  .wm { font-size: 18px; } .gm { font-size: 13px; }
  .logo img { width: 28px; height: 28px; }
  .ico { margin-right: -4px; }
  .im { padding: 0 4px; border: 0; }
  .im > a { width: 28px; }
  .mk { display: none; }
  .gn-in { padding: 0 4px; height: 44px; }
  .gn a { padding: 0 12px; font-size: 14px; }
  .pg { padding: 0 0 48px; }
  main { min-width: 0; }
  /* On a phone the carousel is the same picture at the width of the screen, with no arrows: a swipe moves it. */
  .ar { display: none; }
  .th { gap: 1px; }
  .tiles { gap: 8px; margin: 12px 8px 0; }
  .sec { margin: 34px 12px 0; }
  .h { font-size: 20px; line-height: 30px; } .h.big { font-size: 24px; }
  .hh { font-size: 20px; line-height: 26px; gap: 14px; }
  .ev { gap: 16px 10px; }
  .ev p { font-size: 14px; line-height: 20px; margin-top: 6px; }
  .ng { grid-template-columns: 104px minmax(0, 1fr); gap: 0 14px; padding: 42px 12px 14px 8px; }
  .ng .pic img { width: 104px; }
  .ng h4 { font-size: 20px; line-height: 26px; }
  .ng .tx > p { font-size: 14px; line-height: 20px; }
  .pre { grid-template-columns: 1fr; }
  .pg.one { padding: 16px 12px 48px; }
  .pg > main > .h.big, .pg > main > .lead, .pg > main > .pl { margin-left: 12px; margin-right: 12px; }
  .pg.one > main > .h.big, .pg.one > main > .lead { margin-left: 0; margin-right: 0; }
  .pi { grid-template-columns: 1fr; padding: 12px; }
  .pi .tx { margin-top: 10px; }
  .gp-shots { grid-template-columns: repeat(3, 1fr); }
  .gp-buy { grid-template-columns: 120px minmax(0, 1fr); }
  .spec { grid-template-columns: 104px minmax(0, 1fr); }
  #cart-list li { grid-template-columns: 110px minmax(0, 1fr); gap: 8px 12px; }
  #cart-list li > b { grid-column: 2; }
  #cart-list .rm { grid-column: 2; justify-self: start; }
  .tiles.two { grid-template-columns: 1fr 1fr; margin-left: 0; margin-right: 0; }
  .pg.one .sec { margin-left: 0; margin-right: 0; }
  .sd { margin: 40px 12px 0; grid-template-columns: 1fr; }
  .sd .sb { display: none; }
  .ft-in { grid-template-columns: 1fr 1fr; gap: 24px 20px; padding: 22px 16px 26px; }
  .lg a { display: inline-block; padding: 2px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── A game's play page (pages/_play.html): a slim bar of the site, and the game in a frame filling the rest of the
   window. DMM's play page is the model (reference/dmm-account/play-page-*): a 40 px dark bar over the game. Ours
   never scrolls: the wheel, the finger and the keys belong to the game, and what DMM keeps under the game (help, the
   game's facts) is one press away in the bar. ── */
html.play, html.play body { height: 100%; overflow: hidden; background: #000; }
html.play body { display: grid; grid-template-rows: 40px minmax(0, 1fr); height: 100dvh; }
.pb { display: flex; align-items: center; gap: 2px; min-width: 0; padding: 0 12px; background: var(--bar); color: #fff; }
.pb .logo { gap: 7px; margin-right: 12px; color: #fff; }
.pb .wm { font-size: 17px; color: var(--sky); }
.pb .gm { font-size: 12px; color: #a3a3a3; }
.pb-t { min-width: 0; padding-left: 12px; border-left: 1px solid rgb(255 255 255 / .28); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb .sp { flex: 1; min-width: 8px; }
.pb-b { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 4px; background: none; color: #dfe5f1; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pb-b svg { width: 17px; height: 17px; }
.pb-b[aria-pressed="true"] { color: #ffc34d; }
.pb-b[aria-pressed="true"] svg { fill: currentColor; }
.stage { min-height: 0; background: #000; }
.stage iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ── A free game's own page, as DMM sets one (reference/dmm-games/game-1): the key visual across the whole window,
   and over its lower edge a white sheet with the game's picture, its name, and one large button to play. ── */
.pg.wide { display: block; max-width: none; padding: 0 0 72px; }
.fg-kv { display: block; width: 100%; height: clamp(200px, 27vw, 470px); object-fit: cover; object-position: 50% 26%; }
.fg { position: relative; max-width: 1024px; margin: -84px auto 0; padding: 20px 48px 8px; background: #fff; }
.fg .bc { margin: 0 0 16px; }
.fg-head { display: grid; grid-template-columns: 200px minmax(0, 1fr) 240px; gap: 0 24px; align-items: start; }
.fg-head > img { width: 200px; aspect-ratio: 1; object-fit: cover; }
.fg-head h1 { font-size: 24px; line-height: 36px; font-weight: 700; }
.fg-head .lb { margin-top: 8px; }
.fg-facts { margin-top: 12px; color: var(--ink-2); font-size: 14px; line-height: 24px; }
.fg-facts b { display: inline-block; min-width: 76px; margin-right: 8px; color: var(--ink); font-weight: 700; }
.fg-act { display: grid; gap: 10px; }
.fg-act .bt { height: 58px; font-size: 16px; }
.fg-act .sm { color: var(--ink-3); font-size: 12px; line-height: 20px; }
.fg .gp-shots { margin-top: 26px; gap: 8px; }
.fg .hh { margin-top: 34px; padding-left: 12px; border-left: 5px solid var(--red); line-height: 26px; }
.fg-end { display: grid; justify-items: center; margin-top: 36px; }
.fg-end .bt { min-width: 300px; height: 58px; font-size: 16px; }

/* ── More of the store ── */
.gp-shots.n4 { grid-template-columns: repeat(4, 1fr); }
.gp-shots.n3 { grid-template-columns: repeat(3, 1fr); }
.gp-buy .rd { margin: 0; padding-left: 0; }
.buy .ob, .gp-buy .ob, .acts .ob { margin-top: 0; justify-content: center; }
.pi.new { border-top-color: var(--red); }
.pi.new::before { border-left-color: var(--red); border-top-color: var(--red); }
/* "Buy now" over "Add to cart": red over orange, as in DMM's buying box (reference/dmm-paid/detail). */
.bt.now { background: var(--red); color: #fff; }
.sec.top { margin-top: 0; }
/* The steps of buying, at the cart's head (DMM shows four; ours are three: the payment page confirms). */
.ct-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.bstep { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: bs; color: var(--ink-3); font-size: 12px; }
.bstep li { counter-increment: bs; }
.bstep li::before { content: counter(bs) " "; }
.bstep li + li { margin-left: 8px; padding-left: 34px; background: linear-gradient(#bbb, #bbb) left center / 26px 1px no-repeat; }
.bstep .on { color: var(--red); font-weight: 700; }
.ops { display: flex; flex-wrap: wrap; gap: 8px; }
.mv { height: 32px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: #555; font-size: 12px; font-weight: 700; }
/* The membership's price, large, and its button once more at the foot (DMM repeats it after every block). */
.pp-big { margin: 14px 0 8px; font-size: clamp(22px, 3vw, 42px); line-height: 1.25; font-weight: 700; font-style: italic; }
.pp-big span:last-child { color: var(--red); }
.pp-end { display: grid; justify-items: center; gap: 10px; margin-top: 36px; padding: 26px 16px; background: var(--wash); text-align: center; }
.pp-end .bt { min-width: 300px; height: 58px; font-size: 16px; }
.pp-end .sm { color: var(--ink-3); font-size: 12px; }
/* the plan's page opens as DMM's does: a band across the window, the price in the largest type on the site, and the
   way in right under it */
.pp-top { background: linear-gradient(112deg, var(--sky) 0 19%, var(--bar) 19.1%); color: #fff; }
.pp-top-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 44px; align-items: center; max-width: 1690px; margin: 0 auto; padding: 46px 28px; }
.pp-top h1 { font-size: 20px; line-height: 30px; font-weight: 700; }
.pp-top .pp-big { margin: 16px 0 26px; font-size: clamp(27px, 3.15vw, 62px); line-height: 1.22; text-wrap: balance; }
.pp-top .pp-big span { display: table; margin-top: 8px; padding: 2px 16px 4px; background: rgb(0 0 0 / .62); }
.pp-top .pp-big span:last-child { color: #ffe24a; }
.pp-top .bt { width: min(100%, 440px); height: 66px; font-size: 20px; }
.pp-top .sm { margin-top: 12px; color: rgb(255 255 255 / .84); font-size: 14px; }
.pp-top .pp-hero { max-width: none; margin: 0; outline: 0; box-shadow: 0 10px 34px rgb(0 0 0 / .4); }
.pp-body { max-width: 1290px; margin: 0 auto; padding: 26px 28px 0; }
@media (max-width: 980px) {
  .pp-top { background: var(--bar); }
  .pp-top-in { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 26px 14px; }
  .pp-top .pp-hero { order: -1; }
  .pp-body { padding: 20px 14px 0; }
}

/* ── News ── */
/* as the posts of a YouTube channel: no boxes, no lines, no shadows; the studio's round mark at the left, its name and
   the day in a small grey line, the headline, the words, the links. One opened from a link (/news/#id) sits on grey. */
.nw { display: grid; gap: 8px; max-width: 760px; }
.nw article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; margin: 0 -12px; padding: 12px; border-radius: 12px; scroll-margin-top: 12px; }
.nw article:target { background: var(--wash); }
.nw-pic { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nw .date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; color: var(--ink-3); font-size: 12px; line-height: 20px; }
.nw .date b { font-weight: 400; }
.nw .nw-by { margin-right: 2px; color: var(--ink); font-size: 14px; font-weight: 700; }
.nw h2 { margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 700; }
.nw .body { margin-top: 4px; color: var(--ink); font-size: 14px; line-height: 22px; }
.nw .lk { margin-top: 8px; }
.h.big + .nw { margin-top: 20px; }
.lk { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; font-size: 14px; font-weight: 700; }

/* ── The studio's pages: about, the press kit, contact ── */
.doc { max-width: 980px; }
.doc .hh { margin-top: 34px; padding-left: 12px; border-left: 5px solid var(--red); line-height: 26px; }
.doc > .lead { margin-bottom: 0; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.dls a { display: block; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; }
.dls img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 14px; background: var(--wash); }
.dls span { display: block; padding: 8px 12px; border-top: 1px solid var(--line); }
.doc .pi .buy { align-self: center; }

.desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0; }
.desks a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid #bdbdbd; background: #fff; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.desks strong { display: block; color: var(--ink); font-size: 16px; line-height: 26px; font-weight: 700; }
.desks a.on { border-top-color: var(--red); background: #fff5f7; }
.desk, .done { margin-bottom: 18px; padding: 18px 22px 24px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: #fff; }
.js .desk:not(.open) { display: none; }
.desk h2, .done h2 { margin-bottom: 10px; font-size: 20px; line-height: 28px; font-weight: 700; }
.note { margin: 0 0 18px; padding: 10px 14px; background: var(--wash); border-left: 3px solid #bdbdbd; color: var(--ink-2); font-size: 14px; line-height: 22px; }
ul.note { padding-left: 32px; list-style: disc; }
.desk label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.desk label > span { display: block; margin-bottom: 5px; }
.desk input[type="email"], .desk input[type="text"], .desk select, .desk textarea { display: block; width: 100%; max-width: 640px; min-height: 44px; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 400; }
.desk textarea { max-width: 100%; line-height: 1.6; resize: vertical; }
.desk input:focus, .desk select:focus, .desk textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: #0f9fd0; }
.bad input, .bad select, .bad textarea { border-color: var(--red); }
.err { display: block; margin-top: 5px; color: var(--red); font-size: 14px; font-weight: 400; }
.privacy { margin: 2px 0 16px; color: var(--ink-3); font-size: 12px; }
.desk button.bt { min-width: 220px; height: 52px; font-size: 14px; }
.desk button.bt[disabled] { cursor: progress; }
.status { margin: 0 0 14px; padding: 10px 14px; background: #ffeef1; border-left: 3px solid var(--red); color: #b00020; font-weight: 700; }
.status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done .reflabel { color: var(--ink-3); font-size: 12px; }
.done .ref { margin-bottom: 14px; color: var(--red); font: 700 24px/1.3 ui-monospace, Consolas, "Courier New", monospace; user-select: all; overflow-wrap: anywhere; }
.done p + p { margin-top: 8px; }
/* the copyright notice form (/copyright/, drawn by works.js): the contact desks' look */
.cr-form { margin: 18px 0; padding: 18px 22px 24px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: #fff; }
.cr-f { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.cr-f > span { display: block; margin-bottom: 5px; }
.cr-f input, .cr-f textarea { display: block; width: 100%; max-width: 640px; min-height: 44px; padding: 10px 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 400; }
.cr-f textarea { max-width: 100%; line-height: 1.6; resize: vertical; }
.cr-f input:focus, .cr-f textarea:focus { outline: 3px solid var(--sky); outline-offset: 1px; border-color: #0f9fd0; }
.cr-c { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 14px; line-height: 22px; }
.cr-c input { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.cr-form button.bt { min-width: 220px; height: 52px; margin-top: 6px; font-size: 14px; }
.cr-form button.bt[disabled] { cursor: progress; }
.cr-form .si-err { margin-bottom: 12px; color: var(--red); font-weight: 700; }
.cr-done { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--red); background: var(--wash); font-weight: 700; }
.cr-pol { font-size: 14px; }

@media (max-width: 980px) {
  .fg { margin-top: -40px; padding: 16px 20px 0; }
  .fg-head { grid-template-columns: 120px minmax(0, 1fr); gap: 0 16px; }
  .fg-head > img { width: 120px; }
  .fg-act { grid-column: 1 / -1; margin-top: 14px; }
  .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pb { padding: 0 6px; }
  .pb .logo { margin-right: 8px; }
  .pb .gm, .pb-b span { display: none; }
  .pb-b { padding: 0 8px; }
  .pg.wide { padding-bottom: 48px; }
  .fg { margin-top: 0; padding: 14px 12px 0; }
  .fg-head { grid-template-columns: 88px minmax(0, 1fr); gap: 0 12px; }
  .fg-head > img { width: 88px; }
  .fg-head h1 { font-size: 20px; line-height: 30px; }
  .fg-end .bt, .pp-end .bt { min-width: 0; width: 100%; }
  .gp-shots.n4 { grid-template-columns: 1fr 1fr; }
  .gp-shots.n3 { grid-template-columns: repeat(3, 1fr); }
  .pg > main > .nw { margin-left: 12px; margin-right: 12px; }
  .tiles.three { grid-template-columns: 1fr; gap: 10px; }
  .desks { grid-template-columns: 1fr; }
  .desk, .done { padding: 16px 14px 20px; }
  .desk button.bt { width: 100%; }
  .ops { grid-column: 2; }
}
/* Questions and answers on a game's page. */
.faq { margin: 0; }
.faq dt { position: relative; margin-top: 16px; padding-left: 28px; font-size: 14px; line-height: 24px; font-weight: 700; }
.faq dt:first-child { margin-top: 0; }
.faq dt::before { content: "Q"; position: absolute; left: 2px; color: var(--red); font-style: italic; }
.faq dd { margin: 4px 0 0 28px; color: var(--ink-2); font-size: 14px; line-height: 26px; }

/* ── The help centre (/help/, a page per question, the creators' page and the contact page; pages/_help.mjs,
   pages/_help_creators.mjs), one system of two parts on the model of the Claude Platform Docs: a bar with its
   parts and the search box over every page; a front page of a heading with the search, two cards (players,
   creators) and each part's pages as numbered steps; and a question's page in the documentation layout further
   down (.cg). The type, the colours and the flat look are the site's own. ──────────────────────────────── */
.hd-in { max-width: 1290px; margin: 0 auto; padding: 0 28px; }
.hd-bar { border-bottom: 1px solid var(--line); background: #fff; }
.hd-bar .hd-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 52px; }
.hd-bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.hd-bar nav a { padding: 6px 12px; border-radius: 4px; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.hd-bar nav a.on { background: var(--wash); color: var(--ink); font-weight: 700; }
.hd-bar .hd-name { margin-right: 12px; padding-left: 0; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 700; }
.pg.one > main > .hd-bar { margin: -24px 0 24px; }
.pg.one > main > .hd-bar .hd-in { padding: 0; }
.hd-find { position: relative; display: flex; }
.hd-find input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid #c4c4c4; border-right: 0; border-radius: 4px 0 0 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; }
.hd-find input::placeholder { color: #a8a8a8; }
.hd-find input::-webkit-search-cancel-button { display: none; }
.hd-find input:focus { outline: 2px solid var(--link); outline-offset: -2px; }
.hd-find button { display: flex; align-items: center; justify-content: center; width: 64px; height: 48px; border: 0; border-radius: 0 4px 4px 0; background: var(--link); color: #fff; }
.hd-find button svg { width: 26px; height: 26px; stroke-width: 2.4; }
.hd-bar .hd-find { flex: 0 1 300px; margin: 8px 0; }
.hd-bar .hd-find input { height: 36px; padding: 0 10px; }
.hd-bar .hd-find button { width: 40px; height: 36px; }
.hd-bar .hd-find button svg { width: 18px; height: 18px; }
/* what the search found: a list under the box, over the page */
.hd-res { position: absolute; z-index: 40; top: 100%; left: 0; right: 0; max-height: min(70vh, 560px); margin-top: 4px; overflow-y: auto; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; }
.hd-bar .hd-res { left: auto; width: 480px; max-width: calc(100vw - 28px); }
.hd-res ul { margin: 0; padding: 0; list-style: none; }
.hd-res li + li { border-top: 1px solid var(--line); }
.hd-res a { display: block; padding: 10px 14px; color: var(--ink-2); font-size: 12px; line-height: 20px; }
.hd-res a[aria-selected="true"] { background: var(--wash); }
.hd-res a b { display: block; color: var(--ink); font-size: 14px; line-height: 22px; font-weight: 700; }
.hd-res a small { display: block; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.hd-res mark { background: #fff2b3; color: inherit; }
.hd-none { margin: 0; padding: 16px 14px; color: var(--ink-2); font-size: 14px; line-height: 22px; }
/* the front page */
.hd-hero { padding: 48px 0 52px; background: var(--wash); }
.hd-hero .hd-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; }
.hd-k { margin-bottom: 4px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.hd-hero .h { margin-bottom: 8px; }
.hd-lead { margin-bottom: 22px; color: var(--ink-2); font-size: 16px; line-height: 27px; }
.hd-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hd-quick a { padding: 5px 12px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; line-height: 22px; }
.hd-hero-r { padding: 18px 20px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.hd-hero-r h2 { margin-bottom: 6px; font-size: 16px; line-height: 24px; font-weight: 700; }
.hd-rows { margin: 0; padding: 0; list-style: none; }
.hd-rows li + li { border-top: 1px solid var(--line); }
.hd-rows a { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 -8px; padding: 10px 8px; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.hd-rows svg, .hd-tiles svg { flex: none; width: 14px; height: 14px; stroke: #777; stroke-width: 2.6; }
.hd-sec { margin-top: 56px; scroll-margin-top: 16px; }
.hd-sec > .hh { margin-bottom: 4px; }
.hd-p { margin-bottom: 20px; color: var(--ink-2); font-size: 14px; line-height: 24px; }
.hd-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hd-part { overflow: hidden; border-radius: 8px; background: var(--wash); }
.hd-part-i { display: flex; align-items: center; justify-content: center; height: 132px; border-bottom: 1px solid var(--line); }
.hd-part-i svg { width: 72px; height: 72px; stroke: var(--ink); stroke-width: 1.6; }
.hd-part h3 { margin: 18px 20px 4px; font-size: 16px; line-height: 24px; font-weight: 700; }
.hd-part h3 a { color: var(--ink); }
.hd-part > p { margin: 0 20px 12px; color: var(--ink-2); font-size: 14px; line-height: 24px; }
.hd-part ul { margin: 0; padding: 0 12px 14px; list-style: none; }
.hd-part li a { display: block; padding: 6px 8px; border-radius: 4px; color: var(--ink); font-size: 14px; line-height: 22px; }
.hd-switch { display: flex; gap: 4px; margin-bottom: 18px; }
.hd-switch button { padding: 6px 14px; border: 0; border-radius: 4px; background: none; color: var(--ink-2); font: inherit; font-size: 14px; line-height: 22px; cursor: pointer; }
.hd-switch button[aria-pressed="true"] { background: var(--wash); color: var(--ink); font-weight: 700; }
.hd-list { scroll-margin-top: 170px; }   /* (an address that names a part shows the heading and the switch above its list) */
.hd-list + .hd-list { margin-top: 40px; }
.hd-ph { margin-bottom: 14px; font-size: 16px; line-height: 24px; font-weight: 700; }
.hd-guide[data-on] .hd-ph { display: none; }
.hd-step { position: relative; padding: 0 0 22px 44px; scroll-margin-top: 16px; }
.hd-step::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; border-left: 1px solid var(--line); }
.hd-step:last-child { padding-bottom: 0; }
.hd-step h4 { margin: 0 0 10px; font-size: 16px; line-height: 28px; font-weight: 700; }
.hd-step h4 b { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--wash); color: var(--ink); font-size: 14px; line-height: 26px; font-weight: 700; text-align: center; }
.hd-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.hd-tiles a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 8px 14px; border-radius: 4px; background: var(--wash); color: var(--ink); font-size: 14px; line-height: 22px; }
.hd-ask .hc-links { margin-top: 0; }
.hc-links { margin-top: 20px; padding: 0; list-style: none; }
.hc-links li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; padding: 13px 12px; border-bottom: 1px dotted #a9a9a9; font-size: 14px; }
.hc-links span { color: var(--ink-3); font-size: 14px; }
/* a question's page: the answer, in the reading column of the documentation layout (.cg, further down) */
.hd-in > .cg { padding-top: 28px; }
.hd-ans > p { color: var(--ink-2); font-size: 16px; line-height: 28px; }
.hd-ans > * + * { margin-top: 14px; }
.hd-ans > .cg-t { margin-bottom: 0; }
.hd-ans > p.sm { color: var(--ink-3); font-size: 14px; line-height: 22px; }
.cg-doc > .acts { margin-top: 24px; }
.cg-doc > .acts .ob { margin-top: 0; }
.cg-doc > .hd-rows { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hd-end { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 24px; }
.hd-end a { margin-left: 6px; font-weight: 700; }
@media (max-width: 980px) {
  .hd-hero .hd-in { grid-template-columns: minmax(0, 1fr); }
  .hd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hd-in { padding: 0 14px; }
  .hd-bar .hd-in { display: block; padding-top: 6px; }
  .hd-bar .hd-find { margin: 6px 0 10px; }
  .hd-bar .hd-res { left: 0; width: auto; }
  .hd-bar nav { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .hd-bar nav::-webkit-scrollbar { display: none; }
  .hd-bar nav a { padding: 6px 9px; }
  .hd-bar .hd-name { margin-right: 4px; }
  .hd-hero { padding: 30px 0 34px; }
  .hd-sec { margin-top: 42px; }
  .hd-parts { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hd-part-i { height: 96px; }
  .hd-step { padding-left: 38px; }
  .hd-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hd-in > .cg { padding-top: 20px; }
  .hd-ans > p { font-size: 14px; line-height: 27px; }
}

/* ── Accounts (pages/signin.html, pages/account.html; assets/account.js; the accounts system in ../../accounts/).
   The sign-in page follows DMM's: a bare page, one column of grey boxes with white fields, a pill button, and a bar
   fixed to the bottom of the window. The account page follows DMM's "プロフィール編集": one table, each row ending
   in "編集". The pictures follow Netflix's profile icons: square tiles with a soft corner. ───────────────────── */
/* signed in or not, before anything is drawn (assets/lang.js puts "in" on <html>) */
html.in [data-signed-out], html:not(.in) [data-signed-in] { display: none !important; }
.me-pic { border-radius: 50%; object-fit: cover; background: var(--wash); }
.hd .ico .me-pic { width: 30px; height: 30px; }
.mod.join p { margin: 2px 0 10px; color: var(--ink-2); font-size: 12px; line-height: 20px; }

html.bare body { min-height: 100vh; padding-bottom: 96px; background: #fff; }
.br-hd { display: flex; align-items: center; height: 48px; padding: 0 16px; border-bottom: 1px solid #e6e6e6; }
.br-t { padding: 13px 16px; border-bottom: 1px solid #e0e0e0; font-size: 16px; line-height: 22px; font-weight: 700; text-align: center; }
.si { max-width: 432px; margin: 0 auto; padding: clamp(26px, 7vh, 60px) 16px 10px; }
.si-lead { margin-bottom: 20px; font-size: 16px; line-height: 28px; font-weight: 700; text-align: center; text-wrap: balance; }
.si-box { display: grid; gap: 8px; padding: 16px 12px 14px; border-radius: 4px; background: var(--wash); }
.si-box h2 { font-size: 16px; line-height: 24px; font-weight: 700; }
.si-box label { margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.si-box input[type="email"], .si-box input[type="text"] { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.si-box input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
#si-code { height: 56px; font-size: 24px; font-weight: 700; text-align: center; }
/* the outside accounts: one tile each, the service's own mark and name */
.si-box + .si-box, .si-box + form.si-box { margin-top: 14px; }
.si-panel { gap: 0; padding: 16px; border-radius: 8px; }
.si-prov { display: grid; gap: 10px; }
.si-last { gap: 10px; padding: 14px 16px 16px; border-radius: 8px; }
.si-last h2 { font-size: 14px; line-height: 20px; }
.svc { position: relative; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 34px 0 16px; border: 1px solid #dcdcdc; border-radius: 6px; background: #fff; color: #333; font-size: 16px; font-weight: 400; line-height: 20px; white-space: nowrap; text-decoration: none; }
.svc:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.svc svg { flex: none; width: 26px; height: 26px; stroke: none; }
.svc::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid #666; border-right: 1.5px solid #666; transform: translateY(-50%) rotate(45deg); }
.si-last .svc { background: #d0d0d0; border-color: #c4c4c4; }
/* a service that is not connected yet: its tile is there, pale, and says so */
.svc.off { padding-right: 14px; border-color: #e4e4e4; background: #fafafa; cursor: default; }
.svc.off::after { content: none; }
.svc.off svg, .svc.off > span { opacity: .45; }
.svc.off small { margin-left: auto; padding: 2px 10px; border: 1px solid #cfcfcf; border-radius: 11px; background: #fff; color: #777; font-size: 12px; line-height: 16px; }
.si-pend { padding: 10px 12px; border-left: 4px solid #0a7a3d; background: #fff; color: var(--ink); font-size: 14px; line-height: 21px; }
.si > .si-err { margin-bottom: 14px; background: #fff3f5; }
a.si-pill { display: inline-flex; align-items: center; text-decoration: none; }
.mod.join .join-go { display: grid; gap: 8px; }
.mod.join .join-go .ob { margin-top: 0; justify-content: center; }
.si-panel .si-keep { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 14px 2px 0; border-top: 1px solid #e0e0e0; color: var(--ink-2); font-size: 14px; }
.si-keep input { width: 18px; height: 18px; accent-color: var(--link); }
/* news and offers by e-mail: the box beside the e-mail address, with who sends them under it */
.si-news label { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; color: var(--ink); font-size: 14px; line-height: 20px; }
.si-news input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--link); }
.si-news .si-note { margin: 4px 0 0 26px; }
.si-go { height: 44px; margin-top: 4px; border: 0; border-radius: 22px; background: var(--go); color: #422100; font-size: 14px; font-weight: 700; }
.si-note { color: var(--ink-2); font-size: 12px; line-height: 20px; }
.si-to { font-size: 14px; font-weight: 700; word-break: break-all; }
.si-err { padding: 8px 10px; border-left: 4px solid var(--red); background: #fff; color: #b3002a; font-size: 14px; line-height: 20px; }
.si-ok { color: #0a7a3d; font-size: 14px; font-weight: 700; }
.si-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 4px; }
.si-links button { padding: 0; border: 0; background: none; color: var(--link); font-size: 14px; }
.si-agree { margin-top: 18px; color: var(--ink-3); font-size: 12px; line-height: 20px; text-align: center; text-wrap: balance; }
.si-agree a { white-space: nowrap; }
.si-help { margin-top: 10px; font-size: 14px; text-align: center; }
.si-help a::before { content: "▸ "; color: var(--ink-3); }
.si-foot { position: fixed; left: 0; right: 0; bottom: 0; border-top: 1px solid #e0e0e0; background: #fff; box-shadow: 0 -2px 8px rgb(0 0 0 / .06); }
.si-foot > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 432px; margin: 0 auto; padding: 16px; color: var(--ink-2); font-size: 14px; }
.si-pill { height: 40px; padding: 0 16px; border: 2px solid var(--go); border-radius: 20px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.br-lang { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; max-width: 432px; margin: 30px auto 0; padding: 18px 16px 0; border-top: 1px solid #ececec; font-size: 12px; }
.br-lang a[aria-current] { color: var(--ink); font-weight: 700; }

.ac-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 12px; border-bottom: 2px solid var(--go); background: var(--wash); font-size: 20px; line-height: 30px; font-weight: 400; }
.ac-h svg { width: 30px; height: 30px; padding: 3px; border: 2px solid var(--bar); border-radius: 4px; background: #fff; color: var(--bar); stroke-width: 2; }
.ac-t { width: 100%; border-collapse: separate; border-spacing: 0 2px; }
.ac-t th { width: 180px; padding: 12px 10px; background: #e9edf1; font-size: 14px; font-weight: 700; text-align: center; vertical-align: middle; }
.ac-t td { padding: 10px 14px; background: #f7f8f9; font-size: 14px; vertical-align: middle; word-break: break-word; }
.ac-t td.e { width: 76px; padding-right: 12px; text-align: right; white-space: nowrap; }
.ac-t td.e button { padding: 0; border: 0; background: none; color: var(--link); font-size: 14px; }
.ac-pic { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--wash); }
#ac-nick-form, #ac-key-form, #ac-key-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#ac-nick-form input, #ac-key-form input { flex: 1 1 200px; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #c4c4c4; border-radius: 4px; font: inherit; font-size: 14px; }
#ac-nick-form .bt, #ac-nick-form .ob, #ac-key-form .bt, #ac-key-form .ob, #ac-key-ask .ob { height: 40px; margin: 0; }
#ac-nick-form small, #ac-key-form small { flex: 1 1 100%; color: var(--ink-3); font-size: 12px; }
/* the API key row: what is kept (its service and two ends, the day under it), the question before deleting */
#ac-key small { color: var(--ink-3); font-size: 12px; line-height: 18px; }
#ac-key-ask span { flex: 1 1 100%; }
#ac-key-err { margin-top: 8px; }
.ac-pic-b { display: block; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.ac-pic-b:focus-visible .ac-pic { box-shadow: 0 0 0 3px var(--sky); }
/* the pictures to choose from: a panel over the dimmed page */
html:has(dialog[open]) { overflow: hidden; }
.ac-pick { width: min(900px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: 14px; background: #0e1116; color: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, .55); overflow-y: auto; }
.ac-pick::backdrop { background: rgba(4, 8, 14, .74); }
.av-panel { padding: 26px 34px 30px; }
.av-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.av-head h2 { font-size: 24px; line-height: 32px; font-weight: 700; }
.av-x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.av-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.av-rule { margin-top: 22px; color: #a9b0ba; font-size: 12px; line-height: 20px; }
.av-now { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; color: #fff; font-size: 14px; font-weight: 700; }
.av-now img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; background: #2a2a2a; }
.av-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 16px; }
.av { position: relative; display: block; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: #2a2a2a; overflow: hidden; cursor: pointer; }
.av img { width: 100%; height: 100%; object-fit: cover; }
.av[aria-pressed="true"] { outline: 4px solid #fff; outline-offset: 3px; }
.av.up { display: grid; place-content: center; justify-items: center; gap: 4px; padding: 6px; border: 2px dashed #777; background: none; color: #ddd; text-align: center; }
.av.up input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.av.up b { font-size: 24px; line-height: 24px; font-weight: 400; }
.av.up span { font-size: 12px; line-height: 15px; }
.ac .acts .bt { min-width: 200px; }
/* Settings' sub-headings (2-step verification, signed-in devices, e-mail notifications), as My Game Space's */
.ac-h { margin: 24px 0 8px; font-size: 14px; line-height: 22px; font-weight: 700; }
.ac-sec > .hh + .ac-h { margin-top: 0; }
.ac-by { display: block; margin-top: 4px; }
.ac-t .ac-dev-all td { padding: 10px 0 0; background: none; }
.ac-dev-all .ob { margin: 0; }
.ac-del { margin-top: 40px; padding-top: 14px; border-top: 1px dotted #aaa; color: var(--ink-2); font-size: 14px; }
.ac-del summary { color: var(--ink-3); cursor: pointer; }
.ac-del p { margin: 10px 0; line-height: 22px; }
.ac-del .ob { margin-top: 0; border-color: var(--red); color: #b3002a; }
/* My Game Space (assets/space.js): a storage page, as macOS and the iPhone show theirs. One bar of the quota by kind */
.gs { --k-story: #ff9933; --k-save: #1263c4; --k-picture: #35c5f0; --k-other: #767676; --k-free: #e3e6ea; }
.gs-use { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; font-size: 16px; line-height: 24px; font-weight: 700; }
.gs-key-t:has(tr:not([hidden])) { margin-bottom: 24px; }
.gs-warn { color: #b3002a; font-size: 14px; }
.gs-bar { display: flex; height: 22px; overflow: hidden; border-radius: 4px; background: var(--k-free); }
.gs-bar i { height: 100%; border-right: 2px solid #fff; }
.gs-bar i:last-child { border-right: 0; }
.k-story i, .gs-bar .k-story { background: var(--k-story); }
.k-save i, .gs-bar .k-save { background: var(--k-save); }
.k-picture i, .gs-bar .k-picture { background: var(--k-picture); }
.k-other i, .gs-bar .k-other { background: var(--k-other); }
.k-free i { background: var(--k-free); }
.gs.lv100 .gs-bar { box-shadow: inset 0 0 0 2px var(--red); }
.gs-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; color: var(--ink-2); font-size: 12px; line-height: 18px; }
.gs-key li { display: flex; align-items: center; gap: 6px; }
.gs-key i { width: 10px; height: 10px; border-radius: 50%; }
.gs-key small { color: var(--ink-3); font-size: 12px; }
.gs-free { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.gs-free .bt { margin: 0; }
.gs-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 8px; font-size: 14px; line-height: 22px; font-weight: 700; }
.gs-h small { color: var(--ink-3); font-size: 12px; font-weight: 400; }
.gs-games button { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; padding: 10px 14px; border: 0; border-radius: 0; background: #f7f8f9; color: var(--ink); font-size: 14px; text-align: left; cursor: pointer; }
.gs-games li + li { margin-top: 2px; }
.gs-games button:hover { opacity: .8; }
.gs-games img { border-radius: 8px; object-fit: cover; }
.gs-games .tx b, .gs-items .tx b, .gs-recs .tx b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-games small, .gs-items small, .gs-recs small { display: block; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.gs-games .sz::after { content: "›"; margin-left: 12px; color: var(--ink-3); font-size: 18px; }
.gs-recs li, .gs-items li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f7f8f9; font-size: 14px; }
.gs-recs li + li, .gs-items li + li { margin-top: 2px; }
.gs-recs .tx, .gs-items .tx { flex: 1; min-width: 0; }
.gs-plan { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; background: #f7f8f9; font-size: 14px; }
.gs-plan .tx { flex: 1; min-width: 0; }
.gs-plan .tx b { display: block; }
.gs-plan small { display: block; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.gs-plan .bt { margin-top: 0; }
.gs-plan .ob { height: 36px; margin-top: 0; padding: 0 14px; }
.gs-recs .ob, .gs-ask .ob { height: 36px; margin-top: 0; padding: 0 14px; }
.gs-items .sz { color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.gs-del { padding: 0; border: 0; background: none; color: var(--link); font-size: 14px; cursor: pointer; }
.gs-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; }
.gs-dlg { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 22px 26px 26px; border: 0; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); overflow-y: auto; }
.gs-dlg::backdrop { background: rgba(4, 8, 14, .6); }
.gs-dlg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gs-dlg-head img { border-radius: 10px; object-fit: cover; }
.gs-dlg-head h2 { flex: 1; min-width: 0; font-size: 20px; line-height: 28px; font-weight: 700; }
.gs-dlg-head span { color: var(--ink-2); font-size: 14px; }
.gs-dlg .av-x { color: var(--ink); }
@media (max-width: 640px) {
  .ac-t th { width: 104px; padding: 10px 6px; font-size: 14px; }
  .ac-t td { padding: 10px; }
  .ac-t td.e { width: 52px; }
  .ac-pic { width: 72px; height: 72px; }
  .av-panel { padding: 18px 16px 22px; }
  .av-head h2 { font-size: 20px; }
  .av-now { margin-bottom: 20px; }
  .av-now img { width: 88px; height: 88px; }
  .av-grid { grid-template-columns: repeat(4, 1fr); gap: 12px 10px; }
  .av[aria-pressed="true"] { outline-width: 3px; outline-offset: 2px; }
}

/* buying (step 3): the done page, the purchased list, Premium's state (site.js, part 9) */
.done { max-width: 720px; }
.done .spec { margin: 16px 0 0; }
.pl-n { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.pl .pi + .pi { margin-top: 12px; }
.pl-t th { width: auto; }
.pl-t td { text-align: center; }
.pp-member { display: grid; gap: 4px; margin-top: 14px; font-size: 14px; line-height: 22px; }
.pp-member b { font-size: 18px; line-height: 26px; }
.ct-sum .si-err { margin: 0; }
#ac-pm-p { margin-top: 6px; color: var(--ink-3); font-size: 12px; line-height: 20px; }
/* Premium's two plans, side by side in its buying box: the one picked has the red frame */
.pp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp-plan { display: grid; gap: 2px; justify-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; }
.pp-plan b { font-size: 14px; font-weight: 700; }
.pp-plan span { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--red); }
.pp-plan small { font-size: 12px; line-height: 18px; color: #c4005e; font-weight: 700; }
.pp-plan[aria-pressed="true"] { border: 2px solid var(--red); padding: 9px 11px; }

/* a game on sale (DMM's buying box): the share off on a red bar, the full price struck through, the sale's last day */
.sale { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 4px; font-size: 12px; line-height: 18px; color: var(--ink-2); }
.sale .off { padding: 1px 8px; border-radius: 2px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.sale s { color: #767676; }
.sale em { flex-basis: 100%; font-style: normal; color: var(--red); font-weight: 700; }
.ct-list s { margin-left: 6px; color: #767676; font-size: 12px; font-style: normal; font-weight: 400; }
/* the account's menu: Premium's row in the colour of a link, as Claude's "Resubscribe" */
.mn-pm a span { color: var(--link); font-weight: 700; }
/* The promotions (DMM's): the middle one over the dimmed page, the corner one at the bottom right.
   The middle one measured on DMM.com's own, full screen at 1280 x 650, 1366 x 768, 1920 x 1080 and 2560 x 1440
   (2026-12-03; the same at every size, in the middle of the screen): the page dimmed to 75% black, the picture
   313 x 303 with corners of 10 px, the close button a 28 px #333 disc ringed 1 px in white whose centre stands 6 px out
   from the picture's corner; 41 px under the picture, in the middle, 「しばらく表示しない」: a 28 px circle ringed
   3 px in white, ring and tick at half strength (ticked: the circle filled, both full strength), the words white at
   20 px starting 35 px from the circle's left. (The first build, 2026-11-30, had measured FANZA's: 400 px, 7 px down,
   a grey ring, 18 px.) */
.pmx { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 41px; background: rgb(0 0 0 / .75); }
.pmx[hidden], .pmc[hidden] { display: none; }
.pmx-in { position: relative; width: 313px; }
.pmx-in img { display: block; width: 313px; height: 303px; border-radius: 10px; }
.pmx-x { position: absolute; right: -20px; top: -20px; width: 28px; height: 28px; padding: 6px; border: 1px solid #fff; border-radius: 50%; background: #333; cursor: pointer; }
.pmx-x svg, .pmc-x svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.500; }
.pmx-x svg { stroke-width: 3.500; }
.pmx:focus { outline: none; }
.pmx-later { position: relative; display: flex; align-items: center; gap: 7px; color: #fff; font-size: 20px; line-height: 28px; cursor: pointer; }
.pmx-later input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.pmx-later svg { flex: none; width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 3; }
.pmx-later svg > * { opacity: .5; }
.pmx-later input:checked + svg circle { fill: var(--sky); stroke: var(--sky); }
.pmx-later input:checked + svg > * { opacity: 1; }
.pmx-later input:focus-visible + svg { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 50%; }
.pmc-f input { width: 18px; height: 18px; margin: 0; accent-color: #fff; }
.pmc { position: fixed; right: 0; bottom: 0; z-index: 900; width: 365px; padding: 0 4px; border-radius: 4px 4px 0 0; background: #121212; color: rgb(255 255 255 / .78); font-size: 14px; }
.pmc-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 8px 8px 8px 12px; }
.pmc-h b { font-weight: 700; }
.pmc-x { width: 24px; height: 24px; padding: 4px; border: 0; background: none; cursor: pointer; }
.pmc img { display: block; width: 357px; height: 140px; }
.pmc-f { display: flex; align-items: center; gap: 8px; height: 40px; padding: 12px; cursor: pointer; }
@media (max-width: 420px) { .pmc { width: 100%; } .pmc img { width: 100%; height: auto; } }
@media (max-width: 460px) { .pmx-in, .pmx-in img { width: calc(100vw - 56px); height: auto; } }
/* Premium's page: the plans' two-way switch, the price under it */
.pt { display: inline-flex; gap: 2px; padding: 3px; border-radius: 20px; background: #eceef1; }
.pt button { padding: 6px 14px; border: 0; border-radius: 16px; background: none; color: #555; font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; }
.pt button[aria-pressed="true"] { background: #fff; color: #111; font-weight: 700; box-shadow: 0 1px 3px rgb(0 0 0 / .18); }
.pt small { margin-left: 6px; color: var(--link); font-size: 12px; font-weight: 700; }
.pt-note { margin-top: -4px; }
/* the account page: Premium's card (Claude's plan page): the plan, what it gives, its action; its state under it */
.pmk { margin-top: 28px; }
.pmk-plan { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pmk-plan img { border-radius: 8px; }
.pmk-plan b { display: block; font-size: 16px; line-height: 24px; font-weight: 700; }
.pmk-plan small { display: block; color: var(--ink-2); font-size: 14px; line-height: 20px; }
.pmk-act { display: flex; gap: 8px; margin-left: auto; }
.pmk-act .bt, .pmk-act .ob { height: 40px; margin-top: 0; padding: 0 16px; }
.pmk-state { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; line-height: 20px; }
.pmk-state svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #555; stroke-width: 1.600; }
@media (max-width: 620px) { .pmk-plan { flex-wrap: wrap; } .pmk-act { margin-left: 0; } }

/* the tab bar's デバイス (FANZA's): a menu of the devices under it, on a wide screen; a phone goes to its page */
.dd { position: relative; display: flex; }
.gn .dd > a .cv { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.500; }
/* (DMM's: the bar's grey, 193 wide, a shadow 2 px down; rows 46 high, 16 px in, #ebebeb, no lines between; under the
   pointer #121212, as a tab) */
.dd-m { display: none; position: absolute; left: 0; top: 100%; z-index: 60; min-width: 193px; margin: 0; padding: 0; list-style: none; background: #383838; box-shadow: 0 2px 2px rgb(0 0 0 / .38); }
.gn .dd-m a { height: 46px; padding: 0 16px; color: #ebebeb; }
.gn .dd-m a:hover { background: #121212; }
/* the menu fades in over half a second, as the menus of DMM's bar do ("transition: all .5s" on its drop-down) */
@media (min-width: 1101px) { .gn-in { overflow-x: visible; } .dd-m { display: block; opacity: 0; pointer-events: none; transition: opacity .5s; } .dd:hover .dd-m, .dd:focus-within .dd-m { opacity: 1; pointer-events: auto; } }

/* ── The players' system on the model of YouTube's (assets/social.js): under a game the bar of Like, Dislike, Share
   and Save; its comments; a channel's page; lists; Following; the bell's notifications; For you. YouTube's parts in
   this site's own look: square buttons with a grey line, as the star's; type on DMM's scale. ───────────────────── */
.so-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; }
.so-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: #444; font-size: 12px; line-height: 18px; font-weight: 700; }
.so-b svg { width: 18px; height: 18px; }
.so-b[aria-pressed="true"] { border-color: var(--link); color: var(--link); }
.so-b[aria-pressed="true"] svg { fill: currentColor; fill-opacity: .18; }
.so-b b { font-size: 12px; font-weight: 700; }
.so-why { flex-basis: 100%; color: var(--ink-2); font-size: 12px; line-height: 18px; }
.fg .so-bar { margin-top: 18px; }

/* the comments: YouTube-clean layout & spacing, with Top / Newest as two inline buttons beside the count */
.cm { margin-top: 10px; }
.cm-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin: 0 0 24px; }
.cm .hh { display: inline-flex; align-items: baseline; gap: 6px; margin: 0; color: #0f0f0f; font-size: 20px; line-height: 28px; font-weight: 700; }
html[lang="en"] .cm .hh { flex-direction: row-reverse; }
.cm-n { color: inherit; font-size: inherit; font-weight: 700; }
.cm-n:empty { display: none; }
.cm-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.cm-sort button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px 2px; border: 0; border-radius: 6px; background: rgba(0, 0, 0, .05); color: #0f0f0f; font-size: 13px; line-height: 1; font-weight: 700; transition: background-color .35s cubic-bezier(.25, 1, .8, 1), color .2s; }
.cm-sort button:hover { opacity: 1; background: var(--sky-soft); color: var(--navy); }
.cm-sort button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.cm-sort button[aria-pressed="true"]:hover { opacity: 1; background: #144294; color: #fff; }
.cm-new { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 16px; align-items: start; margin-bottom: 28px; }
.cm-new.small { grid-template-columns: 24px minmax(0, 1fr); gap: 6px 12px; margin: 10px 0 6px; }
.cm-new.small:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
.cm-new .me-pic { width: 36px; height: 36px; }
.cm-new.small .me-pic { width: 24px; height: 24px; }
.cm-new textarea { width: 100%; min-height: 28px; padding: 4px 0 6px; border: 0; border-bottom: 1px solid #e5e5e5; background: none; color: #0f0f0f; font: inherit; font-size: 14px; line-height: 20px; resize: none; overflow: hidden; }
.cm-new textarea::placeholder { color: #606060; }
.cm-new textarea:focus { outline: 0; border-bottom: 2px solid #0f0f0f; padding-bottom: 5px; }
.cm-go { display: none; grid-column: 2; justify-content: flex-end; gap: 8px; }
.cm-new.small:not(:has(img)) .cm-go { grid-column: 1; }
.cm-new.open .cm-go { display: flex; }
.cm-go .ob, .cm-go .bt { height: 36px; min-height: 36px; margin: 0; padding: 0 16px; border: 0; border-radius: 18px; font-size: 14px; line-height: 36px; font-weight: 700; transition: background-color .25s, color .2s; }
.cm-go .ob { background: none; color: #0f0f0f; }
.cm-go .ob:hover { opacity: 1; background: var(--sky-soft); }
.cm-go .bt { background: var(--navy); color: #fff; }
.cm-go .bt:hover { opacity: 1; background: #144294; }
.cm-go .bt:disabled { background: #f2f2f2; color: #909090; }
.cm-in { margin: 0 0 24px; }
.cm-in .ob { display: inline-flex; align-items: center; height: 36px; min-height: 36px; margin: 0; padding: 0 16px; border: 1px solid #d5dfec; border-radius: 18px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; transition: background-color .25s, border-color .25s; }
.cm-in .ob:hover { opacity: 1; border-color: var(--sky); background: var(--sky-soft); }
.cm-next { margin: 0 0 18px; }
/* a player who runs the game's channel chooses the name they post as */
.cm-as { display: flex; align-items: center; gap: 8px; margin: 0 0 8px 52px; color: var(--ink-3); font-size: 12px; }
.cm-as select { height: 28px; padding: 0 6px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; }
.so-f { display: grid; gap: 4px; color: var(--ink-2); font-size: 12px; }
.so-f textarea { min-height: 72px; padding: 8px 10px; border: 1px solid #c4c4c4; border-radius: 4px; color: var(--ink); font: inherit; font-size: 14px; resize: vertical; }
.cm-why { margin: 0 0 18px; padding: 10px 12px; border-left: 4px solid var(--line); background: var(--wash); color: var(--ink-2); font-size: 14px; line-height: 20px; }
.cm-list, .cm-rl { margin: 0; padding: 0; list-style: none; }
/* a comment and its threaded replies (YouTube's curved thread tree): 36px root avatar, 24px reply avatars,
   ⋮ always aligned flush right via grid-column: 2 / -1 on .cm-rl, and pixel-aligned vertical + curved L-elbows */
.cm-c { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 40px; column-gap: 16px; row-gap: 0; margin: 0 0 18px; }
.cm-c > .cm-av { position: relative; grid-column: 1; grid-row: 1; align-self: stretch; }
.cm-c > .cm-av > .so-face > img { width: 36px; height: 36px; }
.cm-c > .cm-b { grid-column: 2; grid-row: 1; min-width: 0; }
.cm-c > .cm-mw { grid-column: 3; grid-row: 1; position: relative; align-self: start; }
.cm-c > .cm-rl { grid-column: 2 / -1; grid-row: 2; margin: 0; padding: 0; list-style: none; --tx: -34px; --tw: 28px; }
.cm-c.has-rl > .cm-av::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 0; width: 1px; background: #d4dce6; pointer-events: none; }
.cm-rl > .cm-c { grid-template-columns: 24px minmax(0, 1fr) 40px; column-gap: 12px; margin: 0; padding-top: 12px; }
.cm-rl > .cm-c > .cm-av > .so-face > img { width: 24px; height: 24px; }
.cm-rl > .cm-c > .cm-av > .so-face[data-initial]::after { font-size: 11px; }
.cm-rl > .cm-c.has-rl > .cm-av::after { left: 12px; top: 28px; }
.cm-rl .cm-rl { --tx: -24px; --tw: 19px; }
.cm-rl > li { position: relative; }
.cm-rl > li::before { content: ""; position: absolute; left: var(--tx); top: 0; width: var(--tw); height: 24px; border-left: 1px solid #d4dce6; border-bottom: 1px solid #d4dce6; border-bottom-left-radius: 12px; pointer-events: none; }
.cm-rl > li:not(:last-child)::after { content: ""; position: absolute; left: var(--tx); top: 0; bottom: 0; width: 1px; background: #d4dce6; pointer-events: none; }
.cm-rl-more { padding-top: 8px; }
@media (max-width: 640px) {
  .cm-c { grid-template-columns: 32px minmax(0, 1fr) 36px; column-gap: 10px; }
  .cm-c > .cm-av > .so-face > img { width: 32px; height: 32px; }
  .cm-c.has-rl > .cm-av::after { left: 16px; top: 36px; }
  .cm-c > .cm-rl { --tx: -26px; --tw: 21px; }
  .cm-rl > .cm-c { grid-template-columns: 24px minmax(0, 1fr) 36px; column-gap: 10px; }
  .cm-rl > .cm-c.has-rl > .cm-av::after { left: 12px; top: 28px; }
  .cm-rl .cm-rl { --tx: -22px; --tw: 17px; }
}
/* the comment's "⋮", at its top right, always shown, as YouTube's (the owner, 2026-12-04) */
.cm-mw .so-m { right: 0; }
.cm-pin { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.cm-pin svg { width: 14px; height: 14px; }
.cm-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; min-height: 20px; font-size: 12px; line-height: 18px; }
.cm-who { color: #0f0f0f; font-size: 13px; line-height: 18px; font-weight: 700; }
/* the work's own channel, commenting under its work, pinned or not: its @handle on a pill, as YouTube marks the
   video's creator (measured 2026-12-03: 1px 6px, 20px tall, round ends, 2px under it, so its row is 22px); YouTube's
   is black, ours the logo's navy (owner 2026-12-03: "use our title's dark blue") */
.cm-who.own { display: inline-block; margin-bottom: 2px; padding: 1px 6px; border-radius: 100px; background: var(--navy); color: #fff; font-size: 12px; line-height: 18px; }
.cm-at-h { color: var(--link); }
.cm-at, .cm-ed { color: #606060; font-size: 12px; }
/* The mark beside a channel's name: blue for a registered creator, gold for an awarded one (site.js markOf). A disc
   with a white tick. The disc is a little wider than this box (106.5%) and is cut by it, which leaves four short flat
   sides joined by four arcs of one circle (owner, 2026-12-01: "the corner square is only used to ease the
   anti-aliasing", "the rounder octagon"). A plain circle touches its box at one point on each side, so its outermost
   rows hold one or two whole pixels and look soft; cut by the box, each side is a run of whole pixels. The disc is
   this box's own mask (a radial gradient with its edge 0.8 pixel wide), so it stands exactly in the box wherever a
   browser sets the box on the screen's pixels; the sizes are multiples of 4 pixels, which are whole screen pixels at
   100, 125, 150, 175 and 200%: 16 beside a name, 12 beside small print, 20 beside the name on the channel's page
   (tools/check_mark.mjs measures the sides at each). The colour runs from light at the top to deep at the foot, which
   is what makes the gold read as gold and not as mustard (the owner on the flat one: "a bit mud"). The proportion and
   the colours are the two the owner chose among nine shown ("Use c and i both 106 ones"). On the channel's page the
   mark is a button that opens what it means. */
.vm { flex: none; display: inline-block; width: 16px; height: 16px; margin-left: 4px; vertical-align: -3px;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 calc(106.5% - 0.4px), transparent calc(106.5% + 0.4px)); mask-image: radial-gradient(circle closest-side, #000 calc(106.5% - 0.4px), transparent calc(106.5% + 0.4px)); }
small .vm { width: 12px; height: 12px; margin-left: 3px; vertical-align: -2px; }
.vm.blue { background: linear-gradient(#3d93fb, #1466dc); }
.vm.gold { background: linear-gradient(#ffcf45, #ee9c00); }
/* (the tick: the one drawn part. "i.vm >": no container's rule for its own line drawings reaches it) */
i.vm > svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
i.vm.gold > svg { stroke-width: 2; }
.vm-b { display: inline-flex; margin: 0 0 0 6px; padding: 0; border: 0; background: none; font: inherit; vertical-align: -2px; cursor: pointer; }
.vm-b .vm { width: 20px; height: 20px; margin: 0; vertical-align: 0; }
.vm-tip { position: absolute; z-index: 20; left: 0; top: 100%; display: grid; gap: 6px; width: 320px; max-width: calc(100vw - 32px); margin-top: 6px; padding: 14px 16px; border: 1px solid #dee0e3; background: #fff; box-shadow: 2px 4px 8px -3px rgba(0, 0, 0, .4); color: var(--ink); font-size: 12px; line-height: 18px; font-weight: 400; text-align: left; }
.vm-tip b { font-size: 14px; line-height: 20px; font-weight: 700; }
.vm-tip a { justify-self: start; }
.vm-li { display: flex; align-items: center; gap: 6px; }
.vm-li .vm { margin: 0; }
.cm-bd { padding: 0 5px; border: 1px solid #bdbdbd; color: #555; font-size: 10px; line-height: 16px; font-style: normal; font-weight: 700; }
/* a long comment shows four lines, then "Read more", as YouTube's */
.cm-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin-top: 3px; color: #0f0f0f; font-size: 14px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-t.open { display: block; -webkit-line-clamp: unset; }
.cm-rm { display: block; margin-top: 4px; padding: 0; border: 0; background: none; color: #606060; font-size: 14px; line-height: 20px; font-weight: 700; }
.cm-held { margin-top: 4px; color: #606060; font-size: 12px; line-height: 18px; }
.cm-c.held > .cm-b > .cm-t { color: #606060; }
.cm-a { position: relative; display: flex; align-items: center; gap: 0; margin: 4px 0 0 -7px; }
.cm-v, .cm-r { display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 32px; padding: 0; border: 0; border-radius: 16px; background: none; color: #0f0f0f; font-size: 12px; font-weight: 700; }
.cm-v:has(span:not(:empty)) { gap: 5px; padding: 0 8px 0 7px; }
.cm-v span { color: #606060; font-size: 12px; font-weight: 400; }
.cm-v span:empty { display: none; }
.cm-r { margin-left: 4px; padding: 0 12px; }
.cm-v svg { width: 18px; height: 18px; stroke-width: 1.5; }
.cm-v[aria-pressed="true"] { color: #0f0f0f; }
.cm-v[aria-pressed="true"] svg { fill: currentColor; animation: fx-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.cm-more { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -4px; padding: 0; border: 0; border-radius: 20px; background: none; color: #0f0f0f; }
.cm-more svg { width: 24px; height: 24px; stroke-width: 2.4; }
/* the comment's buttons answer the pointer as the gameplay page's: light sky blue fill, the light and the ripple (site.js) */
.cm-v, .cm-r, .cm-more, .cm-tg { position: relative; isolation: isolate; transition: background-color .45s cubic-bezier(.25, 1, .8, 1); }
.cm-v:hover, .cm-r:hover, .cm-more:hover, .cm-tg:hover { opacity: 1; background: var(--sky-soft); }
/* the channel's heart, as YouTube's creator heart: between the dislike and Reply, 32 square. For the channel's own
   people an empty heart until given; once given, the channel's picture (20, round) with a small red heart on a white
   ring at its lower right */
.cm-heart { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: none; color: #0f0f0f; }
button.cm-heart { cursor: pointer; transition: background-color .45s cubic-bezier(.25, 1, .8, 1); }
button.cm-heart:hover { opacity: 1; background: var(--sky-soft); }
.cm-heart > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.cm-heart.on > svg { position: absolute; right: 2px; bottom: 3px; width: 12px; height: 12px; fill: var(--red); stroke: #fff; stroke-width: 3; paint-order: stroke; animation: fx-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.cm-hp { position: relative; display: block; width: 20px; height: 20px; }
.cm-hp > img { display: block; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.cm-hp[data-initial]::after { content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; }
.cm-tg { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 10px; border: 0; border-radius: 18px; background: none; color: var(--link); font-size: 14px; font-weight: 700; }
.cm-b > .cm-tg { margin: 2px 0 0 -10px; }
.cm-tg svg { width: 16px; height: 16px; }
.cm-tg.open svg { transform: rotate(180deg); }
.cm-none { margin: 0 0 18px; color: #606060; font-size: 14px; }

/* "⋯" menus, dialogs, the toast */
/* as YouTube's: a white card, round 12px, a soft shadow; each row 36px, its 24px icon and its word; the row the
   pointer is on fills light sky blue */
.so-m { position: absolute; z-index: 20; top: 100%; right: auto; margin: 0; padding: 8px 0; list-style: none; min-width: 168px; border-radius: 12px; background: #fff; box-shadow: 0 4px 32px rgba(0, 0, 0, .1); }
.so-m button { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 36px; padding: 0 24px 0 16px; border: 0; background: none; color: var(--ink); font-size: 14px; line-height: 20px; text-align: left; white-space: nowrap; }
.so-m button svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.so-m button:hover { opacity: 1; background: var(--sky-soft); }
.so-m button.warn, .ob.warn { color: #b3002a; }
.so-d { width: min(420px, 92vw); padding: 0 0 18px; border: 0; border-radius: 4px; color: var(--ink); }
.so-d::backdrop { background: rgba(0, 0, 0, .5); }
/* a dialog comes in as DMM's do: it fades in and rises by 15% of its height, in .3s (its componentModalFadeIn and
   componentModalSlideIn, cubic-bezier(0, 0, .2, 1)) */
dialog[open] { animation: dlg-in .3s cubic-bezier(0, 0, .2, 1); }
dialog[open]::backdrop { animation: dlg-shade .3s cubic-bezier(0, 0, .2, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(15%); } }
@keyframes dlg-shade { from { opacity: 0; } }
.so-d-h { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px 18px; }
.so-d-h h2 { font-size: 16px; line-height: 24px; font-weight: 700; }
.so-d-x { display: inline-flex; padding: 6px; border: 0; background: none; color: var(--ink-2); }
/* two-step verification over the page (step.js): the sign-in page's own fields and buttons, in a dialog */
.st-d { width: min(420px, 92vw); }
.st-b { display: grid; gap: 10px; padding: 0 18px; }
.st-p { color: var(--ink-2); font-size: 14px; line-height: 22px; }
.st-b .si-go { width: 100%; }
.st-b .st-ob { justify-content: center; width: 100%; }
.st-or { color: var(--ink-2); font-size: 12px; line-height: 18px; text-align: center; }
.st-code { display: grid; gap: 6px; }
.st-code label { color: var(--ink-2); font-size: 14px; }
.st-code input { width: 100%; height: 56px; padding: 0 12px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 24px; font-weight: 700; text-align: center; }
.st-code input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.st-rem { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
.st-rem input { width: 18px; height: 18px; accent-color: var(--link); }
.st-lost { justify-self: center; padding: 4px 0; border: 0; background: none; color: var(--link); font-size: 14px; }
.st-qr { justify-self: center; width: 192px; height: 192px; }
.st-qr svg { display: block; width: 100%; height: 100%; }
.st-qr svg path, .st-qr svg rect { stroke: none; }   /* (the site's icons are drawn with a stroke; the code's squares are not) */
.st-key { display: grid; gap: 4px; color: var(--ink-2); font-size: 12px; line-height: 18px; text-align: center; }
.st-key code { color: var(--ink); font-size: 14px; line-height: 22px; word-break: break-all; }
/* Settings: each passkey or app of the account on its own line, with its dates under it */
.st-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.st-item + .st-item { margin-top: 8px; }
.st-item small { flex-basis: 100%; }
.st-rm { padding: 0; border: 0; background: none; color: var(--link); font-size: 12px; }
/* before Stripe's page: what is bought, what it costs today, our terms (works.js, confirmBuy) */
.wk-buy { width: min(460px, 92vw); }
.wk-buy > :not(.so-d-h) { margin-left: 18px; margin-right: 18px; }
.wk-buy-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.wk-buy-top img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.wk-buy-top b { display: block; font-size: 16px; line-height: 24px; }
.wk-buy-top span { font-size: 12px; line-height: 18px; color: var(--ink-2); }
.wk-buy-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 14px; line-height: 22px; }
.wk-buy-total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 16px; line-height: 24px; font-weight: 700; }
.wk-buy-s { margin-top: 10px; font-size: 12px; line-height: 20px; color: var(--ink-2); }
.wk-buy-s a { text-decoration: underline; }
.wk-buy .bt { display: block; width: calc(100% - 36px); margin-top: 16px; }
/* multi-tier channel subscription modal (works.js, openSubscribe): YouTube's Join dialog in Minami Soft's palette */
.wk-sub { width: min(460px, 92vw); padding: 0; border-radius: 12px; overflow: hidden; }
.wk-sub.multi { width: min(680px, 94vw); }
.wk-sub .so-d-h { padding: 14px 14px 12px 20px; border-bottom: 1px solid #e6edf5; }
.wk-sub-hero { padding: 20px 24px 18px; border-bottom: 1px solid #e6edf5; background: linear-gradient(135deg, #f5f8fc 0%, #eef5fc 55%, #e5f3fc 100%); }
.wk-sub-hero .me-pic { width: 56px; height: 56px; border: 1px solid #dce5f0; border-radius: 10px; }
.wk-sub-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 10px; }
.wk-sub-who b { color: #0f0f0f; font-size: 14px; line-height: 20px; font-weight: 700; }
.wk-sub-who span { color: #5b687c; font-size: 12px; line-height: 18px; }
.wk-sub-hero h3 { margin: 4px 0 2px; color: #0f0f0f; font-size: 22px; line-height: 28px; font-weight: 700; }
.wk-sub-lead { color: #5b687c; font-size: 14px; line-height: 20px; }
.wk-sub-body { display: block; }
.wk-sub.multi .wk-sub-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 280px; }
.wk-sub-tiers { display: flex; flex-direction: column; border-right: 1px solid #e6edf5; background: #fafcff; }
.wk-sub-tab { display: grid; gap: 2px; width: 100%; padding: 14px 16px; border: 0; border-bottom: 1px solid #e6edf5; border-left: 3px solid transparent; background: none; color: #0f0f0f; text-align: left; transition: background-color .2s, border-color .2s; }
.wk-sub-tab b { font-size: 14px; line-height: 20px; font-weight: 700; overflow-wrap: anywhere; }
.wk-sub-tab span { color: #5b687c; font-size: 12px; line-height: 18px; }
.wk-sub-tab:hover { opacity: 1; background: var(--sky-soft); }
.wk-sub-tab[aria-selected="true"] { border-left-color: var(--navy); background: #eaf2fb; }
.wk-sub-tab[aria-selected="true"] b { color: var(--navy); }
.wk-sub-pane { padding: 20px 24px 24px; max-height: 64vh; overflow-y: auto; }
.wk-sub-price { margin-bottom: 12px; }
.wk-sub-tname { display: block; margin-bottom: 2px; color: var(--navy); font-size: 14px; line-height: 20px; font-weight: 700; }
.wk-sub-amt { color: #0f0f0f; font-size: 20px; line-height: 26px; font-weight: 700; }
.wk-sub-tax { margin-top: 2px; color: #606060; font-size: 12px; line-height: 18px; }
.wk-sub .bt.wk-sub-go { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; height: 40px; min-height: 40px; margin: 0; padding: 0 24px 2px; border: 0; border-radius: 6px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1; font-weight: 700; transition: background-color .2s; }
.wk-sub .bt.wk-sub-go:hover { opacity: 1; background: #144294; }
.wk-sub-perks { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6edf5; }
.wk-sub-perks h4 { margin: 0 0 8px; color: #0f0f0f; font-size: 14px; line-height: 20px; font-weight: 700; }
.wk-sub-ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wk-sub-ul li { position: relative; padding-left: 20px; color: #1f2937; font-size: 13px; line-height: 20px; overflow-wrap: anywhere; }
.wk-sub-ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--navy); font-weight: 700; }
.wk-sub-prev { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #dce5f0; }
.wk-sub-prev-h { margin: 0 0 6px; color: #5b687c; font-size: 12px; line-height: 18px; font-weight: 700; }
.wk-sub-ul.prev li { color: #5b687c; }
.wk-sub-ul.prev li::before { color: var(--sky); }
@media (max-width: 600px) {
  .wk-sub.multi .wk-sub-body { grid-template-columns: minmax(0, 1fr); }
  .wk-sub-tiers { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid #e6edf5; }
  .wk-sub-tab { flex: none; width: auto; min-width: 132px; border-bottom: 3px solid transparent; border-left: 0; }
  .wk-sub-tab[aria-selected="true"] { border-bottom-color: var(--navy); }
}
.so-sv { margin: 0 18px; padding: 0; list-style: none; }
.so-sv label, .so-rp label { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; }
.so-sv input, .so-rp input { width: 18px; height: 18px; accent-color: var(--link); }
.so-sv small { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.so-sv-in { margin: 8px 18px 0; font-size: 14px; }
.so-nl-go { display: flex; align-items: center; gap: 8px; margin: 8px 18px 0; padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 700; }
.so-nl-go svg { width: 20px; height: 20px; }
.so-nl { display: grid; gap: 10px; margin: 10px 18px 0; }
.so-nl input, .so-nl select { height: 40px; padding: 0 10px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.so-nl .bt, .so-rp .bt, .so-link .bt { min-height: 40px; padding: 8px 16px; }
.so-rp { display: grid; gap: 2px; margin: 0 18px; }
.so-rp .bt { margin-top: 10px; }
.so-sh { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 18px; }
.so-sh .ob { height: 40px; margin: 0; padding: 0 14px; }
.so-link { display: flex; gap: 8px; margin: 14px 18px 0; }
.so-link input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #c4c4c4; border-radius: 4px; background: var(--wash); color: var(--ink); font: inherit; font-size: 14px; }
.so-toast { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: 92vw; padding: 12px 18px; border-radius: 4px; background: var(--bar); color: #fff; font-size: 14px; line-height: 20px; }

/* a channel's face, and its first letter where it has no picture */
.so-face { position: relative; display: inline-flex; flex: none; align-self: start; color: var(--ink); }
.so-face > img { width: 40px; height: 40px; object-fit: cover; }
.cm-rl .so-face > img, .lv-by .so-face > img { width: 24px; height: 24px; }
.chn-subs .so-face > img { width: 56px; height: 56px; }
.so-face[data-initial]::after { content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #5b6b84; color: #fff; font-size: 16px; font-weight: 700; }

/* games as small tiles: For you, a channel's games, a list */
.so-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.so-t, .li-card { display: grid; gap: 6px; align-content: start; }
.so-t a, .li-card { display: grid; gap: 6px; color: var(--ink); }
.so-t img, .li-card img { width: 100%; aspect-ratio: 660 / 380; object-fit: cover; background: var(--wash); }
.so-t b, .li-card b { font-size: 14px; line-height: 20px; font-weight: 700; }
.li-card small { color: var(--ink-3); font-size: 12px; }
.fy-no, .li-x { justify-self: start; height: 28px; padding: 0 10px; border: 1px solid #d0d0d0; border-radius: 4px; background: #fff; color: var(--ink-2); font-size: 12px; }
.fy-gone { padding: 18px 0 6px; color: var(--ink-3); font-size: 14px; }
#fy .so-t .ob { margin: 0; }

/* a channel's page, as YouTube lays one out (measured 2026-11-25 at 1920 and at 1134 wide): the banner across the
   column (YouTube's is 6.2 : 1 and rounded; ours 4.65 : 1 and square, as the site is), the picture beside the name,
   the counts and a one-line description under it, the actions under that, then the tabs on a line. On a phone the
   banner keeps more of its height and the picture is smaller. */
.chn-ban { margin-bottom: 20px; background: var(--wash); }
.chn-ban img { width: 100%; aspect-ratio: 2048 / 440; object-fit: cover; }
.chn-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; }
.chn-head[data-initial] { position: relative; }
.chn-pic { width: 120px; height: 120px; }
.chn-head h1 { position: relative; font-size: 24px; line-height: 32px; font-weight: 700; overflow-wrap: anywhere; }
.chn-head h1 .cm-bd { vertical-align: middle; }
.chn-meta { display: flex; flex-wrap: wrap; gap: 0 6px; margin-top: 4px; color: var(--ink-3); font-size: 14px; line-height: 22px; }
.chn-meta b { color: var(--ink); font-weight: 700; }
.chn-meta span::before { content: "·"; margin-right: 6px; }
.chn-about { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; color: var(--ink-2); font-size: 14px; line-height: 22px; }
.chn-about > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chn-about > span:empty { display: none; }
.chn-more { flex: none; padding: 0; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 700; }
.chn-act { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.chn-act .bt { min-width: 120px; min-height: 40px; padding: 8px 20px; }
.chn-act .ob { height: 40px; margin: 0; }
.chn-act .so-b { width: 40px; height: 40px; padding: 0; }
.chn-act .so-b svg { stroke-width: 3; }
.chn-act .so-m { left: auto; right: auto; }
.chn-blocked { margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.chn-tabs { display: flex; gap: 4px; margin: 20px 0 22px; border-bottom: 1px solid var(--line); }
.chn-tabs button { height: 44px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.chn-tabs button.on { border-bottom-color: var(--sky); color: var(--ink); }
.chn-subs { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.chn-subs a { display: grid; justify-items: center; gap: 6px; width: 88px; color: var(--ink); font-size: 12px; line-height: 18px; text-align: center; }
.chn-subs a > span { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chn-subs .me-pic { width: 56px; height: 56px; }
/* the About panel ("...more") */
.chn-ab { display: grid; gap: 12px; margin: 0 18px; }
.chn-ab-t { color: var(--ink); font-size: 14px; line-height: 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
.chn-ab h3 { font-size: 16px; line-height: 24px; font-weight: 700; }
.chn-ab-l { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.chn-ab .ob { justify-self: start; gap: 8px; height: 40px; margin: 4px 0 0; }
.chn-ab .ob svg { width: 18px; height: 18px; }
@media (min-width: 1600px) {   /* a full-screen window: YouTube keeps the picture large and the column wide */
  .chn-head { grid-template-columns: 160px minmax(0, 1fr); }
  .chn-pic { width: 160px; height: 160px; }
}

/* customizing a channel, as YouTube Studio's "Channel customization": the title with View channel, Cancel and Publish
   at its right, then one section after another, each a heading, a line saying what it is for, and its control */
.ce { max-width: 980px; }
.ce-top { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 12px; border-bottom: 1px solid var(--line); background: #fff; }
.ce-top .h { margin: 0; }
.ce-go { display: flex; gap: 8px; }
.ce-go .ob, .ce-go .bt { height: 40px; min-height: 40px; margin: 0; padding: 0 18px; }
.ce-go .ob:disabled { border-color: #d0d0d0; color: #9a9a9a; cursor: default; }
.ce-s { padding: 24px 0; border-bottom: 1px solid var(--line); }
.ce-s h2 { font-size: 16px; line-height: 24px; font-weight: 700; }
.ce-p { margin: 2px 0 12px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.ce-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: center; }
.ce-ban { display: grid; place-items: center; background: var(--wash); }
.ce-ban img { width: 100%; aspect-ratio: 2048 / 440; object-fit: cover; }
.ce-ban.empty img { opacity: 0; }
.ce-pic { display: grid; place-items: center; height: 160px; background: var(--wash); }
.ce-pic img { width: 128px; height: 128px; }
.ce-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ce-btns .ob { height: 40px; margin: 0; padding: 0 16px; }
.ce-file { position: relative; cursor: pointer; }
.ce-file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.ce-in { width: 100%; padding: 10px 12px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; line-height: 22px; }
.ce-in:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
textarea.ce-in { resize: vertical; }
.ce-at { display: flex; align-items: center; gap: 4px; }
.ce-at > span { color: var(--ink-3); font-size: 16px; font-weight: 700; }
.ce-url, .ce-count { margin-top: 6px; color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; }
.ce-count { text-align: right; }
.ce-link { margin: 0; }
#ce-err { margin-top: 16px; }

/* the account menu's head: the player, their @handle and the way to their channel; then the channels they run */
.mn-me { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #dee0e3; color: var(--ink); }
.mn-me .me-pic { width: 40px; height: 40px; }
.mn-me span { display: grid; min-width: 0; }
.mn-me b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.mn-me small { color: var(--ink-3); font-size: 12px; }
.mn-me em { margin-top: 2px; color: var(--link); font-size: 12px; font-style: normal; }
/* "Switch account", as YouTube's: the account's own channel and the ones it runs, the one acted as ticked */
.mn-runs:empty { display: none; }
.mn-runs { margin: 0 0 12px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid #dee0e3; }
.mn-sw-h { margin-bottom: 4px; color: var(--ink-3); font-size: 12px; }
.mn-runs button.mn-ch { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 0; border: 0; background: none; color: var(--ink); font-size: 14px; text-align: left; }
.mn-ch .me-pic, .mn-ch > img { width: 24px; height: 24px; }
.mn-tick { margin-left: auto; color: var(--link); font-weight: 700; }
.ac-runs { display: grid; gap: 8px; margin-top: 16px; font-size: 14px; }
.ac-runs p { display: flex; align-items: center; gap: 12px; }
.ac-runs .ob { height: 32px; margin: 0; padding: 0 12px; font-size: 12px; }

@media (max-width: 760px) {
  .chn-ban img { aspect-ratio: 3 / 1; }
  .chn-head { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; }
  .vm-tip { left: auto; right: 0; width: min(320px, calc(100vw - 32px)); }
  .chn-pic { width: 72px; height: 72px; }
  .chn-head h1 { font-size: 20px; line-height: 28px; }
  .chn-act .bt { flex: 1; }
  .chn-tabs { overflow-x: auto; }
  .ce-row { grid-template-columns: minmax(0, 1fr); }
  .ce-go { width: 100%; }
  .ce-go .bt { flex: 1; }
}

/* the collections (/lists/), as YouTube's Playlists page: the sort and the section filters (the comments' black and
   white toggles) with "New list" at the right; then a grid of lists, each a cover with the edges of two more behind it
   and the count on it, the name (with "⋮" on the player's own), who sees it, when it changed, "View full list" */
.cl-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 12px 0 24px; }
.cl-c { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.cl-c a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid #d0d0d0; border-radius: 4px; background: #fff; color: var(--ink-2); font-size: 12px; font-weight: 700; cursor: pointer; }
.cl-c a[aria-current="true"] { border-color: #111; background: #111; color: #fff; }
.cl-new { height: 34px; min-height: 34px; margin: 0 0 0 auto; gap: 6px; padding: 0 14px; font-size: 12px; }
.cl-new svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cl-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 16px; }
.cl-t { display: grid; align-content: start; gap: 2px; min-width: 0; }
.cl-p { position: relative; display: block; margin-top: 8px; aspect-ratio: 660 / 380; background: #e3e3e3; }
.cl-p::before, .cl-p::after { content: ""; position: absolute; height: 4px; }
.cl-p::before { top: -4px; left: 4%; right: 4%; background: #c8c8c8; }
.cl-p::after { top: -8px; left: 8%; right: 8%; background: #e3e3e3; }
.cl-p img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cl-n { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; line-height: 18px; font-weight: 700; }
.cl-n svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.cl-h { position: relative; display: flex; align-items: flex-start; gap: 4px; margin-top: 8px; }
.cl-name { flex: 1; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.cl-dots, .lv-dots { flex: none; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.cl-dots svg, .lv-dots svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.600; stroke-linecap: round; }
.cl-h .so-m, .lv-e .so-m { left: auto; right: 0; }
.cl-m { color: var(--ink-3); font-size: 12px; line-height: 18px; }
.cl-all { justify-self: start; color: var(--ink-2); font-size: 12px; line-height: 18px; font-weight: 700; }
.cl-in { margin-top: 24px; }
/* one list (/list/?l=), as YouTube's playlist page: its card at the left (the site's grey ground, flat), its games
   at the right a row each, grey under the pointer as the left column's rows */
.lv { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.lv-card { position: sticky; top: 16px; display: grid; gap: 8px; padding: 16px; background: var(--wash); }
.lv-p { display: block; aspect-ratio: 660 / 380; background: #e3e3e3; }
.lv-p img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lv-p.none img { visibility: hidden; }
.lv-name { margin-top: 4px; font-size: 20px; line-height: 28px; font-weight: 700; overflow-wrap: anywhere; }
.lv-ren { display: flex; gap: 8px; }
.lv-ren input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.lv-ren .bt { height: 36px; min-height: 36px; margin: 0; padding: 0 14px; font-size: 12px; }
.lv-by { display: flex; align-items: center; font-size: 12px; }
.lv-by .so-face { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.lv-by .so-face > img { width: 24px; height: 24px; }
.lv-m { display: flex; flex-wrap: wrap; gap: 2px 10px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.lv-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lv-b { height: 34px; min-height: 34px; margin: 0; gap: 6px; padding: 0 12px; font-size: 12px; }
.lv-b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.lv-vis { height: 34px; padding: 0 8px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.lv-main .cl-c { margin-bottom: 12px; }
.lv-l { margin: 0; padding: 0; list-style: none; }
.lv-i { display: grid; grid-template-columns: 24px 160px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 4px; border-radius: 8px; }
.lv-i:hover { background: rgba(0, 0, 0, .05); }
.lv-ix { color: var(--ink-3); font-size: 12px; text-align: center; }
.lv-pic { position: relative; display: block; }
.lv-pic img { display: block; width: 160px; aspect-ratio: 660 / 380; object-fit: cover; background: var(--wash); }
.lv-pic[data-none]::before { content: attr(data-none); position: absolute; inset: 0; display: grid; place-items: center; background: var(--bar); color: #fff; font-size: 24px; font-weight: 700; }
.lv-tx { display: grid; gap: 2px; min-width: 0; }
.lv-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.lv-tx small { color: var(--ink-3); font-size: 12px; line-height: 18px; }
.lv-e { position: relative; }
@media (max-width: 760px) {
  .lv { grid-template-columns: minmax(0, 1fr); }
  .lv-card { position: static; }
  .lv-i { grid-template-columns: 20px 112px minmax(0, 1fr) auto; gap: 8px; }
  .lv-pic img { width: 112px; }
  .pg > main > .cl-bar, .pg > main > .cl-g, .pg > main > .lv, .pg > main > .cl-in { margin-left: 12px; margin-right: 12px; }
  .cl-g { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Following, and the bell's notifications */
.fo-feed, .nt-l { margin: 24px 0 0; padding: 0; list-style: none; }
.fo-i { display: grid; grid-template-columns: 40px minmax(0, 1fr) 56px; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fo-l { font-size: 14px; line-height: 22px; }
.fo-l .cm-at { margin-left: 8px; }
.fo-q { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-w { width: 56px; height: 56px; object-fit: cover; }
.nt-l { margin-top: 0; }
.nt-t { color: var(--ink); font-size: 14px; line-height: 22px; font-weight: 700; }
.nt-q { margin-top: 2px; color: var(--ink-2); font-size: 14px; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt .so-face { width: 40px; height: 40px; }
.nt-i > span.so-face { border-radius: 50%; background: var(--wash) url("/assets/brand/mark.png") center / cover; }

/* My games: play history; the account: the channel */
.my-hist { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.my-hist .ob { height: 36px; margin: 0; padding: 0 12px; font-size: 12px; }
.my-paused { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.ac-chan { margin-top: 34px; }
.ac-chan .hh { align-items: center; }
.ac-chan .hh .ob { height: 36px; margin: 0 0 0 auto; padding: 0 12px; font-size: 12px; }
.ac-chan form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ac-chan form input, .ac-chan form textarea { flex: 1 1 240px; min-width: 0; padding: 8px 10px; border: 1px solid #c4c4c4; border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.ac-chan form .bt, .ac-chan form .ob { height: 36px; min-height: 36px; margin: 0; padding: 0 14px; font-size: 12px; }
.ac-chan form small { flex-basis: 100%; color: var(--ink-3); font-size: 12px; }
.ac-chan form .si-err { flex-basis: 100%; }
.ac-about { white-space: pre-wrap; }
.ac-check { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.ac-check input { width: 18px; height: 18px; accent-color: var(--link); }

@media (max-width: 760px) {
  .so-bar { gap: 6px; }
  .so-b { padding: 0 10px; }
  .so-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fo-i { grid-template-columns: 40px minmax(0, 1fr); }
  .fo-w { display: none; }
}

/* ── players' works (assets/works.js; owner, 2026-11-25 and 2026-11-30): a work as a tile, the shelves of players'
   works (the top page, a section's page), a work's own page (/w/<id>), a channel's membership on its page. The site's
   own measures: sizes 12, 14, 16 and 24, weights 400 and 700, flat and square, the one pointer effect. ── */
.wt-sec { margin-top: 28px; }
.wt-s { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.wt-s button { height: 32px; padding: 0 14px; border: 1px solid #bdbdbd; border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; line-height: 30px; }
.wt-s button[aria-pressed=true] { border-color: #111; background: #111; color: #fff; font-weight: 700; }
.wt-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px 16px; }
.my-favw { margin-top: 20px; }
.pl[hidden] + .my-favw { margin-top: 0; }
.wt { display: grid; gap: 8px; align-content: start; color: var(--ink); }
.wt-p, .wk-pic { position: relative; display: block; background: var(--wash); }
.wt-p img, .wk-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.so-t .wt-p img { aspect-ratio: 660 / 380; }   /* (among the studio's tiles, a work without a cover keeps their shape) */
.wt-p[data-none]::before, .wk-pic[data-none]::before { content: attr(data-none); position: absolute; inset: 0; display: grid; place-items: center; background: var(--bar); color: #fff; font-size: 24px; font-weight: 700; }
.wt-p em { position: absolute; left: 0; bottom: 0; padding: 0 7px; background: var(--red); color: #fff; font-size: 12px; line-height: 20px; font-style: normal; font-weight: 700; }
.wt-p em.paid { background: #111; }
.wt-t { display: grid; gap: 2px; }
.wt-t b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 20px; font-weight: 700; overflow-wrap: anywhere; }
.wt-t small, .so-t small { color: var(--ink-3); font-size: 12px; line-height: 18px; }
.wt-more { display: flex; margin: 18px auto 0; }
/* the search page: the search as it was put right, and what others searched for next */
.wt-fixed { margin: -6px 0 14px; font-size: 14px; line-height: 21px; color: var(--ink-2); }
.wt-others { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; line-height: 21px; }
.wt-others b { margin-right: 4px; }
.wt-others a { padding: 4px 12px; border: 1px solid #bdbdbd; border-radius: 4px; color: var(--ink); }
/* a work's tags on its page */
#wk-meta a.wk-tag { border-color: #ccc; background: var(--wash); color: var(--ink-2); font-weight: 400; }

.wk-state { margin: 0 0 14px; padding: 10px 14px; border-left: 3px solid var(--red); background: var(--wash); font-size: 14px; font-weight: 700; }
.wk-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr); gap: 22px; align-items: start; }
.wk-h { font-size: 24px; line-height: 32px; font-weight: 700; overflow-wrap: anywhere; }
.wk-meta { margin-top: 10px; }
.wk-meta a { display: inline-block; padding: 0 7px; border: 1px solid var(--link); color: var(--link); font-size: 12px; line-height: 19px; font-weight: 700; }
.wk-go { display: grid; gap: 10px; margin-top: 18px; }
.wk-go .bt { min-height: 56px; font-size: 16px; }
.wk-go em { color: #0a7a3d; font-size: 12px; font-style: normal; font-weight: 700; }
.wk-closed { padding: 12px 14px; background: var(--wash); color: var(--ink-2); font-size: 14px; font-weight: 700; }
.wk-note { margin-top: 10px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.wk-edit { margin-top: 14px; }
.wk-chan { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 10px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wk-who { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); }
.wk-who img { width: 40px; height: 40px; }
.wk-who span { display: grid; }
.wk-who b { font-size: 16px; line-height: 22px; font-weight: 700; }
.wk-who small { color: var(--ink-3); font-size: 12px; line-height: 18px; }
.wk-chan .ob, .wk-chan .bt, .chn-join .ob, .chn-join .bt { height: 40px; min-height: 40px; margin-top: 0; padding: 0 16px; }
.wk-follow.in { background: var(--wash); }
.wk-mem { padding: 0 8px; border: 1px solid #0a7a3d; color: #0a7a3d; font-size: 12px; line-height: 22px; font-style: normal; font-weight: 700; }
.wk-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.wk-bar .so-bar { flex: 1; }
.wk-about { margin-top: 22px; }
.wk-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 24px; }
.chn-join { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chn-join small { max-width: 320px; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.so-rp textarea { width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid #bdbdbd; border-radius: 4px; font: inherit; font-size: 14px; line-height: 22px; resize: vertical; }
@media (max-width: 760px) {
  .wk-top { grid-template-columns: minmax(0, 1fr); }
  .wt-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
}

/* ── The creators' page (pages/_creators.mjs): a documentation page's three columns, on the model of the Claude
   Platform Docs page the owner sent (2026-12-01). On the left the pages of the guide, the one being read marked; in
   the middle the reading column; on the right "On this page", the section in view marked. The type is the site's. */
.cg { display: grid; grid-template-columns: 220px minmax(0, 1fr) 190px; gap: 0 48px; align-items: start; }
.cg-nav, .cg-toc { position: sticky; top: 16px; font-size: 14px; line-height: 22px; }
.cg-nav { max-height: calc(100vh - 32px); padding: 0 10px 16px; margin: 0 -10px; overflow-y: auto; }
.cg-nav h2, .cg-toc h2 { margin-bottom: 6px; color: var(--ink); font-size: 14px; line-height: 22px; font-weight: 700; }
.cg-nav ul + h2 { margin-top: 22px; }
.cg-nav a { display: block; margin: 0 -10px; padding: 5px 10px; border-radius: 4px; color: var(--ink-2); }
.cg-nav a.on { background: var(--wash); color: var(--ink); font-weight: 700; }
.cg-toc a { display: block; padding: 4px 0 4px 12px; border-left: 2px solid var(--line); color: var(--ink-3); }
.cg-toc a.on { border-left-color: var(--ink); color: var(--ink); font-weight: 700; }
.cg-doc { max-width: 800px; }
.cg-doc .bc { margin: 0 0 14px; }
.cg-lead { margin-bottom: 20px; color: var(--ink-2); font-size: 16px; line-height: 27px; }
.cg-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 14px 16px; border-radius: 8px; background: var(--wash); color: var(--ink); font-size: 14px; line-height: 22px; }
.cg-note svg { width: 20px; height: 20px; margin-top: 1px; }
.cg-t { width: 100%; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14px; line-height: 22px; }
.cg-t th, .cg-t td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-2); font-weight: 400; }
.cg-t thead th, .cg-t thead td { border-top: 0; background: var(--wash); color: var(--ink); font-weight: 700; }
.cg-t tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.cg-t td b { color: var(--ink); }
.cg-t th .vm { width: 16px; height: 16px; margin: 0 8px 0 0; vertical-align: -3px; }
.cg-doc .hh { margin-top: 36px; scroll-margin-top: 16px; }
.cg-doc .body + .body { margin-top: 10px; }
.cg-doc .acts { margin-top: 14px; }
@media (max-width: 1100px) { .cg { grid-template-columns: 220px minmax(0, 1fr); } .cg-toc { display: none; } }
@media (max-width: 760px) {
  .cg { display: flex; flex-direction: column; }
  .cg-nav { position: static; order: 2; align-self: stretch; max-height: none; margin: 32px 0 0; padding: 20px 0 0; overflow: visible; border-top: 1px solid var(--line); }
  .cg-t th, .cg-t td { padding: 8px 10px; }
  .cg-t tbody th { white-space: normal; }
}

/* ── My games (/my/, pages/my.html and pages/_side_my.html), as DMM GAMES' My games page (library.games.dmm.com,
   measured signed in on 2026-12-01). The left column: the heading at 24 px, "Filter" with "Reset", rows 38 high
   4 px apart, 16 px in, the chosen one grey #f5f5f5 and bold, the others in a lighter ink; the favourites folded
   under a line like DMM's 一般 / R18; the banners 8 px apart. The page: a banner across the top, then a bar of sort,
   count and title search (a round box 320 x 32); the games 170 px squares, 16 px apart, the name 16 px bold on two
   lines at most, its section 14 px in a lighter ink, how it plays 12 px bold; the sections 40 px apart under 20 px
   headings. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.my-sd { gap: 24px; }
.my-h1 { font-size: 24px; line-height: 36px; font-weight: 700; }
.my-flt-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; font-size: 14px; line-height: 23px; }
.my-flt-h a { font-size: 12px; }
.my-f { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.my-f a { display: block; padding: 8px 16px; border-radius: 4px; color: rgb(0 0 0 / .58); font-size: 14px; line-height: 22px; }
.my-f a[aria-current="true"] { background: #f5f5f5; color: rgb(0 0 0 / .78); font-weight: 700; }
.my-d { margin-top: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.my-d summary { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; color: rgb(0 0 0 / .78); font-size: 14px; font-weight: 700; list-style: none; cursor: pointer; }
.my-d summary::-webkit-details-marker { display: none; }
.my-d summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.my-d[open] summary svg { transform: rotate(180deg); }
.my-d .my-f { padding-bottom: 8px; }
.my-ads { display: grid; gap: 8px; }
.my-ads .sb { margin: 0; }
.my-ads img { display: block; width: 100%; height: auto; }
.my-top { display: block; margin-bottom: 24px; }
.my-top img { display: block; width: 100%; height: auto; }
.my-join { margin: -8px 0 16px; font-size: 12px; }
.my-bar { display: flex; align-items: center; gap: 16px; }
.my-sort { position: relative; display: flex; align-items: center; }
.my-sort select { height: 34px; padding: 0 34px 0 12px; border: 1px solid rgb(0 0 0 / .48); border-radius: 4px; background: #fff; color: rgb(0 0 0 / .78); font: inherit; font-size: 14px; appearance: none; cursor: pointer; }
.my-sort svg { position: absolute; right: 10px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; pointer-events: none; }
.my-n { color: rgb(0 0 0 / .78); font-size: 14px; }
.my-q { position: relative; display: flex; align-items: center; width: 320px; max-width: 100%; height: 32px; margin-left: auto; padding: 0 40px 0 16px; border: 1px solid rgb(0 0 0 / .48); border-radius: 999px; background: #fff; }
.my-q input { width: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 12px; }
.my-q input::-webkit-search-cancel-button { display: none; }
.my-q svg { position: absolute; right: 12px; width: 20px; height: 20px; fill: none; stroke: #333; stroke-width: 1.800; }
.my-g { display: grid; grid-template-columns: repeat(auto-fill, 170px); gap: 24px 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.my-c { display: grid; align-content: start; color: rgb(0 0 0 / .78); }
.my-p { position: relative; display: block; width: 170px; height: 170px; margin-bottom: 8px; overflow: hidden; background: var(--wash); }
.my-p img { width: 100%; height: 100%; object-fit: cover; }
.my-p[data-none]::before { content: attr(data-none); position: absolute; inset: 0; display: grid; place-items: center; background: var(--bar); color: #fff; font-size: 24px; font-weight: 700; }
.my-c b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; line-height: 24px; font-weight: 700; }
.my-c small { margin-top: 4px; color: rgb(0 0 0 / .58); font-size: 14px; line-height: 21px; }
.my-c em { margin-top: 4px; font-size: 12px; line-height: 18px; font-style: normal; font-weight: 700; }
.my-list .ct-empty { margin-top: 16px; }
/* hiding a game, one at a time (FANZA's library hides a title): a round button over the picture's corner, seen under the
   pointer (always on a touch screen, which has none); in the hidden games, "Show again" under each */
.my-i { position: relative; }
.my-x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / .62); color: #fff; cursor: pointer; opacity: 0; }
.my-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; }
.my-i:hover .my-x, .my-x:focus-visible { opacity: 1; }
.my-i:hover .my-x:hover { opacity: .8; }
@media (hover: none) { .my-x { opacity: 1; } }
.my-un { width: 100%; height: 34px; margin-top: 8px; justify-content: center; font-size: 12px; }
.my-foot { display: flex; justify-content: flex-end; gap: 16px; margin-top: 24px; }
.my-foot button { padding: 0; border: 0; background: none; color: var(--link); font: inherit; font-size: 12px; cursor: pointer; }
.my-paused { margin-top: 8px; text-align: right; }
.my-sec { margin-top: 40px; }
.my-h2 { margin-bottom: 16px; font-size: 20px; line-height: 30px; font-weight: 700; }
.my-news { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.my-news a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 14px; line-height: 21px; }
.my-more { text-align: center; }
.my-more .ob { height: 50px; padding: 0 32px; }
/* the recommended, the new and the ranking: as DMM's, small squares 124 px, 16 px apart, the name 16 px bold on two lines,
   three rows at most and no "Show more" */
.my-sec .wt-g { grid-template-columns: repeat(auto-fill, 124px); gap: 24px 16px; }
.my-sec .wt-p img { aspect-ratio: 1; }
.my-sec .wt-t b { font-size: 16px; line-height: 24px; }
.my-sec .wt-t small + small { display: none; }
.my-sec .wt-more { display: none; }
/* the ranking: each work's place in a small ring before its name, as DMM numbers its ranking */
.my-rank .wt-g { counter-reset: rank; }
.my-rank .wt-t::before { counter-increment: rank; content: counter(rank); display: grid; place-items: center; width: 18px; height: 18px; margin-bottom: 4px; border: 1px solid rgb(0 0 0 / .4); border-radius: 50%; color: rgb(0 0 0 / .58); font-size: 10px; line-height: 1; }
/* (narrower: the column of filters stays above the games, not under the page as the other pages' column goes) */
@media (max-width: 1100px) { .pg > .my-sd { order: 0; margin-top: 0; grid-template-columns: 1fr; } .my-ads { display: none; } }
@media (max-width: 640px) { .pg > .my-sd { margin: 16px 12px 0; } .my-top, .my-join, .my-list, .my-sec { margin-left: 12px; margin-right: 12px; } .my-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } .my-p { width: 100%; height: auto; aspect-ratio: 1; } .my-bar { flex-wrap: wrap; } .my-q { width: 100%; margin-left: 0; } }

/* ── Following, as YouTube's subscriptions, in the site's own (DMM's) look. The left column: the block's heading as
   the others, with a small arrow, leading to the feed; a row per channel 36 high, its picture 24 round, its name
   14 px, a blue dot when it has a work not seen yet; "Show more" under the seventh. The feed (/following/): the
   heading with "All channels followed" at its right, then the works. All the channels (/following/channels/): a row
   per channel, its picture 96 round, its name 16 px bold, its handle and followers and its line 12 px, and at the
   right "Following" with the bell, whose menu is the top bar's grey panel with white rows. */
.fo-sd h2, .sd-nw h2, .sd-my h2, .sd-me h2 { justify-content: flex-start; }
/* "You": a line icon before each row, as YouTube's guide */
.sd-me .fo-sd-a svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.600; stroke-linecap: round; stroke-linejoin: round; }
/* the official accounts: each service's own mark, at its own shape, then its name over the handle */
.sd-sns .fo-sd-a { height: 52px; gap: 14px; }
.sd-sns .fo-sd-a > .sns-m { flex: none; display: grid; place-items: center; width: 34px; height: 32px; }
.sd-sns .sns-m img[src*="youtube"] { max-width: 34px; max-height: 30px; }
.sd-sns .sns-m img { display: block; width: auto; height: auto; max-width: 30px; max-height: 26px; }
.sd-sns .sns-m img[src*="x-logo"] { max-height: 22px; }
.sd-sns .fo-sd-a > span { display: grid; }
.sd-sns .fo-sd-a b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.sd-sns .fo-sd-a small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.mod h2 .fo-sd-h { display: inline-flex; align-items: center; gap: 4px; height: 36px; margin: -6px 0 -6px -6px; padding: 0 8px 0 6px; border-radius: 8px; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 700; }
/* the left column's rows under the pointer, as YouTube's guide: a light grey rounded ground, no fade; darker while pressed */
.mod h2 .fo-sd-h:hover, .fo-sd-a:hover, .fo-sd-more:hover, .sd-nw .nl a:hover { opacity: 1; background: rgba(0, 0, 0, .05); }
.mod h2 .fo-sd-h:active, .fo-sd-a:active, .fo-sd-more:active, .sd-nw .nl a:active { background: rgba(0, 0, 0, .1); }
.sd-nw { min-width: 0; }
.sd-nw .nl a { margin: 0 -6px; padding: 8px 6px; border-radius: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fo-sd-more { width: 100%; border-radius: 8px; }
.fo-sd-h svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.200; }
.fo-sd-l { margin: 0; padding: 0; list-style: none; }
.fo-sd-a { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 6px; border-radius: 8px; color: var(--ink); font-size: 14px; line-height: 20px; }
.fo-sd-a > span:not(.so-face) { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fo-sd-a .so-face > img { width: 24px; height: 24px; }
.fo-sd-a .so-face[data-initial]::after { font-size: 11px; }
.fo-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--link); }
.fo-sd-more { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 6px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.fo-sd-more svg { width: 24px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.fo-sd-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.fo-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.fo-head .fo-all { height: 36px; margin: 0; padding: 0 16px; font-size: 12px; }
.fo-latest .wt-g { grid-template-columns: repeat(auto-fill, 124px); gap: 24px 16px; }
.fo-latest .wt-p img { aspect-ratio: 1; }
.fo-latest .wt-t b { font-size: 16px; line-height: 24px; }
.fc-sort { display: inline-flex; margin: 8px 0 8px; }
.fc-l { margin: 0; padding: 0; list-style: none; }
.fc-i { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fc-p .so-face > img { width: 96px; height: 96px; }
.fc-p .so-face[data-initial]::after { font-size: 32px; }
.fc-tx { display: grid; gap: 4px; min-width: 0; }
.fc-n { color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 700; }
.fc-m { color: var(--ink-3); font-size: 12px; line-height: 18px; }
.fc-a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.fc-b { position: relative; }
.fc-f, .fc-on { height: 36px; margin: 0; gap: 6px; padding: 0 14px; font-size: 12px; white-space: nowrap; }
.fc-on { min-height: 36px; min-width: 120px; }
.fc-f svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.fc-mn { position: absolute; top: calc(100% + 4px); right: 0; z-index: 5; min-width: 176px; width: max-content; margin: 0; padding: 10px; list-style: none; border: 1px solid #dee0e3; background: #f2f4f7; box-shadow: 2px 4px 8px -3px rgba(0, 0, 0, .4); }
.fc-mn[hidden] { display: none; }
.fc-mn li { margin: 1px 0; }
.fc-mn button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 4px 10px; border: 0; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.fc-mn button:hover { opacity: 1; background: #ccc; }
.fc-mn button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; }
.fc-mn button[aria-checked="true"] { font-weight: 700; }
.fc-mn button > span { display: grid; }
.fc-mn button small { white-space: nowrap; color: var(--ink-3); font-size: 12px; line-height: 16px; font-weight: 400; }
.fc-mn button[aria-checked="true"]::after { content: ""; width: 10px; height: 6px; margin-left: auto; border-left: 2px solid var(--link); border-bottom: 2px solid var(--link); transform: rotate(-45deg) translateY(-2px); }
.fc-mn .fc-off { margin-top: 8px; }
@media (max-width: 640px) { .fc-i { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 16px; } .fc-p .so-face > img { width: 56px; height: 56px; } .fc-b { grid-column: 2; } .fo-head { flex-wrap: wrap; } }

/* the account page's notifications: a table like the one above it, each kind with what it covers under its state */
.ac-nt { margin-top: 40px; }
.ac-nt > .sm { margin: -4px 0 12px; color: var(--ink-2); }
.ac-nt td small { color: var(--ink-3); font-size: 12px; line-height: 18px; }

/* the bell's panel, as YouTube's notifications in the top bar's own panel (DMM's grey panel, bold head with its icon,
   white rows a pixel apart turning grey under the pointer): the gear at the head to the settings; "Important", then
   "More notifications", then the studio's news; each notification a dot while new, who (40 round), what (three lines
   at most) and when, the work's picture (16:9, 72 wide) and "⋯" with its own small menu; the whole list below. */
.mn.mn-nt { width: 440px; max-width: calc(100vw - 24px); max-height: calc(100vh - 72px); overflow-y: auto; padding: 16px; }
.mn-nt h2 { margin-bottom: 6px; }
.mn-nt h2 svg.c-bell { fill: none; stroke: currentColor; }
.nt-gear { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; color: var(--ink-2); }
.nt-gear svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; }
.nt-g { margin: 12px 0 6px; color: var(--ink-2); font-size: 12px; line-height: 18px; font-weight: 700; }
.nt-l { margin: 0; padding: 0; list-style: none; }
.nt-i { position: relative; display: grid; grid-template-columns: 8px 40px minmax(0, 1fr) auto auto; gap: 10px; align-items: start; margin: 1px 0; padding: 10px 6px 10px 4px; border-radius: 2px; background: #fff; }
.nt-i:hover { background: #eee; }
.nt-dot { width: 6px; height: 6px; margin-top: 17px; border-radius: 50%; }
.nt-i.new .nt-dot, .nt-dot.on { background: var(--link); }
.nt-x { display: grid; gap: 2px; min-width: 0; }
.nt-t { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--ink); font-size: 13px; line-height: 19px; font-weight: 400; }
.nt-q { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--ink-3); font-size: 12px; line-height: 18px; }
.nt-x .cm-at { color: var(--ink-3); font-size: 12px; }
.nt-w img { display: block; width: 72px; height: 40px; border-radius: 2px; object-fit: cover; background: var(--wash); }
.nt-e { position: relative; }
.nt-dots { display: grid; place-items: center; width: 24px; height: 28px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.nt-dots svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.600; stroke-linecap: round; }
.nt-mn { position: absolute; top: 28px; right: 0; z-index: 6; min-width: 220px; margin: 0; padding: 8px; list-style: none; border: 1px solid #dee0e3; background: #f2f4f7; box-shadow: 2px 4px 8px -3px rgba(0, 0, 0, .4); }
.nt-mn[hidden] { display: none; }
.nt-mn li { margin: 1px 0; }
.nt-mn button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 4px 10px; border: 0; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; white-space: nowrap; }
.nt-mn button:hover { opacity: 1; background: #ccc; }
.nt-mn button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; }
.nt-in { padding: 12px 6px; color: var(--ink-2); font-size: 13px; }
.nt-news a { gap: 8px; font-size: 13px; }
.nt-news .nt-dot { flex: none; margin: 0; }
.nt-all { margin-top: 10px; }

/* Settings (the account page): one part at a time, as YouTube's, under the site's own heading; the left column is
   its tabs (.ac-sd, the rows of My games' filters) */
.ac .ac-sec.away { display: none; }
.pg > .ac-sd { position: sticky; top: 16px; }
/* (below 1100 px the column stands above the page, so it scrolls away with it and does not lie over the rows) */
@media (max-width: 1100px) { .pg > .ac-sd { position: static; } }

/* following: the bell's menu on the channel page, and the question before unfollowing (YouTube's "Unsubscribe from …?") */
.chn-fo { position: relative; display: inline-flex; }
.chn-fo .fc-mn { left: 0; right: auto; }
.bt.fo-in { gap: 6px; }
.bt.fo-in::before { content: none; }
.bt.fo-in svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.800; stroke-linecap: round; stroke-linejoin: round; }
.fo-ask { width: min(400px, 92vw); }
.fo-ask-q { margin: 0 18px 20px; font-size: 14px; line-height: 22px; }
.fo-ask-b { display: flex; justify-content: flex-end; gap: 8px; margin: 0 18px; }
.fo-ask-b .ob, .fo-ask-b .bt { height: 36px; min-height: 36px; margin: 0; padding: 0 16px; font-size: 14px; }

/* ── The gameplay page (pages/dreamlabs.html, mma.html, xiangqin.html, work.html): a clean two-column layout
   (16:9 game player at the left, title/channel/toolbar/info panel/comments underneath, recommended games at the right)
   styled in Minami Soft's own crisp geometry (6px corners, navy #0b2a63 and sky #35c5f0 accents, bordered toolbar
   controls, cool-tinted info card, and sharp 4px game thumbnails) so the visual UI is unmistakably ours. ── */
body.watching .gn { display: none; }
body.watching .sf-b { border-color: #cdd8e6; border-radius: 6px 0 0 6px; box-shadow: none; }
body.watching .sf:focus-within .sf-b { border-color: var(--sky); border-right: 1px solid var(--sky); box-shadow: 0 0 0 2px rgb(53 197 240 / .22); }
body.watching .sf-go { border-radius: 0 6px 6px 0; }
body.watching .mk { position: relative; isolation: isolate; height: 40px; margin: 0 10px 0 0; padding: 0 14px 0 12px; border: 0; border-radius: 6px; background: rgba(0, 0, 0, .05); color: #0f0f0f; font-weight: 700; line-height: 1; transition: background-color .35s cubic-bezier(.25, 1, .8, 1); }
body.watching .mk:hover { opacity: 1; background: var(--sky-soft); }
body.watching .mk svg { width: 20px; height: 20px; stroke-width: 2; }
body.watching .mk > span { padding-bottom: 2px; }
@media (min-width: 641px) and (max-width: 1016px) { body.watching .mk { width: 40px; padding: 0; justify-content: center; } }
@media (min-width: 641px) and (max-width: 820px) { body.watching .mk { width: 34px; height: 34px; margin: 0 4px 0 0; } }
.gd-b.hd-gd { display: none; }   /* (before .gd-b below: shown on the gameplay page only) */
body.watching .gd-b.hd-gd { display: grid; margin: 0; }
.gd-b { flex: none; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: none; color: #4a5568; cursor: pointer; transition: background-color .25s, color .25s; }
.gd-b:hover { opacity: 1; background: var(--sky-soft); color: var(--navy); }
.gd-b svg { width: 18px; height: 18px; }
@media (min-width: 641px) {
  body.watching .hd { justify-content: flex-start; gap: 0; padding: 0 16px; }
  body.watching .hd-gd + .logo { margin-left: 16px; }
}
/* The slide-out guide (pages/_side_watch.html), styled in Minami Soft's crisp geometry and sky-blue hover motion */
.gd { position: fixed; z-index: 1100; top: 0; left: 0; bottom: 0; display: block; width: 280px; max-width: calc(100vw - 56px); margin: 0; padding: 0 0 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: transparent transparent; border-right: 1px solid #e6edf5; background: #fff; transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility 0s .2s; }
.gd:hover { scrollbar-color: #909090 transparent; }
body.gd-on .gd { transform: none; visibility: visible; transition: transform .2s ease; }
.gd-sc { position: fixed; inset: 0; z-index: 1099; background: rgba(11, 22, 44, .45); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
body.gd-on .gd-sc { opacity: 1; pointer-events: auto; }
.gd-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; height: 56px; padding: 0 16px; background: #fff; }
.gd-top .logo { display: flex; align-items: center; height: 56px; margin-left: 16px; }
@media (min-width: 641px) and (max-width: 820px) {
  body.watching .hd { padding: 0 12px; }
  .gd-top { padding: 0 12px; }
  .gd-b { width: 36px; height: 36px; }
  .gd-top .logo, body.watching .hd-gd + .logo { margin-left: 8px; }
}
/* (on a phone the bar's first row is 46 high, inset 12px on both sides) */
@media (max-width: 640px) {
  .gd-b { width: 32px; height: 32px; }
  .gd-top { height: 46px; padding: 0 12px; }
  .gd-top .logo { height: 46px; margin-left: 6px; }
  body.watching .hd-gd + .logo { margin-left: 6px; }
  body.watching .im { padding: 0 2px; }
  body.watching .im > a { width: 26px; }
}
.gd .gd-l, .gd .mod { margin: 0; padding: 12px 0; border-top: 1px solid #e6edf5; }
.gd .gd-l:first-of-type { border-top: 0; }
.gd .mod h2 { display: block; margin: 0; }
.gd .fo-sd-a, .gd .fo-sd-more, .gd .mod h2 .fo-sd-h { display: flex; align-items: center; gap: 24px; width: auto; height: 40px; margin: 0 12px; padding: 0 12px; border-radius: 6px; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 400; }
.gd .fo-sd-a > svg, .gd .fo-sd-more > svg, .gd .sd-me .fo-sd-a svg { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gd .fo-sd-a .so-face > img { width: 24px; height: 24px; }
.gd .mod h2 .fo-sd-h { gap: 4px; color: var(--navy); font-size: 15px; line-height: 24px; font-weight: 700; }
.gd .mod h2 .fo-sd-h svg { width: 16px; height: 16px; stroke-width: 2.2; }
.gd .fo-sd-a, .gd .fo-sd-more, .gd .mod h2 .fo-sd-h { position: relative; isolation: isolate; transition: background-color .45s cubic-bezier(.25, 1, .8, 1); }
.gd .fo-sd-a:hover, .gd .fo-sd-more:hover, .gd .mod h2 .fo-sd-h:hover, .gd .fo-sd-a:active, .gd .fo-sd-more:active, .gd .mod h2 .fo-sd-h:active { opacity: 1; background: var(--sky-soft); }
.gd .mg { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 4px 24px 0; }
.gd-ft { padding: 16px 24px 8px; border-top: 1px solid #e6edf5; font-size: 14px; line-height: 20px; }
.gd-ft p { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0 0 12px; }
.gd-ft a { color: #5b687c; font-weight: 700; }
.gd-ft small { display: block; color: #8492a6; font-size: 12px; line-height: 18px; }

/* Player sizing: always 16:9, keeping the game title in view below it; right column 336–716px */
.pg.watch { display: block; max-width: none; padding: 12px 24px 48px; }
.wa { --pw: max(480px, min(calc(72.5vw - 56px), calc((100vh - var(--hd, 48px) - 60px) * 16 / 9), 1840px)); display: flex; justify-content: center; gap: 24px; align-items: flex-start; }
.wa[hidden] { display: none; }
.wa-main { flex: 0 1 var(--pw); min-width: 0; }
.wa-pl { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
/* the frame is 1px taller than the box, which clips it: a 16:9 box is rarely a whole number of pixels tall, the game
   inside gets a whole-pixel window, and the difference showed as a black line under the game (MacBook, 2026-12-03) */
.wa-pl iframe { position: absolute; inset: 0 0 auto; display: block; width: 100%; height: calc(100% + 1px); border: 0; }
.wa-pl iframe[hidden] { display: none; }
.wa-pl:fullscreen { max-height: none; border: 0; border-radius: 0; box-shadow: none; }
/* what stands in the player while a game is not open to this player: its picture, darkened, with the way to it */
.wa-gate { position: absolute; inset: 0; display: grid; place-items: center; }
.wa-gate[hidden] { display: none; }
.wa-gi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wa-gate::after { content: ""; position: absolute; inset: 0; background: rgb(11 22 44 / .5); }
.wa-gate[data-none]::before { content: attr(data-none); position: absolute; inset: 0; display: grid; place-items: center; background: #1d2433; color: #fff; font-size: 96px; font-weight: 700; }
.wa-gp { position: relative; z-index: 1; width: min(440px, 88%); padding: 20px 24px; border: 1px solid rgb(255 255 255 / .16); border-radius: 6px; background: rgb(19 28 46 / .9); color: #fff; text-align: center; }
.wa-gp:empty, .wa-gp:has(> .wa-gb:empty):has(> p[hidden]) { display: none; }
.wa-gp .lb { justify-content: center; }
.wa-gp .lb span { border-color: rgb(255 255 255 / .5); color: #fff; }
.wa-gp .sale { justify-content: center; color: #ddd; }
.wa-gp .sale s { color: #aaa; }
.wa-gp .pr { margin: 6px 0 0; color: #fff; font-size: 24px; line-height: 32px; font-weight: 700; }
.wa-gp .pr.tba { font-size: 16px; line-height: 24px; }
.wa-gp .sm { margin: 4px 0 0; color: #ccc; font-size: 12px; }
.wa-gb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; }
.wa-gb .bt, .wa-gb .ob { min-width: 140px; margin: 0; }
.wa-gb .fv { color: #fff; }
.wa-gb .wk-closed { margin: 0; color: #ddd; }

.wa-t { margin: 14px 0 0; color: #111827; font-size: 21px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.wa-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 12px; }
.wa-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; min-width: 0; }
.wa-ch-a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wa-who { display: flex; align-items: center; gap: 12px; min-width: 0; color: #111827; }
.wa-who img { flex: none; width: 40px; height: 40px; border: 1px solid #dce5f0; border-radius: 8px; object-fit: cover; }
.wa-who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; line-height: 22px; font-weight: 700; }
.wa-who small { display: block; color: #5b687c; font-size: 12px; line-height: 18px; }
.wa-fo-w { position: relative; display: inline-flex; }
.wa-fo-w .fc-mn { left: 0; right: auto; top: calc(100% + 6px); z-index: 30; }
.wa-fo, .wa-join { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 40px; margin: 0; padding: 0 18px 2px; border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1; font-weight: 700; cursor: pointer; }
.wa-fo.in, .wa-join { border-color: transparent; background: rgba(0, 0, 0, .05); color: #0f0f0f; }
.wa-ch-a:has(.wa-fo.in) .wa-join { border-color: var(--navy); background: var(--navy); color: #fff; }
.wa-fo.fo-in { gap: 6px; padding: 0 12px 0 14px; }
.wa-fo.fo-in > span { display: none; }
.wa-fo.fo-in svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-fo.fo-in svg:last-child { width: 16px; height: 16px; stroke-width: 2; }
.wa-ch-a .wk-mem { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid #b9dec8; border-radius: 6px; background: #eefaf2; color: #0a7a3d; font-size: 13px; line-height: 1; font-weight: 700; }
.wa-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wa-acts .so-bar { position: relative; flex-wrap: nowrap; gap: 8px; margin: 0; }
.wa-acts .so-b { height: 40px; padding: 0 16px; border: 0; border-radius: 6px; background: rgba(0, 0, 0, .05); color: #0f0f0f; font-size: 14px; font-weight: 700; }
.wa-acts .so-b svg { width: 24px; height: 24px; }
.wa-acts .so-b[aria-pressed="true"] { color: #0f0f0f; }
.wa-acts .so-b[aria-pressed="true"] svg { fill: currentColor; fill-opacity: 1; }
.wa-acts [data-react="1"] { border-radius: 6px 0 0 6px; }
.wa-acts [data-react="-1"] { margin-left: -8px; border-left: 1px solid rgba(0, 0, 0, .1); border-radius: 0 6px 6px 0; }
.wa-acts .wa-ic { width: 40px; padding: 0; }
.wa-acts [data-wa-more] svg { stroke-width: 2.800; }
.wa-acts > .so-m { top: calc(100% + 4px); right: 0; }
.wa-acts [data-wa-more][aria-expanded="true"]::after { opacity: 0; }
/* icons only with count kept on Like; each button shows its name under it on hover in YouTube's grey tooltip */
.wa-acts .so-b { position: relative; }
.wa-acts .so-b > span { display: none; }
.wa-acts .so-b:not(:has(> b:not([hidden]))) { width: 40px; padding: 0; }
.wa-acts [data-react="1"]:has(> b:not([hidden])) { padding: 0 16px 0 14px; }
.wa-acts .so-b::after { content: attr(aria-label); position: absolute; z-index: 3; top: calc(100% + 8px); left: 50%; padding: 4px 8px; border-radius: 4px; background: rgb(97 97 97 / .92); color: #fff; font-size: 12px; line-height: 18px; font-weight: 400; white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; transition: opacity .1s; }
.wa-acts .so-b:hover::after, .wa-acts .so-b:focus-visible::after { opacity: 1; transition-delay: .3s; }
.wa-acts [data-fav][aria-pressed="true"] svg { fill: #f5b400; stroke: #f5b400; }
.so-toast-b { margin-left: 16px; padding: 0; border: 0; background: none; color: #7fc4ff; font: inherit; font-weight: 700; cursor: pointer; }
.wa-acts .so-why { position: absolute; z-index: 2; top: 46px; left: 0; width: max-content; max-width: 300px; padding: 6px 10px; border-radius: 8px; background: #0f0f0f; color: #fff; }
.wa-edit { margin: 12px 0 0; }
.wa-edit:has(> [hidden]) { display: none; }

.wa-d { margin-top: 12px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .05); color: #0f0f0f; font-size: 14px; line-height: 20px; cursor: pointer; }
.wa-d.open { cursor: auto; }
.wa-d p { margin: 0; }
.wa-dm { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-bottom: 4px !important; font-weight: 700; }
.wa-dm b:empty { display: none; }
.wa-d:not(.open) .wa-rel:not(:empty) + .wa-abs { display: none; }
.wa-d.open .wa-rel { display: none; }
.wa-hts { display: inline-flex; flex-wrap: wrap; gap: 0 6px; }
.wa-dm a { color: var(--link); }
.wa-dm .wa-ht { color: #606060; font-weight: 700; }
.wa-d.open .wa-dm .wa-ht { color: var(--link); }
.wk-text .wa-ht { color: var(--link); }
.wa-dc { font-weight: 700; }
.wa-d:not(.open) .wa-dc ~ p, .wa-d:not(.open) .wk-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.wa-d:not(.open) .wa-dx { display: none; }
.wk-text { white-space: pre-line; overflow-wrap: anywhere; }
.wk-own { margin-top: 4px !important; color: #606060; }
.wa-dx h2 { margin: 20px 0 6px; font-size: 16px; line-height: 22px; font-weight: 700; }
.wa-dx .gp-shots { margin: 12px 0 0; }
.wa-dx .steps, .wa-dx .ftl { margin: 0; padding-left: 20px; }
.wa-dx .steps li + li, .wa-dx .ftl li + li { margin-top: 6px; }
.wa-dx .spec, .wa-dx .faq { margin: 0; }
.wa-dx .wk-found { margin-top: 12px; }
.wa-dt { display: inline-block; margin-top: 4px; padding: 0; border: 0; background: none; color: #0f0f0f; font: inherit; font-weight: 700; cursor: pointer; }
.wa-dt[hidden] { display: none; }
.wa-dt span + span, .wa-d.open .wa-dt span:first-child { display: none; }
.wa-d.open .wa-dt span + span { display: inline; }
.wa-main .cm { margin-top: 24px; }

.wa-side { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; min-width: 336px; max-width: 716px; }
/* the picture 60% of the column, crisp 4px corners matching the storefront tiles */
.wa-r { display: grid; grid-template-columns: 6fr 4fr; gap: 10px; color: #111827; }
.wa-rp { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #dce5f0; border-radius: 4px; background: #eef3f9; }
.wa-rp img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wa-rp[data-none]::before { content: attr(data-none); position: absolute; inset: 0; display: grid; place-items: center; background: var(--bar); color: #fff; font-size: 36px; font-weight: 700; }
.wa-rt b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-bottom: 4px; font-size: 14px; line-height: 20px; font-weight: 700; }
.wa-rt small { display: block; color: #5b687c; font-size: 12px; line-height: 18px; }

/* Gameplay page motion: smooth sky-blue pointer spotlight and ripple */
.wa-acts .so-b, .wa-fo, .wa-join { position: relative; isolation: isolate; transition: background-color .45s cubic-bezier(.25, 1, .8, 1), color .2s; }
.wa-acts .so-b:hover { opacity: 1; background: var(--sky-soft); }
.wa-fo.in:hover, .wa-join:hover { opacity: 1; border-color: transparent; background: var(--sky-soft); color: #0f0f0f; }
.wa-fo:not(.in):hover, .wa-ch-a:has(.wa-fo.in) .wa-join:hover { opacity: 1; border-color: #144294; background: #144294; color: #fff; }
.fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; }
.fx::before { content: ""; position: absolute; left: var(--mx, 50%); top: var(--my, 50%); width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; background: radial-gradient(circle, rgb(53 197 240 / .32), rgb(53 197 240 / 0) 70%); opacity: 0; transition: opacity .3s; }
:hover > .fx::before { opacity: 1; }
.fx-rp { position: absolute; border-radius: 50%; background: var(--sky-press); transform: scale(0); animation: fx-rp .55s cubic-bezier(.25, 1, .5, 1) forwards; }
@keyframes fx-rp { to { transform: scale(1); opacity: 0; } }
.wa-acts [data-react][aria-pressed="true"] svg { animation: fx-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes fx-pop { 40% { transform: scale(1.3) rotate(-14deg); } }
.wa-d { transition: background-color .3s cubic-bezier(.05, 0, 0, 1); }
.wa-d:not(.open):hover { background: var(--sky-soft); }
.wa-r { position: relative; isolation: isolate; }
.wa-r::before { content: ""; position: absolute; inset: -5px; z-index: -1; border: 1px solid rgb(53 197 240 / .35); border-radius: 6px; background: var(--sky-soft); opacity: 0; transform: scale(.98); transition: opacity .25s cubic-bezier(.05, 0, 0, 1), transform .25s cubic-bezier(.05, 0, 0, 1); }
.wa-r:hover { opacity: 1; }
.wa-r:hover::before { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx::before, .fx-rp { display: none; }
  .wa-acts [data-react][aria-pressed="true"] svg, .cm-v[aria-pressed="true"] svg { animation: none; }
}
@media (max-width: 1016px) {
  .wa { flex-direction: column; align-items: stretch; }
  .wa-main { flex: none; }
  .wa-pl { width: min(100%, calc((100vh - var(--hd, 48px) - 60px) * 16 / 9)); margin: 0 auto; }
  .wa-side { flex: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px 16px; min-width: 0; max-width: none; }
  .wa-r { grid-template-columns: 168px minmax(0, 1fr); }
}
/* a phone: the player at the screen's width and as tall as the screen under the bar, so the game is played as it
   comes; its name and the rest under it */
@media (max-width: 640px) {
  .pg.watch { padding: 0 0 32px; }
  .wa { gap: 16px; }
  .wa-pl { width: 100%; aspect-ratio: auto; height: calc(100svh - var(--hd, 120px)); border: 0; border-radius: 0; box-shadow: none; }
  .wa-t, .wa-row, .wa-d, .wa-edit, .wa-main .cm, .wk-state { margin-left: 12px; margin-right: 12px; }
  .wa-acts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  body.watching .hd-gd + .logo { margin-right: auto; }
  .wa-side { padding: 0 12px; grid-template-columns: minmax(0, 1fr); }
}

/* Report history (/reports/): each report on its row, its status on the right */
.rh-l { margin: 20px 0 0; padding: 0; list-style: none; }
.rh-i { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line, #e5e5e5); }
.rh-w { min-width: 0; }
.rh-k { display: block; color: #606060; font-size: 12px; line-height: 18px; }
.rh-t { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 700; }
.rh-c { display: block; margin: 2px 0 0; color: #444; font-size: 13px; line-height: 18px; overflow-wrap: anywhere; }
.rh-r { display: block; margin-top: 2px; color: #606060; font-size: 12px; line-height: 18px; }
.rh-d { color: #606060; font-size: 12px; white-space: nowrap; }
.rh-s { padding: 2px 10px; border-radius: 12px; background: #fff4d6; color: #7a5200; font-size: 12px; line-height: 20px; font-weight: 700; white-space: nowrap; }
.rh-s.done { background: #e6f4ea; color: #1e6b34; }
.rh-none, .rh-in { margin-top: 20px; }
