:root {
  color-scheme: light;
  --bg: #faf9f7;
  --surface: #f2f1ee;
  --panel: #ffffff;
  --ink: #172032;
  --muted: #5f6a7e;
  --line: #e0e3e9;
  --field: #7b8493;
  --accent: #c54c08;
  --accent-hover: #a83d04;
  --accent-soft: #fff0e5;
  --button-ink: #ffffff;
  --app-bg: #fcf0e7;
  --app-ink: #c54c08;
  --game-bg: #eeedf8;
  --game-ink: #55429a;
  --convert-bg: #eaf3eb;
  --convert-ink: #267346;
  --blue-bg: #e9f2ff;
  --blue-ink: #316cb0;
  --red-bg: #fff0ed;
  --red-ink: #c24132;
  --radius: 10px;
  --max: 1240px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --bg: #161b25;
    --surface: #222936;
    --panel: #1d2430;
    --ink: #f1f3f7;
    --muted: #b1bbcb;
    --line: #394353;
    --field: #8a96a8;
    --accent: #ffb17e;
    --accent-hover: #ffc59f;
    --accent-soft: #362b24;
    --button-ink: #231a14;
    --app-bg: #342a25;
    --app-ink: #ffb17e;
    --game-bg: #2a2840;
    --game-ink: #c2b1ff;
    --convert-bg: #21352d;
    --convert-ink: #8bd5a4;
    --blue-bg: #243449;
    --blue-ink: #9bc9ff;
    --red-bg: #3c2a2b;
    --red-ink: #ffaaa0;
  }
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #161b25;
  --surface: #222936;
  --panel: #1d2430;
  --ink: #f1f3f7;
  --muted: #b1bbcb;
  --line: #394353;
  --field: #8a96a8;
  --accent: #ffb17e;
  --accent-hover: #ffc59f;
  --accent-soft: #362b24;
  --button-ink: #231a14;
  --app-bg: #342a25;
  --app-ink: #ffb17e;
  --game-bg: #2a2840;
  --game-ink: #c2b1ff;
  --convert-bg: #21352d;
  --convert-ink: #8bd5a4;
  --blue-bg: #243449;
  --blue-ink: #9bc9ff;
  --red-bg: #3c2a2b;
  --red-ink: #ffaaa0;
}

/* One shape rule: cards use 10px, controls use 8px. Only the skip link needs a layer. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", YuGothic, Meiryo, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
button { cursor: pointer; }
a, button, input, summary { outline-offset: 5px; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.5; letter-spacing: .025em; word-break: auto-phrase; }
p + p { margin-top: 1em; }
svg.icon { display: block; width: 24px; height: 24px; flex-shrink: 0; }
.wrap { width: min(var(--max), calc(100% - 72px)); margin-inline: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--panel); z-index: 20; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 43px; height: 43px; border-radius: 50%; }
.brand-name { font-family: "Segoe UI", sans-serif; font-size: 23px; font-weight: 750; letter-spacing: -.5px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 700; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.nav a[aria-current=page] { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-guide { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.theme-button { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 0; border-radius: 8px; color: var(--ink); background: transparent; padding: 8px; }
.theme-button { display: none; }
.js .theme-button { display: inline-flex; }
.theme-button:hover { background: var(--surface); color: var(--accent); }
.icon-sun, .icon-moon { line-height: 1; }
.icon-moon { display: none; }
:root[data-theme=dark] .icon-sun { display: none; }
:root[data-theme=dark] .icon-moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .icon-sun { display: none; }
  :root:not([data-theme=light]) .icon-moon { display: inline; }
}

.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 11px 23px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: var(--button-ink); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--button-ink); }
.arrow { font-family: Arial, sans-serif; font-size: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 18px; height: 18px; }
.section { padding-block: 64px; }
.section h2 { font-size: 29px; font-weight: 800; }
.section-lead { max-width: 52em; margin-top: 10px; color: var(--muted); font-size: 15px; word-break: auto-phrase; }

/* A centered introduction and three direct links, matching the selected proposal. */
.home-hero { position: relative; padding: 34px 0 28px; text-align: center; }
.hero-eyebrow { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .04em; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.home-hero h1 { margin-top: 13px; font-size: clamp(30px, 3.65vw, 48px); font-weight: 800; line-height: 1.4; letter-spacing: .025em; }
.home-hero h1 span { display: block; }
.hero-lead { margin-top: 11px; color: var(--muted); font-size: 16px; font-weight: 600; }
.hero-note { position: absolute; max-width: 155px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.9; letter-spacing: .035em; text-align: center; word-break: auto-phrase; }
.hero-note--left { left: 8px; bottom: 77px; transform: rotate(-8deg); }
.hero-note--right { right: 3px; top: 84px; transform: rotate(7deg); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card { display: grid; grid-template-columns: 86px minmax(0, 1fr) 18px; align-items: center; gap: 18px; min-height: 158px; padding: 22px 24px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; }
.category-card--app { background: var(--app-bg); --category-ink: var(--app-ink); }
.category-card--game { background: var(--game-bg); --category-ink: var(--game-ink); }
.category-card--convert { background: var(--convert-bg); --category-ink: var(--convert-ink); }
.category-card:hover { color: var(--ink); border-color: var(--category-ink); }
.category-icon { color: var(--category-ink); }
.category-icon .icon { width: 86px; height: 86px; stroke-width: 1.5; }
.category-name { display: block; font-size: 20px; font-weight: 800; line-height: 1.5; }
.category-count { display: flex; align-items: baseline; gap: 4px; color: var(--category-ink); line-height: 1.2; margin-top: 3px; }
.category-count b { font-family: "Segoe UI", sans-serif; font-size: 43px; font-weight: 750; letter-spacing: -.8px; font-variant-numeric: tabular-nums; }
.category-count > span { font-size: 21px; font-weight: 700; }
.category-desc { margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.65; word-break: auto-phrase; }
.category-chevron .icon { width: 18px; height: 18px; color: var(--muted); }


.home-sections { padding-block: 28px 66px; }
.block + .block { margin-top: 32px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.block h2 { font-size: 26px; font-weight: 800; }
.app-grid, .media-grid, .converter-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-grid > li, .converter-grid > li, .media-grid > li { min-width: 0; }
.app-card, .tool-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) 16px; align-items: center; gap: 16px; height: 100%; min-height: 118px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; }
.app-card:hover, .tool-card:hover, .media-card:hover { color: var(--ink); border-color: var(--accent); }
.tool-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 64px; }
.tool-icon .icon { width: 55px; height: 55px; stroke-width: 1.6; }
.tool-icon--orange { color: var(--app-ink); }
.tool-icon--violet { color: var(--game-ink); }
.tool-icon--blue { color: var(--blue-ink); }
.tool-icon--green { color: var(--convert-ink); }
.tool-icon--red { color: var(--red-ink); }
.tool-copy { min-width: 0; }
.tool-copy strong { display: block; font-size: 17px; line-height: 1.6; font-weight: 800; word-break: auto-phrase; }
.tool-copy > span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.8; word-break: auto-phrase; }
.card-chevron .icon { width: 16px !important; height: 18px !important; color: var(--muted); }
.media-grid--pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; }
.media-card > img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--surface); }
.media-body { padding: 12px 15px 15px; }
.media-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.media-title strong { font-size: 17px; font-weight: 800; line-height: 1.6; }
.media-title .icon { width: 18px; height: 18px; color: var(--muted); }
.media-body > span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.75; word-break: auto-phrase; }
.converter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card { grid-template-columns: 43px minmax(0, 1fr) 14px; gap: 12px; min-height: 116px; padding: 16px 14px; }
.tool-card .tool-icon { width: 43px; height: 52px; }
.tool-card .tool-icon .icon { width: 43px; height: 48px; }
.tool-card .tool-copy strong { font-size: 15px; }
.tool-card .tool-copy > span { font-size: 12px; line-height: 1.7; }

/* The board has its own page, reached from the header's Other link. */
.other-page { padding-block: 28px 72px; }
.breadcrumb { display: flex; gap: 12px; margin-bottom: 32px; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--accent); }
.other-heading { margin-bottom: 26px; }
.other-heading h1 { font-size: 36px; font-weight: 800; }
.board-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); align-items: center; gap: 42px; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.board-kicker { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.board-copy h2 { margin-top: 9px; font-size: 29px; line-height: 1.5; font-weight: 800; }
.board-description { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.95; word-break: auto-phrase; }
.board-copy .button { margin-top: 22px; }
.board-note { display: block; margin-top: 13px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.board-visual { min-width: 0; margin: 0; }
.board-visual img { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.board-visual figcaption { margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.7; text-align: center; }
.board-details, .board-guide { margin-top: 46px; }
.board-details > h2, .board-guide > h2 { margin-bottom: 22px; font-size: 25px; font-weight: 800; }
.board-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.board-feature-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
.feature-icon { display: inline-flex; color: var(--accent); }
.feature-icon .icon { width: 30px; height: 30px; stroke-width: 1.7; }
.board-feature-grid h3 { margin-top: 9px; font-size: 17px; }
.board-feature-grid p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.85; word-break: auto-phrase; }
.board-guide { max-width: 850px; }
.board-guide ol { list-style: none; padding: 0; margin: 0; counter-reset: board-step; }
.board-guide li { position: relative; padding: 0 0 22px 48px; counter-increment: board-step; }
.board-guide li::before { content: counter(board-step, decimal-leading-zero); position: absolute; left: 0; top: 1px; color: var(--accent); font-family: "Segoe UI", sans-serif; font-size: 20px; font-weight: 700; }
.board-guide li strong { display: block; font-size: 16px; }
.board-guide li p { margin-top: 3px; color: var(--muted); font-size: 14px; }
.board-guide .notice { margin-top: 0; font-size: 13px; color: var(--muted); }
.board-help { margin-top: 28px; font-size: 14px; }
.board-help a { color: var(--accent); font-weight: 700; }

.site-footer { padding-block: 24px; border-top: 1px solid var(--line); background: var(--panel); }
.footer-main { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 28px; }
.footer-brand-block { display: flex; align-items: center; gap: 18px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: "Segoe UI", sans-serif; font-size: 17px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.footer-brand img { width: 31px; height: 31px; border-radius: 50%; }
.footer-note { color: var(--muted); font-size: 11px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 11px; font-weight: 600; }
.footer-links a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { flex-basis: 100%; margin: 0; color: var(--muted); font-family: "Segoe UI", sans-serif; font-size: 10px; text-align: right; }

/* Shared content pages keep their existing typography and contact details. */
.document { max-width: 820px; padding-block: 32px 80px; }
.document h1 { margin-bottom: 22px; font-size: 34px; }
.document .intro { margin-bottom: 36px; color: var(--muted); font-size: 16px; }
.document h2 { margin-top: 40px; margin-bottom: 14px; font-size: 22px; }
.document h3 { margin-top: 23px; margin-bottom: 8px; font-size: 17px; }
.document p, .document li { font-size: 15px; line-height: 2; }
.document a { color: var(--accent); overflow-wrap: anywhere; }
.document ul { padding-left: 1.4em; }
.document .date { margin-top: 35px; color: var(--muted); font-size: 12px; }
.info-list { margin: 24px 0 32px; border-top: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 140px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-list dt { font-weight: 700; }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-box { margin-block: 28px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.contact-box .mail { font-size: 21px; font-weight: 700; }
.document .button { color: var(--button-ink); }
.notice { margin-block: 24px; padding: 12px 20px; border-left: 3px solid var(--accent); background: var(--surface); }
.not-found { padding-block: 95px; text-align: center; }
.not-found h1 { font-size: 32px; }
.not-found p { max-width: 32em; margin: 20px auto 30px; color: var(--muted); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a, button { transition: color .16s, background-color .16s, border-color .16s; }
  .category-card, .app-card, .tool-card, .media-card { transition: border-color .16s, transform .16s; }
  .category-card:hover, .app-card:hover, .tool-card:hover, .media-card:hover { transform: translateY(-2px); }
  .category-card:active, .app-card:active, .tool-card:active, .media-card:active, .button:active { transform: translateY(1px); }
}

@media (max-width: 1199px) {
  .header-inner { gap: 24px; }
  .nav { gap: 21px; }
  .header-actions { gap: 5px; }
  .header-guide { font-size: 11px; }
  .hero-note { display: none; }
  .category-card { grid-template-columns: 66px minmax(0, 1fr) 16px; gap: 14px; padding-inline: 20px; }
  .category-icon .icon { width: 66px; height: 66px; }
  .category-name { font-size: 18px; }
  .category-count b { font-size: 39px; }
  .app-card { grid-template-columns: 48px minmax(0, 1fr) 14px; gap: 12px; padding: 16px; }
  .app-card .tool-icon { width: 48px; }
  .app-card .tool-icon .icon { width: 48px; height: 48px; }
  .tool-copy strong { font-size: 16px; }
  .tool-card { grid-template-columns: 36px minmax(0, 1fr) 12px; gap: 9px; padding: 15px 12px; }
  .tool-card .tool-icon, .tool-card .tool-icon .icon { width: 36px; }
  .tool-card .tool-copy strong { font-size: 14px; }
  .footer-brand-block { gap: 14px; }
  .footer-note { max-width: 210px; }
  .board-feature { gap: 30px; padding: 28px; }
  .board-copy h2 { font-size: 25px; }
}

@media (max-width: 1023px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { flex-wrap: wrap; gap: 0 22px; padding-top: 13px; }
  .brand { order: 0; }
  .header-actions { order: 1; }
  .nav { order: 2; width: 100%; justify-content: center; gap: 40px; padding-top: 5px; }
  .header-guide { font-size: 12px; }
  .home-hero { padding-top: 30px; }
  .home-hero h1 { font-size: 39px; }
  .category-grid { gap: 12px; }
  .category-card { grid-template-columns: 48px minmax(0, 1fr) 12px; gap: 11px; min-height: 143px; padding: 18px 14px; }
  .category-icon .icon { width: 48px; height: 48px; }
  .category-name { font-size: 17px; }
  .category-count b { font-size: 34px; }
  .category-count > span { font-size: 18px; }
  .category-desc { font-size: 11px; }
  .category-chevron .icon { width: 14px; }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card { min-height: 105px; }
  .block h2 { font-size: 24px; }
  .converter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card { grid-template-columns: 48px minmax(0, 1fr) 16px; gap: 14px; min-height: 102px; padding: 16px 18px; }
  .tool-card .tool-icon, .tool-card .tool-icon .icon { width: 46px; }
  .tool-card .tool-copy strong { font-size: 16px; }
  .media-title strong { font-size: 15px; }
  .media-body { padding: 10px 12px 13px; }
  .media-body > span { font-size: 11px; }
  .footer-main { justify-content: flex-start; }
  .footer-brand-block { gap: 20px; }
  .footer-note { max-width: none; }
  .footer-links { justify-content: flex-start; }
  .copyright { text-align: left; }
  .board-feature { grid-template-columns: 1fr; gap: 26px; }
  .board-visual { max-width: 760px; }
  .board-copy h2 { font-size: 29px; }
  .board-description { max-width: 50em; }
  .board-feature-grid { gap: 24px; }
}

@media (max-width: 767px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { padding-top: 11px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 20px; }
  .brand { gap: 9px; }
  .header-guide { display: none; }
  .header-actions { gap: 2px; }
  .theme-button { width: 36px; height: 36px; padding: 6px; }
  .nav { gap: 0; justify-content: space-between; font-size: 12px; padding-top: 5px; }
  .nav a { min-height: 45px; }
  .home-hero { padding: 27px 0 22px; }
  .hero-eyebrow { font-size: 13px; gap: 12px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 20px; }
  .home-hero h1 { margin-top: 13px; font-size: clamp(24px, 5.8vw, 36px); line-height: 1.55; letter-spacing: .01em; }
  .hero-lead { margin-top: 10px; font-size: 12px; font-weight: 500; word-break: auto-phrase; }
  .category-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-card { grid-template-columns: 56px minmax(0, 1fr) 20px; gap: 16px; min-height: 96px; padding: 14px 20px; }
  .category-icon .icon { width: 56px; height: 56px; }
  .category-copy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 13px; }
  .category-name { font-size: 18px; }
  .category-count { display: inline-flex; margin: 0; }
  .category-count b { font-size: 31px; }
  .category-count > span { font-size: 16px; }
  .category-desc { width: 100%; margin-top: 0; font-size: 11px; }
  .category-chevron .icon { width: 18px; height: 18px; }
  .home-sections { padding-block: 28px 44px; }
  .block + .block { margin-top: 30px; }
  .block-head { gap: 6px 12px; margin-bottom: 11px; }
  .block h2 { font-size: 21px; }
  .text-link { font-size: 12px; }
  .app-grid { gap: 10px; }
  .app-card { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; min-height: 122px; padding: 13px 12px; }
  .app-card .tool-icon { width: 38px; height: 45px; }
  .app-card .tool-icon .icon { width: 38px; height: 42px; }
  .app-card .card-chevron { display: none; }
  .tool-copy strong { font-size: 14px; }
  .tool-copy > span { font-size: 11px; line-height: 1.7; }
  .media-grid--pick { grid-template-columns: 1fr; gap: 14px; }
  .media-body { padding: 12px 15px 15px; }
  .media-title strong { font-size: 17px; }
  .media-body > span { font-size: 12px; }
  .converter-grid { gap: 10px; }
  .tool-card { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 12px; min-height: 124px; }
  .tool-card .tool-icon, .tool-card .tool-icon .icon { width: 34px; }
  .tool-card .tool-copy strong { font-size: 14px; }
  .tool-card .tool-copy > span { font-size: 11px; }
  .tool-card .card-chevron { display: none; }
  .section { padding-block: 44px; }
  .section-lead { font-size: 14px; }
  .other-page { padding-block: 24px 48px; }
  .breadcrumb { margin-bottom: 25px; }
  .other-heading { margin-bottom: 22px; }
  .other-heading h1 { font-size: 29px; }
  .board-feature { gap: 24px; padding: 23px 20px; }
  .board-copy h2 { font-size: 24px; }
  .board-description { margin-top: 14px; font-size: 14px; }
  .board-copy .button { margin-top: 19px; }
  .board-details, .board-guide { margin-top: 34px; }
  .board-details > h2, .board-guide > h2 { margin-bottom: 17px; font-size: 22px; }
  .board-feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .board-feature-grid article { padding-top: 18px; }
  .board-feature-grid h3 { margin-top: 7px; }
  .board-feature-grid p { margin-top: 5px; }
  .board-guide li { padding-left: 43px; }
  .board-guide .notice { padding: 12px 15px; }
  .site-footer { padding-block: 24px; }
  .footer-main { gap: 13px; }
  .footer-brand-block { display: block; }
  .footer-note { margin-top: 8px; }
  .footer-links { gap: 4px 19px; font-size: 11px; }
  .copyright { font-size: 10px; }
  .document { padding-top: 25px; }
  .document h1 { font-size: 28px; }
  .document h2 { font-size: 21px; }
  .document p, .document li { font-size: 14px; }
  .info-list div { grid-template-columns: 1fr; gap: 6px; }
  .contact-box { padding: 22px; }
  .contact-box .mail { font-size: 18px; }
  .not-found h1 { font-size: 25px; }
}

@media (max-width: 479px) {
  .block-head .text-link { flex-basis: 100%; }
  .app-grid, .converter-grid { grid-template-columns: 1fr; }
  .app-card, .tool-card { grid-template-columns: 45px minmax(0, 1fr) 16px; gap: 14px; min-height: 91px; padding: 13px 15px; }
  .app-card .tool-icon, .tool-card .tool-icon { width: 45px; }
  .app-card .tool-icon .icon, .tool-card .tool-icon .icon { width: 44px; height: 47px; }
  .app-card .card-chevron, .tool-card .card-chevron { display: block; }
  .tool-copy strong, .tool-card .tool-copy strong { font-size: 16px; }
  .tool-copy > span, .tool-card .tool-copy > span { font-size: 12px; }
  .category-card { padding-inline: 17px; }
}

@media (max-width: 359px) {
  .brand-name { font-size: 18px; }
  .header-actions { gap: 0; }
  .theme-button { width: 31px; padding: 5px; }
  .nav { font-size: 11px; }
  .home-hero h1 { font-size: 22px; }
  .category-card { grid-template-columns: 46px minmax(0, 1fr) 16px; gap: 12px; padding-inline: 14px; }
  .category-icon .icon { width: 46px; height: 46px; }
  .category-name { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Mini apps use compact, colored application tiles; tool and navigation icons stay simple. */
.app-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--app-tile);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .22), 0 2px 3px rgb(32 39 49 / .08);
}
.app-icon .icon { width: 36px; height: 36px; stroke-width: 1.9; }
.app-icon--roulette { --app-tile: #fff0d9; }
.app-icon--catalog { --app-tile: #fff7e9; }
.app-launcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10%;
  width: 70%;
  height: 70%;
}
.app-launcher > span { border-radius: 26%; box-shadow: inset 0 1px 1px rgb(255 255 255 / .22); }
.app-launcher > span:nth-child(1) { background: linear-gradient(145deg, #ed9746, #d2681d); }
.app-launcher > span:nth-child(2) { background: linear-gradient(145deg, #8b68df, #6744b0); }
.app-launcher > span:nth-child(3) { background: linear-gradient(145deg, #51b88e, #248665); }
.app-launcher > span:nth-child(4) { background: linear-gradient(145deg, #69a9ef, #3678ca); }
.app-icon--amidakuji { --app-tile: linear-gradient(145deg, #8b68df, #6744b0); }
.app-icon--warikan { --app-tile: linear-gradient(145deg, #ed9746, #d2681d); }
.app-icon--timer { --app-tile: linear-gradient(145deg, #ed7969, #cb4b49); }
.app-icon--group { --app-tile: linear-gradient(145deg, #51b88e, #248665); }
.app-icon--wareki { --app-tile: linear-gradient(145deg, #69a9ef, #3678ca); }
.roulette-disc {
  position: absolute;
  width: 72%;
  height: 72%;
  border: 2px solid #fffaf0;
  border-radius: 50%;
  background: conic-gradient(#ed7767 0deg 60deg, #efb83b 60deg 120deg, #58ac8e 120deg 180deg, #5696d5 180deg 240deg, #9876c4 240deg 300deg, #ed9455 300deg 360deg);
  box-shadow: 0 1px 3px rgb(101 66 28 / .22);
}
.roulette-disc::after { content: ""; position: absolute; inset: 38%; border: 2px solid #fffaf0; border-radius: 50%; background: #945326; }
.roulette-pointer { position: absolute; top: 8%; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 8px solid #945326; }
.category-icon .app-icon { width: 86px; height: 86px; border-radius: 21px; }
@media (max-width: 1199px) {
  .app-card .app-icon { width: 48px; height: 48px; border-radius: 12px; }
  .app-card .app-icon .icon { width: 31px; height: 31px; }
  .category-icon .app-icon { width: 66px; height: 66px; border-radius: 16px; }
}
@media (max-width: 1023px) {
  .category-icon .app-icon { width: 48px; height: 48px; border-radius: 12px; }
}
@media (max-width: 767px) {
  .category-icon .app-icon { width: 56px; height: 56px; border-radius: 14px; }
  .app-card .app-icon { width: 38px; height: 38px; border-radius: 10px; }
  .app-card .app-icon .icon { width: 25px; height: 25px; }
}
@media (max-width: 479px) {
  .app-card .app-icon { width: 45px; height: 45px; border-radius: 11px; }
  .app-card .app-icon .icon { width: 29px; height: 29px; }
}
@media (max-width: 359px) {
  .category-icon .app-icon { width: 46px; height: 46px; border-radius: 12px; }
}
