/* デスクトップOS風シェル（PC専用） */
:root {
  --ui: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --hand: "Zen Kurenaido", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --win-bg: #f6f6f9;
  --win-line: #d9d9e3;
  --ink: #1d1d27;
  --ink-2: #5d5d70;
  --ink-3: #8c8ca0;
  --blue: #2f6bff;
  --blue-soft: #e6eeff;
  --danger: #d6334a;
  --bar-h: 48px;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { font: 13px/1.6 var(--ui); color: var(--ink); background: #10122b; user-select: none; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
[hidden] { display: none !important; }

#pc-only { display: none; position: fixed; inset: 0; z-index: 9999; background: #10122b; color: #fff; place-items: center; text-align: center; padding: 24px; }
#pc-only strong { font-size: 18px; }
#pc-only p { color: #b9bbd6; }
@media (max-width: 899px) { #pc-only { display: grid; } }

/* 起動画面 */
#boot { position: fixed; inset: 0; z-index: 9000; background: #07080f; display: grid; place-content: center; gap: 36px; justify-items: center; transition: opacity .7s; }
#boot.out { opacity: 0; pointer-events: none; }
.boot-mark { display: grid; grid-template-columns: 22px 22px; gap: 6px; }
.boot-mark i { width: 22px; height: 22px; border-radius: 6px; background: #fff; opacity: .15; animation: bootDot 1.2s infinite; }
.boot-mark i:nth-child(2) { animation-delay: .15s; } .boot-mark i:nth-child(4) { animation-delay: .3s; } .boot-mark i:nth-child(3) { animation-delay: .45s; }
@keyframes bootDot { 0%, 100% { opacity: .15; } 40% { opacity: .95; } }
.boot-bar { width: 160px; height: 3px; border-radius: 3px; background: #ffffff22; overflow: hidden; }
.boot-bar b { display: block; height: 100%; width: 0; background: #fff; animation: bootBar 1.9s cubic-bezier(.3,.1,.2,1) forwards; }
@keyframes bootBar { to { width: 100%; } }

/* デスクトップ */
#desktop { position: fixed; inset: 0 0 var(--bar-h) 0; overflow: hidden; overflow: clip; }
#wallpaper { position: absolute; inset: 0; background:
  radial-gradient(60% 45% at 78% 88%, #ffb98a 0%, transparent 70%),
  linear-gradient(180deg, #141a4a 0%, #2c3182 38%, #6f55a6 68%, #e58aa0 88%, #ffc49a 100%); }
.hill { position: absolute; left: -10%; right: -10%; bottom: -1px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.h1 { height: 30%; background: #4a3c86; left: -35%; right: 30%; opacity: .9; }
.h2 { height: 22%; background: #33295f; left: 25%; right: -30%; }
.h3 { height: 12%; background: #1f1a3f; }
.moon { position: absolute; top: 12%; left: 68%; width: 54px; height: 54px; border-radius: 50%; background: #fff4dc; box-shadow: 0 0 60px 18px #fff4dc55; }

#icons { position: absolute; top: 18px; left: 14px; display: grid; gap: 6px; }
.dicon { width: 84px; padding: 8px 4px 6px; display: grid; justify-items: center; gap: 4px; background: none; border: 1px solid transparent; border-radius: 8px; color: #fff; }
.dicon svg { width: 44px; height: 44px; filter: drop-shadow(0 3px 6px #0006); }
.dicon em { font-style: normal; font-size: 12px; text-shadow: 0 1px 3px #000c; }
.dicon:hover { background: #ffffff1c; }
.dicon:focus { background: #ffffff2e; border-color: #ffffff55; outline: none; }

#sticky { position: absolute; top: 26px; right: 30px; width: 210px; padding: 14px 16px 18px; background: #ffe98a; color: #3d3415; font: 17px/1.55 var(--hand); transform: rotate(1.6deg); box-shadow: 0 10px 22px #0005, inset 0 -18px 18px -18px #0002; }
#sticky::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: #ffffff8c; transform: rotate(-2deg); }
#sticky b { display: block; font-weight: 400; border-bottom: 1px dashed #3d341555; margin-bottom: 6px; }
#sticky s { opacity: .55; }
#sticky u { text-decoration-color: #d6334a; text-decoration-thickness: 2px; text-underline-offset: 3px; }
#sticky .paid { margin-top: 8px; font-size: 15px; }
#sticky .paid strong { font-size: 20px; color: #b3202f; font-weight: 400; }

#windows { position: absolute; inset: 0; pointer-events: none; }
#windows > * { pointer-events: auto; }

/* ウィンドウ */
.win { position: absolute; display: flex; flex-direction: column; background: var(--win-bg); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px #0000002e, 0 22px 60px #0000007a, 0 4px 14px #0000004d; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .2s, visibility 0s; transform-origin: 50% 100%; }
.win.opening { animation: winIn .24s cubic-bezier(.2,.9,.25,1.05); }
.win.closing { animation: winOut .16s ease-in forwards; pointer-events: none; }
.win.min { transform: translateY(40vh) scale(.35); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .24s ease-in, opacity .2s, visibility 0s .24s; }
.win.max { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0; }
.win.blur { box-shadow: 0 0 0 1px #00000026, 0 10px 30px #00000055; }
.win.blur .win-bar { background: #ececf2; color: var(--ink-3); }
@keyframes winIn { from { transform: scale(.9) translateY(18px); opacity: 0; } }
@keyframes winOut { to { transform: scale(.94); opacity: 0; } }
.win-bar { flex: none; height: 36px; display: flex; align-items: center; gap: 8px; padding-left: 10px; background: #e3e4ee; cursor: default; }
.win-ico svg { width: 18px; height: 18px; display: block; }
.win-title { flex: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-ctl { display: flex; height: 100%; }
.win-ctl button { width: 44px; height: 100%; border: 0; background: none; display: grid; place-items: center; }
.win-ctl button:hover { background: #00000014; }
.win-ctl button.x:hover { background: #e23b4e; color: #fff; }
.win-ctl svg { width: 10px; height: 10px; }
.win-body { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }

/* タスクバー */
#taskbar { position: fixed; left: 0; right: 0; bottom: 0; height: var(--bar-h); z-index: 500; display: flex; align-items: center; gap: 6px; padding: 0 12px 0 8px; background: #14152cd9; backdrop-filter: blur(18px) saturate(1.4); color: #fff; border-top: 1px solid #ffffff1c; }
.tb-launch { width: 40px; height: 38px; border: 0; border-radius: 8px; background: none; display: grid; grid-template-columns: 7px 7px; gap: 3px; place-content: center; }
.tb-launch i { width: 7px; height: 7px; border-radius: 2px; background: #8fb1ff; }
.tb-launch i:nth-child(2) { background: #ff9ab8; } .tb-launch i:nth-child(3) { background: #ffd27a; } .tb-launch i:nth-child(4) { background: #8fe3c0; }
.tb-launch:hover, .tb-app:hover { background: #ffffff1a; }
#tb-apps { display: flex; gap: 4px; flex: 1; }
.tb-app { position: relative; width: 44px; height: 38px; border: 0; border-radius: 8px; background: none; display: grid; place-items: center; }
.tb-app svg { width: 26px; height: 26px; display: block; transition: transform .15s; }
.tb-app:active svg { transform: scale(.86); }
.tb-app::after { content: ""; position: absolute; bottom: 2px; left: 50%; width: 0; height: 3px; margin-left: 0; border-radius: 3px; background: #b9c4e6; transition: width .2s, margin .2s, background .2s; }
.tb-app.open::after { width: 6px; margin-left: -3px; }
.tb-app.active { background: #ffffff1f; }
.tb-app.active::after { width: 18px; margin-left: -9px; background: #7fa6ff; }
.tb-badge { position: absolute; top: 1px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff4864; font: 700 10px/16px var(--ui); font-style: normal; text-align: center; animation: pop .3s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(0); } }
.tb-tray { display: flex; align-items: center; gap: 12px; color: #dfe3f7; }
.tb-clock { display: grid; text-align: right; line-height: 1.25; font-variant-numeric: tabular-nums; padding: 2px 6px; border-radius: 6px; }
.tb-clock b { font-weight: 500; font-size: 12.5px; }
.tb-clock span { font-size: 11px; color: #b4b9d6; }
.tb-clock.urgent b { color: #ff6f85; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .45; } }

/* 通知トースト */
#toasts { position: absolute; right: 14px; bottom: 14px; z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast { width: 440px; display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 0; text-align: left; border-radius: 10px; background: #23253ff2; color: #fff; box-shadow: 0 12px 32px #0008; backdrop-filter: blur(14px); animation: toastIn .38s cubic-bezier(.2,.9,.2,1); transition: transform .3s, opacity .3s; }
.toast.out { transform: translateX(120%); opacity: 0; }
.toast svg { width: 40px; height: 40px; flex: none; }
.toast small { display: block; color: #a9aecf; font-size: 12.5px; }
.toast b { display: block; font-size: 16px; font-weight: 700; }
.toast span { display: block; font-size: 14px; line-height: 1.55; color: #d5d8ee; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.toast:hover { background: #2d3052; }
@keyframes toastIn { from { transform: translateX(110%); } }

/* 心の声 */
#caption { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 450; padding: 10px 22px; border-radius: 8px; background: #000000b8; color: #fff; font-size: 16px; letter-spacing: .06em; white-space: nowrap; animation: fadeUp .3s; pointer-events: none; }
@keyframes fadeUp { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ダイアログ */
#modal { position: absolute; inset: 0; z-index: 480; background: #0b0c1a80; display: grid; place-items: center; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.dialog { width: 440px; background: var(--win-bg); border-radius: 12px; box-shadow: 0 30px 80px #000a; overflow: hidden; animation: winIn .3s cubic-bezier(.2,.9,.25,1.05); }
.dialog header { padding: 10px 16px; background: #e3e4ee; font-size: 12px; color: var(--ink-2); }
.dialog .dlg-main { padding: 22px 24px 8px; display: flex; gap: 16px; }
.dialog .dlg-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 22px var(--ui); }
.dialog h2 { margin: 0 0 6px; font-size: 18px; }
.dialog ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 12.5px; }
.dialog footer { padding: 14px 20px 18px; display: flex; justify-content: flex-end; }
.os-btn { padding: 7px 26px; border-radius: 7px; border: 1px solid #1f55e0; background: var(--blue); color: #fff; font-weight: 500; }
.os-btn:hover { filter: brightness(1.08); }
.os-btn:focus-visible { outline: 2px solid #9db9ff; outline-offset: 2px; }

/* メール */
.mail { flex: 1; min-height: 0; display: grid; grid-template-columns: 150px 270px 1fr; background: #fff; }
.mail-side { background: #eef0f7; padding: 12px 8px; display: grid; align-content: start; gap: 2px; border-right: 1px solid var(--win-line); }
.mail-side .compose { margin-bottom: 10px; padding: 8px; border-radius: 8px; border: 0; background: var(--blue); color: #fff; font-weight: 500; }
.mail-side .fold { padding: 6px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); display: flex; justify-content: space-between; text-align: left; }
.mail-side .fold:hover { background: #e2e6f3; }
.mail-side .fold.on { background: #dbe4fb; color: #173fae; font-weight: 700; }
.mail-list { overflow: auto; border-right: 1px solid var(--win-line); }
.mail-item { position: relative; display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #eeeef3; background: #fff; padding: 10px 12px 10px 22px; }
.mail-item.new { animation: mailNew .7s; }
@keyframes mailNew { from { background: #dfe9ff; transform: translateY(-100%); } }
.mail-item:hover { background: #f5f7fd; }
.mail-item.sel { background: var(--blue-soft); }
.mail-item .from { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.mail-item .from time { color: var(--ink-3); font-size: 11px; flex: none; }
.mail-item .subj { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-item .snip { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-item.unread .from b, .mail-item.unread .subj { font-weight: 700; }
.mail-item.unread::before { content: ""; position: absolute; left: 8px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.mail-item .from b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-view { overflow: auto; user-select: text; }
.mail-empty { height: 100%; display: grid; place-items: center; color: var(--ink-3); }
.mail-open { padding: 20px 26px 40px; animation: fade .25s; }
.mail-open h1 { margin: 0 0 14px; font-size: 18px; line-height: 1.4; }
.mail-meta { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid #ececf2; margin-bottom: 18px; }
.mail-meta .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.mail-meta div { flex: 1; min-width: 0; line-height: 1.4; }
.mail-meta small { color: var(--ink-3); display: block; }
.mail-meta time { color: var(--ink-3); font-size: 11.5px; }
.plainmail { font-size: 13.5px; line-height: 1.9; white-space: pre-wrap; }

/* メモ */
.memo { flex: 1; min-height: 0; display: grid; grid-template-columns: 130px 1fr; background: #fffdf2; }
.memo nav { background: #f4efd9; border-right: 1px solid #e4dcbb; padding: 8px 6px; display: grid; align-content: start; gap: 2px; }
.memo nav button { text-align: left; border: 0; background: none; padding: 7px 10px; border-radius: 6px; }
.memo nav button.on { background: #f2d769; font-weight: 700; }
.memo pre { margin: 0; padding: 16px 18px; font: 13.5px/2 var(--ui); white-space: pre-wrap; user-select: text; overflow: auto; }

/* スマホ連携 */
.phone { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #eef0f6; }
.phone-head { padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--win-line); line-height: 1.4; }
.phone-head small { color: var(--ink-3); display: block; user-select: text; }
.phone-list { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-list .none { margin: auto; color: var(--ink-3); }
.sms { max-width: 88%; align-self: flex-start; background: #fff; padding: 9px 12px; border-radius: 4px 14px 14px 14px; box-shadow: 0 1px 2px #0002; white-space: pre-wrap; user-select: text; animation: smsIn .35s cubic-bezier(.2,.9,.3,1.2); }
.sms small { display: block; color: var(--ink-3); font-size: 10.5px; }
@keyframes smsIn { from { transform: translateY(14px) scale(.9); opacity: 0; } }

/* ブラウザ */
.browser { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.b-tabs { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 36px; padding: 0 8px; background: #dcdde8; overflow: hidden; }
.b-tab { flex: 0 1 210px; min-width: 60px; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 12px; border-radius: 8px 8px 0 0; font-size: 12px; color: var(--ink-2); cursor: default; animation: tabIn .18s ease-out; }
@keyframes tabIn { from { flex-basis: 0; opacity: 0; } }
.b-tab:hover { background: #ffffff70; }
.b-tab.on { background: #fff; color: var(--ink); }
.b-tab i { width: 12px; height: 12px; border-radius: 50%; flex: none; background: #c5c7d6; }
.b-tab.loading i { border: 2px solid #c5c7d6; border-top-color: var(--blue); background: none; animation: spin .7s linear infinite; }
.b-tab span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-tab button { width: 18px; height: 18px; border: 0; border-radius: 50%; background: none; color: var(--ink-3); font-size: 13px; line-height: 1; flex: none; }
.b-tab button:hover { background: #00000018; color: var(--ink); }
.b-tab-plus { width: 28px; height: 28px; margin: 0 0 2px 2px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font-size: 17px; line-height: 1; }
.b-tab-plus:hover:not(:disabled) { background: #00000014; }
.b-tab-plus:disabled { opacity: .3; }
@keyframes spin { to { transform: rotate(360deg); } }
.b-bar { flex: none; display: flex; align-items: center; gap: 4px; padding: 6px 10px; border-bottom: 1px solid var(--win-line); position: relative; }
.b-bar button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink-2); }
.b-bar button:hover:not(:disabled) { background: #0000000f; }
.b-bar button:disabled { opacity: .3; cursor: default; }
.b-bar button svg { width: 16px; height: 16px; }
.b-url { flex: 1; display: flex; align-items: center; gap: 8px; height: 32px; margin-left: 4px; padding: 0 14px; border-radius: 16px; background: #eff0f6; border: 2px solid transparent; }
.b-url:focus-within { background: #fff; border-color: var(--blue); }
.b-url input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 12.5px; color: var(--ink); user-select: text; }
.b-url span { display: flex; }
.b-views { flex: 1; min-height: 0; position: relative; display: flex; }
.b-views .b-view { flex: 1; min-width: 0; }
.b-url svg { width: 12px; height: 12px; flex: none; color: #2f9e62; }
.b-url b { color: var(--ink); font-weight: 400; }
.b-prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--blue); opacity: 0; }
.b-prog.run { opacity: 1; width: 82%; transition: width 1.4s cubic-bezier(.1,.7,.2,1); }
.b-prog.end { opacity: 0; width: 100%; transition: width .15s, opacity .3s .15s; }
.b-view { flex: 1; min-height: 0; overflow: auto; position: relative; background: #fff; transition: opacity .15s; }
.b-view.loading { opacity: .45; pointer-events: none; }
.b-view > * { animation: pageIn .28s ease-out; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }

.newtab { min-height: 100%; display: grid; place-content: center; justify-items: center; gap: 30px; background: #f5f6fb; padding: 30px; }
.newtab h1 { margin: 0; font: 700 34px var(--ui); letter-spacing: -.02em; color: #3b4170; }
.newtab h1 span { color: var(--blue); }
.newtab input { width: 460px; height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid #d5d7e6; outline: none; background: #fff; }
.newtab input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2f6bff22; }
.tiles { display: flex; gap: 18px; }
.tile { width: 92px; display: grid; justify-items: center; gap: 8px; border: 0; background: none; padding: 10px 4px; border-radius: 10px; font-size: 12px; color: var(--ink-2); }
.tile:hover { background: #e9ebf5; }
.tile i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font: 800 18px "M PLUS Rounded 1c", var(--ui); font-style: normal; }
.offline { min-height: 100%; display: grid; place-content: center; gap: 8px; padding: 40px; color: var(--ink-2); }
.offline h1 { font-size: 20px; margin: 0; color: var(--ink); }
.offline code { color: var(--ink-3); }

/* 結果オーバーレイ */
#overlay { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; background: #06060dd9; backdrop-filter: blur(6px); color: #fff; animation: fade .5s; }
#overlay.black { background: #000; backdrop-filter: none; }
.res { width: 560px; text-align: center; animation: resIn .5s cubic-bezier(.2,.9,.2,1); }
@keyframes resIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.res .stamp { display: inline-block; padding: 6px 22px; border: 3px solid #ff5d73; color: #ff5d73; border-radius: 8px; font: 800 30px "M PLUS Rounded 1c", var(--ui); transform: rotate(-4deg); animation: stamp .45s cubic-bezier(.3,1.7,.4,1) .2s both; }
.res.ok .stamp { border-color: #6fe3a8; color: #6fe3a8; }
@keyframes stamp { from { transform: rotate(-4deg) scale(2.4); opacity: 0; } }
.res .got { margin: 26px 0 6px; color: #a9aecf; font-size: 12px; }
.res .subj { font-size: 15px; padding: 10px 16px; background: #ffffff12; border-radius: 8px; display: inline-block; }
.res .lesson { margin: 22px auto 0; max-width: 460px; text-align: left; padding: 14px 18px; border-left: 3px solid #ffd27a; background: #ffffff0d; border-radius: 0 8px 8px 0; }
.res .lesson b { display: block; color: #ffd27a; }
.res .paid { margin-top: 24px; font-size: 13px; color: #c9cde6; }
.res .paid strong { display: block; font: 800 44px "M PLUS Rounded 1c", var(--ui); color: #fff; font-variant-numeric: tabular-nums; }
.res .go { margin-top: 26px; padding: 12px 34px; border-radius: 26px; border: 0; background: #fff; color: #14152c; font-weight: 700; font-size: 14px; }
.res .go:hover { transform: translateY(-1px); box-shadow: 0 8px 24px #fff3; }
.res .go.sub { background: none; color: #fff; border: 1px solid #ffffff55; margin-left: 10px; }
.res dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 0; }
.res dl div { background: #ffffff10; border-radius: 10px; padding: 14px 8px; }
.res dt { font-size: 11.5px; color: #a9aecf; }
.res dd { margin: 2px 0 0; font: 800 24px "M PLUS Rounded 1c", var(--ui); font-variant-numeric: tabular-nums; }
.res .traps { margin-top: 18px; font-size: 12.5px; color: #c9cde6; }
.res .traps span { display: inline-block; margin: 3px; padding: 2px 10px; border-radius: 12px; background: #ff5d7326; color: #ffa3b1; }
.year { font: 500 26px var(--ui); letter-spacing: .4em; animation: yearIn 2.2s both; }
@keyframes yearIn { 0% { opacity: 0; letter-spacing: .1em; } 30%, 75% { opacity: 1; } 100% { opacity: 0; letter-spacing: .5em; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; } }

/* スマホ連携：タブと電話 */
.phone-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; border-bottom: 1px solid var(--win-line); }
.phone-tabs button { border: 0; background: none; padding: 9px 0; color: var(--ink-3); border-bottom: 2px solid transparent; }
.phone-tabs button.on { color: #6a45d8; border-color: #8a63f0; font-weight: 700; }
.phone-tabs i { display: inline-block; min-width: 16px; margin-left: 6px; padding: 0 4px; border-radius: 8px; background: #ff4864; color: #fff; font: 700 10px/16px var(--ui); font-style: normal; }
.tel { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 20px 18px; }
.tel-num { height: 40px; font-size: 24px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.tel-num span { font-size: 14px; color: var(--ink-3); letter-spacing: 0; line-height: 40px; }
.keys { display: grid; grid-template-columns: repeat(3, 58px); gap: 10px 18px; }
.keys button { height: 50px; border-radius: 25px; border: 0; background: #fff; font-size: 20px; box-shadow: 0 1px 2px #0002; transition: transform .08s, background .1s; }
.keys button:active { transform: scale(.9); background: #dcd3fb; }
.tel-act { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.tel .dial, .tel .hang { width: 120px; height: 44px; border-radius: 22px; border: 0; color: #fff; font-weight: 700; background: #22b573; }
.tel .hang { background: #e23b4e; margin-top: 2px; }
.tel .bs { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; font-size: 18px; color: var(--ink-2); }
.tel.calling { background: #1d1b33; color: #fff; gap: 10px; padding-top: 14px; animation: fade .3s; }
.tel.calling .keys button { background: #ffffff1c; color: #fff; box-shadow: none; }
.call-who { text-align: center; line-height: 1.4; }
.call-who small { display: block; color: #b4b9d6; font-variant-numeric: tabular-nums; }
.call-log { flex: 1; min-height: 60px; width: 100%; overflow: auto; padding: 8px 10px; border-radius: 10px; background: #ffffff10; font-size: 12px; line-height: 1.6; }
.call-log p { margin: 0 0 6px; color: #9ea3c4; animation: fade .3s; }
.call-log p:last-child { color: #fff; }
.call-log .ring { animation: blink 1.2s steps(2) infinite; }

/* 検索結果とブログ */
.serp { min-height: 100%; padding: 22px 34px 40px; background: #fff; user-select: text; }
.serp header { display: flex; align-items: center; gap: 22px; padding-bottom: 18px; border-bottom: 1px solid #ececf2; }
.serp h1 { margin: 0; font: 700 24px var(--ui); color: #3b4170; }
.serp h1 span { color: var(--blue); }
.serp input { width: 480px; height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid #d5d7e6; outline: none; }
.serp-count { color: var(--ink-3); font-size: 12px; margin: 14px 0 6px; }
.serp-item { max-width: 620px; padding: 12px 0; }
.serp-item small { display: block; color: var(--ink-2); font-size: 12px; }
.serp-item small b { margin-right: 8px; color: var(--ink); }
.serp-item a { font-size: 17px; color: #1a3fb8; text-decoration: none; }
.serp-item a:hover { text-decoration: underline; }
.serp-item p { margin: 2px 0 0; color: var(--ink-2); font-size: 12.5px; }
.blog { max-width: 640px; margin: 0 auto; padding: 30px 30px 60px; font-size: 14px; line-height: 2; user-select: text; }
.blog h1 { font-size: 22px; line-height: 1.5; margin: 6px 0 18px; }
.blog h2 { font-size: 16px; margin: 28px 0 6px; padding: 6px 12px; border-left: 4px solid #19b88a; background: #f1f8f5; }
.blog small { color: var(--ink-3); }
.blog-ad { margin: 20px 0; padding: 14px 18px; border: 2px solid #ffb44a; border-radius: 10px; background: #fff8ea; line-height: 1.6; }
.blog-ad p { margin: 4px 0 8px; }
.blog-ad a { display: inline-block; padding: 6px 18px; border-radius: 18px; background: #ff7a45; color: #fff; font-weight: 700; text-decoration: none; }

/* 図鑑 */
.dex { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fbf7ef; }
.dex header { flex: none; display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #e8dfcc; line-height: 1.4; }
.dex header div { flex: 1; }
.dex header b { font: 800 17px "M PLUS Rounded 1c", var(--ui); display: block; }
.dex header small { color: var(--ink-3); }
.dex header strong { font: 800 26px "M PLUS Rounded 1c", var(--ui); color: #e2574c; }
.dex header strong small { font-size: 13px; }
.dex-grid { flex: 1; overflow: auto; padding: 16px 20px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.dex article { padding: 12px 14px 14px; border-radius: 10px; background: #fff; border: 1px solid #e8dfcc; display: flex; flex-direction: column; gap: 4px; animation: fade .3s; }
.dex article small { color: var(--ink-3); font-size: 10.5px; }
.dex article h3 { margin: 0; font: 700 14px/1.4 "M PLUS Rounded 1c", var(--ui); }
.dex article p { margin: 0; font-size: 11.5px; line-height: 1.7; color: var(--ink-2); flex: 1; }
.dex article em { font-style: normal; font-size: 11px; color: #1f9d68; }
.dex article.fell { border-color: #f1b3ad; }
.dex article.fell em { color: #d6334a; }
.dex article.lock { background: #f1ebde; border-style: dashed; color: var(--ink-3); }
.res .lesson small { display: block; margin-top: 6px; color: #a9aecf; font-size: 11px; }
.res .go { margin-left: 4px; margin-right: 4px; }
.tel.calling .keys { gap: 8px 18px; }
.tel.calling .keys button { height: 44px; }
.tel .hang { flex: none; }

/* リサイズ用のつまみ */
.rz { position: absolute; z-index: 20; }
.rz-n, .rz-s { left: 8px; right: 8px; height: 6px; cursor: ns-resize; } .rz-n { top: -2px; } .rz-s { bottom: -2px; }
.rz-e, .rz-w { top: 8px; bottom: 8px; width: 6px; cursor: ew-resize; } .rz-e { right: -2px; } .rz-w { left: -2px; }
.rz-ne, .rz-nw, .rz-se, .rz-sw { width: 12px; height: 12px; }
.rz-ne { top: -2px; right: -2px; cursor: nesw-resize; } .rz-sw { bottom: -2px; left: -2px; cursor: nesw-resize; }
.rz-nw { top: -2px; left: -2px; cursor: nwse-resize; } .rz-se { bottom: -2px; right: -2px; cursor: nwse-resize; }
.win.max .rz { display: none; }
/* 幅が狭いときのメール */
.mail { container-type: inline-size; }
/* ランチャー */
#launcher { position: fixed; left: 8px; bottom: calc(var(--bar-h) + 8px); z-index: 600; width: 250px; padding: 10px 8px; border-radius: 12px; background: #1b1c36f2; backdrop-filter: blur(18px); color: #fff; box-shadow: 0 18px 50px #000a; display: grid; gap: 2px; animation: launchIn .18s ease-out; }
@keyframes launchIn { from { opacity: 0; transform: translateY(10px); } }
#launcher small { padding: 2px 10px 6px; color: #a9aecf; font-size: 11px; }
#launcher button { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: #fff; text-align: left; }
#launcher button:hover { background: #ffffff1a; }
#launcher button span { width: 22px; height: 22px; display: block; }
#launcher svg { width: 22px; height: 22px; }
#launcher hr { width: 100%; border: 0; border-top: 1px solid #ffffff1c; margin: 6px 0; }

/* スマホの中のMotiTVアプリ */
.mapp { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #120f1a; color: #f5f1fb; }
.mapp header { display: flex; align-items: center; gap: 8px; padding: 12px 12px; border-bottom: 1px solid #ffffff14; font-size: 14px; }
.mapp header button { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #ffffff14; color: #fff; font-size: 16px; line-height: 1; }
.mapp header i { width: 22px; height: 16px; border-radius: 11px 11px 8px 8px; background: #fff7ea; }
.mapp-list { flex: 1; overflow: auto; padding: 6px 0; animation: fade .2s; }
.mapp-list > button { width: 100%; display: flex; justify-content: space-between; padding: 13px 16px; border: 0; border-bottom: 1px solid #ffffff0d; background: none; color: #f5f1fb; text-align: left; }
.mapp-list > button:hover { background: #ffffff0d; }
.mapp-list > button span { color: #7d7694; }
.mapp-list > button.hot { color: #ff9a5a; font-weight: 700; }
.mapp-list p { margin: 0; padding: 12px 16px; color: #a69fbd; font-size: 12px; }
.appcode { margin: 26px 16px; padding: 20px; border-radius: 12px; background: #1e1a2b; text-align: center; user-select: text; }
.appcode small { display: block; color: #a69fbd; }
.appcode b { font-size: 30px; letter-spacing: .2em; }

/* デスクトップのアイコンは、縦に入りきらなければ次の列へ */
#icons { bottom: 14px; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 96px); align-content: start; }

/* 着信 */
#incoming { position: absolute; right: 14px; top: 14px; z-index: 460; width: 520px; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 14px; background: #1d1b33f5; color: #fff; box-shadow: 0 18px 50px #000b; animation: toastIn .35s cubic-bezier(.2,.9,.2,1); }
.ic-av { width: 60px; height: 60px; border-radius: 50%; background: #ffffff14; display: grid; place-items: center; animation: ringing .5s infinite alternate; }
.ic-av svg { width: 36px; height: 36px; }
@keyframes ringing { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
.ic-who { flex: 1; min-width: 0; line-height: 1.35; }
.ic-who small { display: block; color: #a9aecf; font-size: 12.5px; }
.ic-who b { font-size: 17px; }
.ic-who b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ic-who span { color: #d5d8ee; font-size: 14px; }
#incoming button { width: 78px; height: 46px; border: 0; border-radius: 23px; color: #fff; font-weight: 700; font-size: 14.5px; }
.ic-no { background: #e23b4e; } .ic-yes { background: #22b573; }

/* 利用明細 */
.ledger { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; }
.ledger header { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(120deg, #f08a3c, #e2574c); color: #fff; line-height: 1.4; }
.ledger header > div:first-child { flex: 1; }
.ledger header small { display: block; opacity: .85; font-size: 11px; }
.ledger .sum { text-align: right; }
.ledger .sum strong { font: 800 20px "M PLUS Rounded 1c", var(--ui); font-variant-numeric: tabular-nums; }
.ledger-list { flex: 1; overflow: auto; user-select: text; }
.ledger .row, .cs-list > div { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; padding: 10px 18px; border-bottom: 1px solid #eeeef3; font-variant-numeric: tabular-nums; }
.ledger .row time, .cs-list time { color: var(--ink-3); }
.ledger .row.moti, .cs-list .moti { background: #fff4f1; }
.ledger .row.moti span, .cs-list .moti span { color: #c2362b; font-weight: 700; }
.ledger .row.fresh { animation: mailNew 1s; box-shadow: inset 3px 0 0 #e2574c; }

/* メッセージ */
.talk { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #eef3ee; }
.talk header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--win-line); line-height: 1.35; }
.talk header i { width: 34px; height: 34px; border-radius: 50%; background: #4a90d9; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.talk header small { display: block; color: #2f9e62; font-size: 11px; }
.talk-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; user-select: text; }
.talk-log .none { margin: auto; color: var(--ink-3); }
.tmsg { max-width: 82%; padding: 8px 12px; border-radius: 14px; line-height: 1.6; animation: smsIn .3s cubic-bezier(.2,.9,.3,1.2); }
.tmsg small { display: block; font-size: 10px; opacity: .55; text-align: right; }
.tmsg.you { align-self: flex-start; background: #fff; border-top-left-radius: 4px; box-shadow: 0 1px 2px #0002; }
.tmsg.me { align-self: flex-end; background: #2fc27a; color: #fff; border-top-right-radius: 4px; }
.tmsg .dots { display: inline-flex; gap: 4px; padding: 5px 2px; }
.tmsg .dots i { width: 6px; height: 6px; border-radius: 50%; background: #8c8ca0; animation: tdot 1s infinite; }
.tmsg .dots i:nth-child(2) { animation-delay: .15s; } .tmsg .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; transform: translateY(-3px); } }
.talk-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--win-line); }
.talk-quick button { padding: 6px 12px; border-radius: 16px; border: 1px solid #2fc27a; background: #fff; color: #1f8a55; font-size: 12px; }
.talk-quick button:hover:not(:disabled) { background: #eafaf1; }
.talk-quick button:disabled { opacity: .4; }
.talk-quick small { color: var(--ink-3); }

/* カード会社のサイト */
.cardsite { min-height: 100%; background: #f6f4ef; color: #2a2733; user-select: text; }
.cardsite header { display: flex; align-items: baseline; gap: 14px; padding: 16px 34px; background: #fff; border-bottom: 3px solid #f08a3c; }
.cardsite header b { font: 800 22px "M PLUS Rounded 1c", var(--ui); color: #e2574c; letter-spacing: .04em; }
.cardsite header small { margin-left: auto; color: var(--ink-2); }
.cardsite main { max-width: 680px; margin: 0 auto; padding: 26px 30px 50px; line-height: 1.9; }
.cardsite h1 { font-size: 20px; margin: 0 0 14px; }
.cardsite h2 { font-size: 15px; margin: 30px 0 6px; }
.cs-card { width: 260px; padding: 18px 20px; border-radius: 12px; background: linear-gradient(120deg, #f08a3c, #e2574c); color: #fff; margin-bottom: 16px; }
.cs-card small { display: block; opacity: .85; } .cs-card b { font-size: 17px; letter-spacing: .08em; }
.cs-list { background: #fff; border: 1px solid #e6e2d8; border-radius: 10px; overflow: hidden; }
.cs-fine { font-size: 11px; color: #8c8ca0; line-height: 1.7; }
.cs-act { display: flex; gap: 10px; margin-top: 14px; }
.cs-act button { padding: 9px 22px; border-radius: 6px; border: 1px solid #e2574c; background: #e2574c; color: #fff; font-weight: 700; }
.cs-act button.sub { background: #fff; color: #e2574c; }

/* 失敗のリプレイ */
.rp { text-align: center; animation: resIn .4s; }
.rp h2 { margin: 0 0 14px; font: 800 22px "M PLUS Rounded 1c", var(--ui); }
.rp-box { margin: 0 auto; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px #ffffff30, 0 30px 80px #000; text-align: left; }
.rp-frame { transform-origin: 0 0; overflow: hidden; pointer-events: none; position: relative; font-size: 13px; }
.rp-frame * { animation: none !important; transition: none !important; }
.rp-frame .rp-bad { outline: 3px solid #ff4864 !important; outline-offset: 4px; box-shadow: 0 0 0 9999px #0000 , 0 0 30px 6px #ff486499 !important; opacity: 1 !important; }
.rp-frame .rp-ok { outline: 3px solid #3ddc8f !important; outline-offset: 4px; box-shadow: 0 0 30px 6px #3ddc8f99 !important; opacity: 1 !important; pointer-events: none; }
.rp-legend { margin: 14px 0 0; display: flex; gap: 22px; justify-content: center; color: #c9cde6; font-size: 12.5px; }
.rp-legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.rp-legend .bad::before { background: #ff4864; } .rp-legend .ok::before { background: #3ddc8f; }
.res .contrast { margin: 18px 0 0; font-size: 13px; color: #c9cde6; }
.res .contrast b { color: #fff; font-size: 16px; }
.rp .go { margin-top: 18px; padding: 10px 34px; border-radius: 26px; border: 0; background: #fff; color: #14152c; font-weight: 700; font-size: 14px; }

/* メール：ツールバーと新規作成 */
.mail-tools { display: flex; gap: 6px; margin: -6px 0 12px; }
.mail-tools button { padding: 4px 12px; border: 1px solid var(--win-line); border-radius: 6px; background: #fff; color: var(--ink-2); font-size: 12px; }
.mail-tools button:hover { background: #f1f3fa; }
.mail-compose { padding: 20px 26px; display: grid; gap: 10px; }
.mail-compose h1 { margin: 0 0 4px; font-size: 17px; }
.mail-compose input, .mail-compose textarea { padding: 9px 12px; border: 1px solid var(--win-line); border-radius: 8px; outline: none; user-select: text; }
.mail-compose input:focus, .mail-compose textarea:focus { border-color: var(--blue); }
.mail-compose textarea { height: 220px; resize: none; }
.mail-compose > div { display: flex; gap: 8px; }
.os-btn.flat { background: none; border-color: var(--win-line); color: var(--ink-2); }
.plainmail a { color: var(--blue); }
/* トレイのポップアップ、右クリックメニュー */
.os-pop { position: fixed; right: 10px; bottom: calc(var(--bar-h) + 8px); z-index: 650; width: 280px; padding: 14px; border-radius: 12px; background: #1b1c36f5; backdrop-filter: blur(18px); color: #fff; box-shadow: 0 18px 50px #000a; display: grid; gap: 8px; animation: launchIn .16s ease-out; }
.os-pop .row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.os-pop .row span { flex: 1; line-height: 1.4; }
.os-pop .row small { display: block; color: #a9aecf; font-size: 11px; }
.os-pop .row.dim { opacity: .5; }
.os-pop .row button { padding: 4px 12px; border: 0; border-radius: 6px; background: #ffffff22; color: #fff; }
.os-pop .row input { flex: 1; accent-color: #7fa6ff; }
.os-pop .item { display: block; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px; background: none; color: #fff; text-align: left; }
.os-pop .item:hover, .os-pop .row button:hover { background: #ffffff2e; }
.os-pop .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: 12px; }
.os-pop .cal small { color: #a9aecf; }
.os-pop .cal span { padding: 4px 0; border-radius: 50%; }
.os-pop .cal span.on { background: #ff4864; font-weight: 700; }
#sticky { cursor: grab; touch-action: none; }
#wallpaper[data-theme="1"] { background: radial-gradient(60% 45% at 30% 90%, #8fe3c0 0%, transparent 70%), linear-gradient(180deg, #0d2a3a 0%, #17506a 45%, #3f8f8a 80%, #c8e6b0 100%); }
#wallpaper[data-theme="1"] .hill { filter: hue-rotate(-80deg); }
#wallpaper[data-theme="2"] { background: linear-gradient(180deg, #23242f 0%, #3a3c4f 100%); }
#wallpaper[data-theme="2"] .hill, #wallpaper[data-theme="2"] .moon { display: none; }

/* 飛び出すウィンドウ、インストーラー、SMS返信、実績 */
.win.float .win-bar { padding-left: 14px; }
.popw { flex: 1; display: grid; gap: 6px; justify-items: center; align-content: center; padding: 18px; text-align: center; background: linear-gradient(135deg, #fff1f6, #fff4e6); }
.popw small { color: #c2362b; font-weight: 700; }
.popw strong { font: 800 26px "M PLUS Rounded 1c", var(--ui); color: #2a0f1c; }
.popw .os-btn { margin-top: 8px; background: linear-gradient(100deg, #ff6fa3, #ff9a5a); border: 0; color: #2a0f1c; font-weight: 700; padding: 9px 30px; border-radius: 20px; }
.popw a { font-size: 10.5px; color: #b9a7a7; margin-top: 4px; }
.popw .fakebar { align-self: start; width: calc(100% + 36px); margin: -18px -18px 10px; height: 36px; display: flex; align-items: center; padding-left: 14px; background: #e3e4ee; font-size: 12px; color: var(--ink); text-align: left; }
.popw .fakebar span { flex: 1; }
.popw .fakebar button { width: 44px; height: 36px; border: 0; background: none; font-size: 15px; color: var(--ink-2); }
.popw .fakebar button:hover { background: #e23b4e; color: #fff; }
.wiz { flex: 1; min-height: 0; display: grid; grid-template-columns: 130px 1fr; background: #fff; }
.wiz-side { background: linear-gradient(180deg, #2a1d4a, #120f1a); display: grid; place-items: start center; padding-top: 30px; }
.wiz-side i { width: 54px; height: 40px; border-radius: 27px 27px 20px 20px; background: #fff7ea; box-shadow: inset -6px -8px 0 #ffd9c2; }
.wiz-main { display: flex; flex-direction: column; min-height: 0; padding: 20px 22px 16px; }
.wiz-main h2 { margin: 0 0 10px; font-size: 16px; }
.wiz-body { flex: 1; min-height: 0; overflow: auto; font-size: 12.5px; line-height: 1.8; }
.wiz-body p { margin: 0 0 8px; }
.wiz-main footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; border-top: 1px solid var(--win-line); }
.wiz-main .os-btn { padding: 6px 18px; }
.wiz-lic { height: 150px; overflow: auto; padding: 8px 12px; border: 1px solid var(--win-line); background: #fafafc; font-size: 11.5px; margin-bottom: 10px; }
.wiz-opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 4px; border-bottom: 1px solid #eeeef3; }
.wiz-opt input { margin-top: 4px; }
.wiz-opt small { display: block; color: var(--ink-3); line-height: 1.5; }
.wiz-bar { height: 14px; border: 1px solid var(--win-line); background: #f1f2f7; }
.wiz-bar i { display: block; height: 100%; width: 0; background: #3d7bff; transition: width 2.4s linear; }
.sms-wrap { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sms.me { align-self: flex-end; background: #8a63f0; color: #fff; border-radius: 14px 4px 14px 14px; }
.sms.me small { color: #e2d8ff; }
.sms-bar { display: flex; gap: 6px; padding: 8px 10px; background: #fff; border-top: 1px solid var(--win-line); }
.sms-bar input { flex: 1; min-width: 0; padding: 7px 12px; border: 1px solid var(--win-line); border-radius: 16px; outline: none; user-select: text; }
.sms-bar button { padding: 0 14px; border: 0; border-radius: 16px; background: #8a63f0; color: #fff; font-weight: 700; }
.dex-tabs { display: flex; gap: 6px; margin-top: 6px; }
.dex-tabs button { padding: 3px 12px; border-radius: 12px; border: 1px solid #e8dfcc; background: #fff; color: var(--ink-2); font-size: 12px; }
.dex-tabs button.on { background: #e2574c; border-color: #e2574c; color: #fff; font-weight: 700; }
.dex article.ach { border-color: #e9c46a; background: #fffaea; }
.dex article.ach small { color: #b8860b; }
.popw.fake { align-content: start; }
.popw.fake small { margin-top: 22px; }
