/* トップ（ガチャの機械）。部品は gacha.css、ここはトップだけの組み方。docs/gacha-design.md */

/* ---------------------------------------------------------------- 回すところ */
.t-hero { display: grid; grid-template-columns: 1fr 470px; gap: 34px; align-items: start; padding-top: 18px; }
.t-who { display: inline-block; background: var(--g-k); color: #fff; font: 800 13px/1.5 var(--g-body); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
.t-h1 { font-size: 62px; }
.t-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.t-stats li {
  background: #fff; border: 3px solid var(--g-k); border-radius: 16px; padding: 6px 14px 8px; box-shadow: 4px 4px 0 var(--g-k);
  display: flex; flex-direction: column; min-width: 112px;
}
.t-stats b { font: 400 24px/1.25 var(--g-head); }
.t-stats b small { font-size: 14px; margin-left: 2px; }
.t-stats li > span { font: 800 12px/1.4 var(--g-body); color: var(--g-mute); }

/* 出た！ */

/* 機械 */
.t-mach { position: relative; width: 100%; container-type: inline-size; }
/*
 * レバー。絵（machine-body.svg）は白い丸だけにして、棒と真ん中の丸をここで重ねて回す。
 * 位置と大きさは絵の座標（940x1410）で: 丸の中心 (470, 990)・棒 330x81・真ん中の丸 140
 */
.t-lever { position: absolute; left: 50%; top: 70.21%; width: 0; height: 0; }
.t-lever-arm { position: absolute; left: 0; top: 0; width: 35.1cqw; height: 35.1cqw; transform: translate(-50%, -50%); }
.t-lever .bar, .t-lever .hub { position: absolute; background: #fefefe; border: 1.3cqw solid var(--g-k); box-sizing: border-box; }
.t-lever .bar { left: 0; right: 0; top: 50%; height: 8.7cqw; transform: translateY(-50%); border-radius: 999px; box-shadow: inset 0 -1.1cqw 0 #dcdcdc; }
.t-lever .hub { left: 50%; top: 50%; width: 14.9cqw; height: 14.9cqw; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: inset -1cqw -1.2cqw 0 #e4e4e4; }
@media (prefers-reduced-motion: no-preference) {
  .t-mach.is-rolling .t-lever-arm { animation: t-lever-turn .65s cubic-bezier(.45, 0, .2, 1.15); }
}
@keyframes t-lever-turn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
/*
 * 機械の絵は2枚の SVG。machine-body.svg（うしろ・影つき）の上に .t-globe のカプセル、その上に machine-front.svg（ガラスの縁・ふた・肩）。
 * .t-globe の位置は絵のガラス（中心 470,477・半径 391）に合わせてある。絵を直すときは両方の SVG とこの値をそろえる。
 */
.t-mach-body { width: 100%; height: auto; display: block; filter: drop-shadow(12px 12px 0 rgba(42, 16, 32, .9)); }
.t-mach-front { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; }
.t-globe { position: absolute; left: 8.4%; top: 6.1%; width: 83.2%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.t-glass { position: absolute; inset: 0; background: radial-gradient(circle at 35% 30%, #fff 0, #eef9ff 45%, #d7eefc 100%); }
.t-shine { position: absolute; left: 12%; top: 8%; width: 30%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, .75); transform: rotate(-30deg); filter: blur(1px); pointer-events: none; }
.t-globe .g-cap { position: absolute; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1); }
.t-mach.is-rolling .t-globe .g-cap:nth-child(odd) { transform: translate(-50%, -62%) rotate(calc(var(--rot, 0deg) + 50deg)); }
.t-mach.is-rolling .t-globe .g-cap:nth-child(even) { transform: translate(-46%, -40%) rotate(calc(var(--rot, 0deg) - 40deg)); }
.t-knob {
  position: absolute; left: 50%; top: 69%; transform: translate(-50%, -50%); background: var(--g-k); color: #fff;
  font: 400 18px/1.3 var(--g-head); padding: 9px 22px; border-radius: 999px; border: 3px solid #fff; white-space: nowrap;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .3); transition: transform .12s, background .12s;
}
.t-knob:hover { background: var(--g-ssr); transform: translate(-50%, -54%); }
.t-knob:active { transform: translate(-50%, -44%); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.t-odds { margin-top: 18px; padding: 14px 18px; box-shadow: 6px 6px 0 var(--g-k); border-radius: 20px; }
.t-odds h2 { font: 400 16px/1.4 var(--g-head); margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.t-odds h2 small { font: 800 11.5px/1.4 var(--g-body); color: var(--g-mute); }
.t-odds li { display: flex; align-items: center; gap: 10px; font: 800 13px/1.5 var(--g-body); padding: 3px 0; }
.t-odds .g-rare { min-width: 50px; justify-content: center; font-size: 12px; padding: 1px 8px; }
.t-odds b { margin-left: auto; color: var(--g-mute); }

/* ---------------------------------------------------------------- ラインナップ */
.t-lineup { padding: 26px; }
.t-search { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.t-search-box {
  flex: 1 1 320px; display: flex; align-items: center; gap: 10px; background: #fff; border: 3px solid var(--g-k);
  border-radius: 999px; padding: 0 18px; box-shadow: 4px 4px 0 var(--g-k);
}
.t-search-icon { width: 18px; height: 18px; border: 3px solid var(--g-k); border-radius: 50%; position: relative; flex: none; }
.t-search-icon::after { content: ''; position: absolute; width: 3px; height: 8px; background: var(--g-k); right: -5px; bottom: -7px; transform: rotate(-45deg); border-radius: 2px; }
.t-search-box input { flex: 1; min-width: 0; border: 0; background: none; font: 800 16px/1.4 var(--g-body); padding: 13px 0; color: var(--g-k); outline: none; }
.t-search-box input::placeholder { color: #a8949e; }
.t-search-box:focus-within { box-shadow: 4px 4px 0 var(--g-k), 0 0 0 4px #fff; }
.t-search-count { font: 400 18px/1.4 var(--g-head); }
.t-search-count:empty { display: none; }
.t-hint { font: 800 13px/1.6 var(--g-body); margin: 14px 0 4px; }
.t-tier { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 3px dashed var(--g-k); }
.t-tier:first-child { border-top: 0; }
.t-tier[hidden] { display: none; }
.t-tier-lb { flex: none; width: 90px; text-align: center; }
.t-tier-lb b { display: block; color: #fff; font: 400 26px/1.4 var(--g-head); border: 3px solid var(--g-k); border-radius: 16px; padding: 4px 0; box-shadow: 3px 3px 0 var(--g-k); background: var(--g-n); }
.t-tier-lb b.g-rare--SSR { background: var(--g-ssr); } .t-tier-lb b.g-rare--SR { background: var(--g-sr); } .t-tier-lb b.g-rare--R { background: var(--g-rr); }
.t-tier-lb small { display: block; font: 800 11px/1.45 var(--g-body); margin-top: 6px; }
.t-tier-lb small br { display: block; }
.t-tier-caps { display: flex; flex-wrap: wrap; gap: 14px 10px; }
.t-tier-caps .app-tile[hidden] { display: none; }
.t-more { text-align: center; margin-top: 18px; }
.t-lineup .g-empty { margin: 10px 0; }

/* ---------------------------------------------------------------- 新しく入った */
.t-fresh { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.t-fresh-card {
  width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 18px 10px 14px; border-radius: 22px; box-shadow: 5px 5px 0 var(--g-k); font: 800 13px/1.4 var(--g-body); text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.t-fresh-card:hover { transform: translate(-3px, -3px) rotate(-1.5deg); box-shadow: 8px 8px 0 var(--g-k); }
.t-new { position: absolute; left: -8px; top: -13px; background: var(--g-y); border: 2.5px solid var(--g-k); border-radius: 999px; padding: 1px 10px; font: 400 12px/1.5 var(--g-head); }
.t-fresh-card img { width: 72px; height: 72px; border-radius: 24%; border: 3px solid var(--g-k); }
.t-fresh-name { overflow-wrap: anywhere; }
.t-fresh-card time { font: 700 11px/1.4 var(--g-body); color: #8a7a82; }

/* ---------------------------------------------------------------- 大当たり */
.t-note { font: 800 14px/1.7 var(--g-body); color: #fff; margin: -8px 0 20px; }
.t-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.t-work { display: flex; flex-direction: column; overflow: hidden; position: relative; }
.t-work-img { display: block; line-height: 0; border-bottom: var(--g-line) solid var(--g-k); }
.t-work-img img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; }
.t-work-badge {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--g-y);
  border: 2.5px solid var(--g-k); border-radius: 999px; padding: 2px 12px 2px 6px; font: 800 12px/1.6 var(--g-body);
}
.t-work-body { padding: 14px 16px 16px; display: block; }
.t-work-name { display: block; font: 400 19px/1.4 var(--g-head); margin-bottom: 8px; }
.t-work-body ul { display: flex; gap: 8px; }
.t-work-body li { flex: 1; background: var(--g-paper); border: 2px solid var(--g-k); border-radius: 12px; padding: 5px 8px; }
.t-work-body li b { display: block; font: 800 14px/1.4 var(--g-body); }
.t-work-body li > span { font: 700 11px/1.4 var(--g-body); color: var(--g-mute); }

/* ---------------------------------------------------------------- 冊子 */
.t-books { grid-template-columns: repeat(4, 1fr); }
.t-books .g-book h3 { font-size: 15px; }

/* ---------------------------------------------------------------- 誰も作らないものを */
.t-mission { margin-top: 80px; padding: 34px 36px; display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; }
.t-mission-char { width: 210px; }
.t-mission h2 { font: 400 32px/1.35 var(--g-head); margin: 10px 0 12px; }
.t-mission p { font: 600 15.5px/1.95 var(--g-body); }
.t-mission blockquote { margin: 18px 0; padding: 14px 20px; background: var(--g-y); border: 3px solid var(--g-k); border-radius: 18px; font: 400 22px/1.5 var(--g-head); box-shadow: 4px 4px 0 var(--g-k); }
.t-mission-sub { color: var(--g-mute); font-size: 14px !important; margin-bottom: 16px; }

/* ---------------------------------------------------------------- 困ったら */
.t-desk { margin-top: 40px; display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: stretch; }
.t-help { padding: 26px; display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.t-help img { width: 140px; }
.t-help h2 { font: 400 26px/1.4 var(--g-head); }
.t-help p { font: 700 14.5px/1.8 var(--g-body); margin: 8px 0 14px; }
.t-place { padding: 26px 24px 22px; margin-top: 0; }
.t-place-tag { position: absolute; left: 20px; top: -15px; background: var(--g-k); color: #fff; font: 400 14px/1.4 var(--g-head); padding: 3px 12px; border-radius: 999px; }
.t-place p { font: 700 14px/1.9 var(--g-body); }

/* ---------------------------------------------------------------- シート */
html.sheet-open { overflow: hidden; }
.app-sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.app-sheet[open] { display: flex; align-items: center; justify-content: center; }
.app-sheet::backdrop { background: rgba(42, 16, 32, .6); }
.app-sheet [hidden] { display: none !important; }
.app-sheet-inner {
  position: relative; width: min(480px, calc(100% - 32px)); max-height: 88dvh; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: 24px 22px 22px; background: var(--g-y); border: var(--g-line) solid var(--g-k); border-radius: 28px; box-shadow: 9px 9px 0 var(--g-k);
  font-family: var(--g-body); color: var(--g-k);
}
.app-sheet-inner:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .app-sheet[open] .app-sheet-inner { animation: g-pop .35s cubic-bezier(.2, .9, .3, 1.2); }
}
.app-sheet-close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--g-k);
  background: #fff; font: 400 22px/1 var(--g-head); color: var(--g-k); box-shadow: 3px 3px 0 var(--g-k);
}
.app-sheet-head { display: flex; align-items: center; gap: 16px; padding-right: 48px; }
.app-sheet-cap { width: 96px; flex: none; }
.app-sheet-cap img.app-sheet-icon { width: 52%; height: 52%; }
.app-sheet-name { font: 400 21px/1.35 var(--g-head); margin: 6px 0 2px; }
.app-sheet-meta { font: 700 12.5px/1.5 var(--g-body); color: #5a4650; }
.app-sheet-head .g-rare:empty { display: none; }
.app-sheet-lp { position: relative; display: block; height: 340px; margin: 18px 0 16px; overflow: hidden; border: 3px solid var(--g-k); border-radius: 20px; background: #fff; box-shadow: 4px 4px 0 var(--g-k); }
.app-sheet-lp img { width: 100%; height: auto; }
.app-sheet-lp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%); }
.app-sheet-lp-more { position: absolute; left: 50%; bottom: 14px; z-index: 1; transform: translateX(-50%); white-space: nowrap; padding: 7px 18px; background: var(--g-k); color: #fff; border-radius: 999px; font: 800 13px/1.4 var(--g-body); }
.app-sheet-shots { display: flex; gap: 10px; margin: 18px -22px 16px 0; padding: 0 22px 8px 0; overflow-x: auto; scroll-snap-type: x mandatory; }
.app-sheet-shots img { flex-shrink: 0; height: 300px; width: auto; max-width: none; border-radius: 16px; border: 3px solid var(--g-k); scroll-snap-align: start; }
.app-sheet-actions { display: grid; gap: 12px; margin-top: 16px; }
.app-sheet-actions .g-btn { width: 100%; }
.app-sheet-help { display: block; margin-top: 16px; padding-top: 14px; border-top: 3px dashed rgba(42, 16, 32, .3); font: 800 14px/1.5 var(--g-body); }
.app-sheet-help:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- 回した結果のポップアップ */
.t-pop { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.t-pop[open] { display: flex; align-items: center; justify-content: center; }
.t-pop::backdrop { background: rgba(42, 16, 32, .6); }
.t-pop-inner {
  position: relative; width: min(420px, calc(100% - 32px)); max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 30px 24px 24px; text-align: center; background: var(--g-y); border: var(--g-line) solid var(--g-k); border-radius: 28px;
  box-shadow: 9px 9px 0 var(--g-k); font-family: var(--g-body); color: var(--g-k);
}
.t-pop-inner:focus { outline: none; }
.t-pop-tag {
  display: inline-block; background: var(--g-k); color: var(--g-y); font: 400 20px/1.4 var(--g-head); padding: 4px 20px; border-radius: 999px;
}
.t-pop-burst { width: 230px; margin: 4px auto 6px; }
/*
 * 蓋は器と同じ幅（閉じた形＝transform なし）。開け方・揺れ方は top-apps.js が回すたびに選んで変数で渡す。
 * 下の値は変数が来なかったときの形（左下を軸に開く・3回揺れる）
 */
.t-pop {
  --shake-name: t-cap-shake; --shake-a: 9deg; --shake-h: 10%; --shake-t: .16s; --shake-n: 3;
  --open-at: .95s; --lid-t: .32s; --lid-origin: 0 100%; --lid-open: translate(-4%, -6%) rotate(-42deg); --icon-rot: -6deg;
}
.t-pop-burst .lid {
  left: 14%; top: 20%; width: 72%; height: 36%; border-width: 5px; border-bottom-width: 0; border-radius: 999px 999px 0 0;
  transform-origin: var(--lid-origin); transform: var(--lid-open);
}
.t-pop-burst .bowl { border-width: 5px; }
.t-pop-burst .icon { z-index: 1; border-width: 5px; box-shadow: none; }
.t-pop-name { font: 400 24px/1.35 var(--g-head); margin: 10px 0 4px; overflow-wrap: anywhere; }
.t-pop-line { font: 700 13.5px/1.7 var(--g-body); color: #5a4650; margin: 0 0 18px; }
.t-pop-actions { display: grid; gap: 10px; }
.t-pop-actions .g-btn { width: 100%; }
/* iPhone で押した瞬間に「コッ」と鳴らすための透明なラベル（top-apps.js の tapTick）。ボタン全体を覆う */
#gachaKnob, #popAgain { position: relative; }
#gachaKnob { position: absolute; }
.t-haptic { position: absolute; inset: 0; border-radius: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.t-haptic input { position: absolute; width: 1px; height: 1px; margin: 0; visibility: hidden; }
/*
 * 出かた（is-pop）: 閉じたカプセルが落ちてくる → ガタガタ揺れる → 蓋が開く → アプリが飛び出す → 名前が出る
 * 回し直し（is-leaving）: 閉じて下へ落ちていく
 */
@media (prefers-reduced-motion: no-preference) {
  .t-pop.is-first .t-pop-inner { animation: g-pop .3s cubic-bezier(.2, .9, .3, 1.2); }
  .t-pop.is-pop .t-pop-burst { animation: t-cap-in .4s cubic-bezier(.3, 1.4, .5, 1) both, var(--shake-name) var(--shake-t) .45s var(--shake-n) ease-in-out; }
  .t-pop.is-pop .t-pop-burst .lid { animation: t-lid-open var(--lid-t) var(--open-at) cubic-bezier(.2, 1.3, .4, 1) both; }
  .t-pop.is-pop .t-pop-burst .rays { animation: t-fade-in .3s calc(var(--open-at) + .05s) both; }
  .t-pop.is-pop .t-pop-burst .icon { animation: t-icon-out .5s calc(var(--open-at) + .1s) cubic-bezier(.2, 1.4, .4, 1) both; }
  .t-pop.is-pop .t-pop-inner > .g-rare,
  .t-pop.is-pop .t-pop-name,
  .t-pop.is-pop .t-pop-line { animation: t-text-in .35s calc(var(--open-at) + .45s) both; }
  .t-pop.is-pop .t-pop-burst[data-rare="SSR"] .rays, .t-pop.is-pop .t-pop-burst[data-rare="SR"] .rays { animation: t-fade-in .3s calc(var(--open-at) + .05s) both, t-pop-spin 9s var(--open-at) linear infinite; }
  /* もう1回まわす: アイコンが器に戻り、蓋が閉まり、カプセルが下へ落ちていく。そのあと次のカプセルが is-pop で上から来る */
  .t-pop.is-leaving .t-pop-burst { animation: t-cap-out .3s .22s ease-in both; }
  .t-pop.is-leaving .t-pop-burst .icon { animation: t-icon-in .22s ease-in both; }
  .t-pop.is-leaving .t-pop-burst .lid { transform: none; transition: transform .2s ease-in; }
  .t-pop.is-leaving .t-pop-burst .rays { opacity: 0; transition: opacity .15s; }
  .t-pop.is-leaving .t-pop-name, .t-pop.is-leaving .t-pop-line, .t-pop.is-leaving .t-pop-inner > .g-rare { opacity: 0; transition: opacity .15s; }
}
/* SSR は光の筋を濃く */
.t-pop-burst[data-rare="SSR"] .rays { background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .95) 0 8deg, transparent 8deg 20deg); }
@keyframes t-cap-in { 0% { transform: translateY(-60%) scale(.6); opacity: 0; } 70% { transform: translateY(4%) scale(1.04); opacity: 1; } 100% { transform: none; } }
@keyframes t-cap-shake { 0%, 100% { rotate: 0deg; } 25% { rotate: calc(var(--shake-a) * -1); } 75% { rotate: var(--shake-a); } }
@keyframes t-cap-hop { 0%, 100% { translate: 0 0; scale: 1 1; } 15% { scale: 1.08 .92; } 50% { translate: 0 calc(var(--shake-h) * -1); scale: .96 1.05; rotate: calc(var(--shake-a) * .4); } 85% { translate: 0 0; scale: 1.06 .94; rotate: 0deg; } }
@keyframes t-cap-twist { 0%, 100% { rotate: 0deg; scale: 1; } 30% { rotate: var(--shake-a); scale: 1.05; } 60% { rotate: calc(var(--shake-a) * -.6); scale: .97; } }
@keyframes t-lid-open { 0% { transform: none; } 100% { transform: var(--lid-open); } }
@keyframes t-icon-out { 0% { transform: translate(-50%, 30%) scale(.3); opacity: 0; } 100% { transform: translate(-50%, -50%) rotate(var(--icon-rot)); opacity: 1; } }
@keyframes t-cap-out { from { transform: none; opacity: 1; } to { transform: translateY(55%) scale(.85); opacity: 0; } }
@keyframes t-icon-in { from { transform: translate(-50%, -50%) rotate(var(--icon-rot)); opacity: 1; } to { transform: translate(-50%, 30%) scale(.3); opacity: 0; } }
@keyframes t-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes t-text-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes t-pop-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- 幅ごと */
@media (max-width: 1100px) {
  .t-hero { grid-template-columns: 1fr 400px; }
  .t-h1 { font-size: 50px; }
  .t-works { grid-template-columns: repeat(2, 1fr); }
  .t-fresh { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .t-hero { grid-template-columns: 1fr; }
  .t-hero-side { max-width: 420px; width: 100%; margin: 0 auto; }
  .t-books { grid-template-columns: repeat(2, 1fr); }
  .t-desk { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .t-hero { gap: 22px; padding-top: 8px; }
  .t-who { font-size: 12px; }
  .t-h1 { font-size: 34px; }
  .t-stats { gap: 8px; }
  .t-stats li { min-width: 0; flex: 1 1 0; padding: 5px 9px 6px; border-radius: 14px; }
  .t-stats b { font-size: 19px; }
  .t-stats li > span { font-size: 10.5px; white-space: nowrap; }
  .t-hero-side { max-width: 340px; }
  .t-knob { font-size: 15px; padding: 7px 16px; }
  .t-lineup { padding: 16px 14px; }
  .t-tier { flex-direction: column; gap: 10px; padding: 14px 0; }
  .t-tier-lb { width: auto; display: flex; gap: 10px; align-items: center; }
  .t-tier-lb b { font-size: 18px; padding: 1px 14px; }
  .t-tier-lb small { margin: 0; }
  .t-tier-lb small br { display: none; }
  .t-tier-caps { gap: 12px 4px; justify-content: flex-start; }
  .t-tier-caps .g-mini { width: 74px; }
  .t-tier-caps .g-mini .g-cap { width: 60px; }
  .t-tiers:not(.is-searching) .app-tile.is-extra { display: none; }
  .t-fresh { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .t-works { grid-template-columns: 1fr; gap: 18px; }
  .t-books { grid-template-columns: 1fr; }
  .t-mission { grid-template-columns: 1fr; padding: 22px 18px; gap: 6px; margin-top: 56px; }
  .t-mission-char { width: 120px; }
  .t-mission h2 { font-size: 23px; }
  .t-mission blockquote { font-size: 18px; }
  .t-help { grid-template-columns: 1fr; padding: 20px; gap: 8px; }
  .t-help img { width: 96px; }
  .t-help h2 { font-size: 21px; }
  .t-pop-burst { width: 190px; }
  .t-pop-inner { padding: 26px 18px 20px; }
  .t-pop-name { font-size: 21px; }
  .app-sheet[open] { align-items: flex-end; }
  .app-sheet-inner { width: 100%; border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: none; max-height: 90dvh; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
