/* Sumo Japanese website: generated by tools/website/build.mjs */
@font-face { font-family: 'M PLUS Rounded 1c'; font-weight: 400; font-display: swap; src: url(/assets/mplus-rounded-400.d6954011a9.woff2) format('woff2'); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-weight: 700; font-display: swap; src: url(/assets/mplus-rounded-700.64ea2f0bd2.woff2) format('woff2'); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-weight: 800; font-display: swap; src: url(/assets/mplus-rounded-800.a0d39d903d.woff2) format('woff2'); }
:root {
  color-scheme: light dark;
  --bg: #FBF7F0; --bg-soft: #F3ECE1; --card: #FFFFFF; --line: #ECE3D6;
  --ink: #2A2420; --ink2: #6F645C;
  --accent: #E8573F; --button: #C2402B; --button-hover: #A8331F; --accent-soft: #FDE9E4; --accent-ink: #A8331F;
  --link: #2B4C9B; --focus: #2B4C9B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16120F; --bg-soft: #211C18; --card: #1D1814; --line: #2E2722;
    --ink: #F6EFE6; --ink2: #BFB3A6;
    --accent: #F06A52; --button: #C2402B; --button-hover: #A8331F; --accent-soft: #3A1E17; --accent-ink: #F6A08F;
    --link: #8AA4EC; --focus: #8AA4EC;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.65 'M PLUS Rounded 1c', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.wrap { max-width: 46rem; margin: 0 auto; padding: 0 20px; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 2; }
.skip:focus { left: 12px; }
.top { position: relative; border-bottom: 1px solid var(--line); }
/* the header is as wide as the home page's sections on every page: the brand, the page's links and the other apps in one row.
   Up to 944 px (59em, so it follows a bigger text size too; the home page's row needs 928 px with the three apps) a menu button
   stands in for both, and its panel lists them (a
   <details>: it opens without a script) */
.top .wrap { display: flex; align-items: center; gap: 0 18px; min-height: 60px; max-width: 72rem; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; margin-right: auto; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.top .links { display: flex; gap: 18px; white-space: nowrap; }
.top .links a, .foot nav a { color: var(--ink2); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.top .links a:hover, .foot nav a:hover, .top .links a[aria-current='page'] { color: var(--ink); text-decoration: underline; }
/* the other apps: their icons and short names after the page's links, past a hairline. Hovered, a soft tile around icon and
   name, the same space on every side of the icon, its corners the icon's own plus that space (owner, 4 Nov 2026) */
.top .apps { display: flex; gap: 2px; align-items: center; padding-left: 12px; border-left: 1px solid var(--line); }
.top .apps a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 11px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 0.95rem; white-space: nowrap; transition: background-color 0.15s ease; }
.top .apps a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.top .apps a:focus-visible { border-radius: 11px; }
.top .apps img { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.menu { display: none; }
@media (max-width: 59em) {
  .top .links, .top .apps { display: none; }
  .menu { display: block; }
}
.menu > summary { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border-radius: 14px; list-style: none; cursor: pointer;
  color: var(--ink); -webkit-tap-highlight-color: transparent; transition: background-color 0.15s ease; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover, .menu[open] > summary { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.menu > summary:focus-visible { border-radius: 14px; }
/* while open, the button reaches over the whole page (invisibly), so a tap anywhere outside the panel closes it, script or not */
.menu[open] > summary::before { content: ''; position: fixed; inset: 0; z-index: 25; cursor: default; }
/* three bars that turn into a cross while the menu is open */
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, background-color 0.2s ease; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ''; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu[open] .menu-bars { background-color: transparent; }
.menu[open] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
/* the panel: a card under the header, the page's links and then the other apps, rows big enough for a thumb */
.menu-panel { position: absolute; z-index: 30; top: calc(100% + 8px); left: 12px; right: 12px; max-width: 420px; margin-left: auto; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 50px rgba(42, 36, 32, 0.18); }
.menu[open] .menu-panel { animation: menu-in 0.18s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu-panel nav { display: grid; gap: 2px; }
.menu-panel a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 14px; border-radius: 14px; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.05rem; }
.menu-panel a:hover, .menu-panel a[aria-current='page'] { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.menu-panel a:focus-visible { border-radius: 14px; outline-offset: -3px; }
.menu-label { margin: 6px 14px 4px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink2); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; }
.menu-apps a { padding-left: 6px; }
.menu-apps img { width: 32px; height: 32px; border-radius: 8px; flex: none; }
@media (prefers-reduced-motion: reduce) {
  .menu[open] .menu-panel { animation: none; }
  .menu-bars, .menu-bars::before, .menu-bars::after { transition: none; }
}
main.wrap { padding-top: 32px; padding-bottom: 56px; }
h1 { font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); line-height: 1.2; margin: 0 0 0.4rem; }
h2 { font-weight: 800; font-size: 1.3rem; line-height: 1.3; margin: 2.2rem 0 0.6rem; }
h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.4; margin: 1.4rem 0 0.25rem; }
p { margin: 0.6rem 0; }
.updated { color: var(--ink2); font-size: 0.95rem; margin: 0 0 1.4rem; }
.lead { color: var(--ink2); font-size: 1.12rem; }
ul { padding-left: 1.3rem; margin: 0.6rem 0; }
li { margin: 0.55rem 0; }
.button { display: inline-flex; align-items: center; gap: 8px; background: var(--button); color: #FFFFFF; font-weight: 800; font-size: 1.1rem;
  text-decoration: none; padding: 0.75rem 1.4rem; border-radius: 999px; margin: 0.4rem 0; overflow-wrap: anywhere; }
.button:hover { background: var(--button-hover); color: #FFFFFF; text-decoration: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.25rem; margin: 1.4rem 0; }
.card h2 { margin-top: 0.2rem; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.2rem 0; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; margin: 0.8rem 0; }
.steps li::before { content: counter(step); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink);
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-top: -0.1rem; }
.faq h3 { margin-top: 1.6rem; }
.faq p { color: var(--ink2); }
.links { padding-left: 1.3rem; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; border-radius: 999px; padding: 0.45rem 1rem; margin: 1rem 0 0.4rem; }
.foot { border-top: 1px solid var(--line); color: var(--ink2); font-size: 0.95rem; }
.foot .wrap { padding-top: 22px; padding-bottom: 32px; }
.foot nav { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 8px; }
/* the other apps, as in the header: a line of their own under the page links */
.foot .foot-apps { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 14px 0 0; }
.foot .foot-apps a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink2); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.foot .foot-apps a:hover { color: var(--ink); text-decoration: underline; }
.foot .foot-apps img { width: 20px; height: 20px; border-radius: 6px; flex: none; }
