:root {
  --bg: #fff4dc;
  --bg2: #ffe9bf;
  --card: #ffffff;
  --card2: #fffaf0;
  --ink: #3b2f22;
  --ink2: #7a6a55;
  --line: #f1dfb8;
  --accent: #ff9f1c;
  --accent2: #ffbf69;
  --good: #2bb673;
  --warn: #ff8a3d;
  --bad: #e5484d;
  --sky: #dff1ff;
  --radius: 22px;
  --shadow: 0 6px 0 rgba(160, 120, 60, .12), 0 10px 24px rgba(160, 120, 60, .10);
  --font: 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  --round: 'Jua', 'Pretendard Variable', sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; overscroll-behavior: none; user-select: none; -webkit-user-select: none; }
input, textarea, select, button { font: inherit; color: inherit; }
input, textarea { user-select: text; -webkit-user-select: text; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, .round { font-family: var(--round); font-weight: 400; margin: 0; }

#app { min-height: 100%; padding: 14px; display: flex; flex-direction: column; gap: 12px; max-width: 1600px; margin: 0 auto; }

/* ---------- 헤더 ---------- */
.top { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: stretch; }
.brand { display: flex; flex-direction: column; justify-content: center; padding: 6px 10px; }
.brand h1 { font-size: 30px; color: #d9822b; letter-spacing: -.5px; }
.brand .sub { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.clock { background: var(--card); border-radius: 999px; padding: 6px 22px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); justify-self: center; }
.clock .ampm { font-size: 15px; color: var(--ink2); line-height: 1.1; }
.clock .time { font-family: var(--round); font-size: 46px; line-height: 1; }
.weather { background: linear-gradient(135deg, #e3f3ff, #f4fbff); border-radius: var(--radius); padding: 8px 14px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); min-width: 300px; }
.weather .big { font-size: 40px; }
.weather .temp { font-family: var(--round); font-size: 34px; }
.weather .desc { font-size: 13px; color: var(--ink2); }
.weather .hours { display: flex; gap: 8px; font-size: 12px; text-align: center; color: var(--ink2); }
.weather .hours b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.air { border-radius: 14px; padding: 4px 10px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; }
.air .lv { font-size: 16px; display: block; }
.tools { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--card); box-shadow: var(--shadow); font-size: 22px; display: grid; place-items: center; position: relative; }
.icon-btn.saver-toggle { width:44px; height:44px; flex-shrink:0; box-shadow:none; border:1px solid #b5c9bc; color:#365e49; }
.icon-btn.saver-toggle:hover { background:#e6f1e7; }
.icon-btn .dot { position: absolute; top: -2px; right: -2px; background: var(--bad); color: #fff; font-size: 12px; min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center; font-weight: 700; padding: 0 5px; }
.timer-pill { background: #6c5ce7; color: #fff; border-radius: 999px; padding: 8px 16px; font-family: var(--round); font-size: 22px; box-shadow: var(--shadow); display: flex; gap: 6px; align-items: center; }

.notice { background: #fff; border: 3px dashed var(--accent2); border-radius: 18px; padding: 10px 18px; font-size: 20px; display: flex; gap: 10px; align-items: center; }
.notice b { font-family: var(--round); font-weight: 400; color: #d9822b; }

/* ---------- 카드 공통 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; position: relative; overflow: hidden; }
.card.tap { cursor: pointer; transition: transform .08s; }
.card.tap:active { transform: scale(.98); }
.card h2 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.card h2 .more { margin-left: auto; font-family: var(--font); font-size: 13px; color: var(--ink2); }
.muted { color: var(--ink2); }
.small { font-size: 13px; }
.empty { color: var(--ink2); font-size: 14px; padding: 8px 0; }

/* ---------- 부모 상태 ---------- */
.parents { display: flex; gap: 8px; }
.pstat { background: var(--card); border-radius: 18px; padding: 6px 12px; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; min-width: 170px; }
.pstat .ic { font-size: 28px; }
.pstat .who { font-size: 12px; color: var(--ink2); }
.pstat .txt { font-weight: 700; font-size: 15px; }
.pstat .until { font-size: 12px; color: #d9822b; }

/* ---------- 아이 카드 ---------- */
.kids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kid { background: linear-gradient(180deg, var(--kc-soft) 0%, #fff 75%); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; cursor: pointer; border: 3px solid transparent; }
.kid:active { transform: scale(.98); }
.avatar { width: 96px; height: 96px; border-radius: 28px; background: #fff; display: grid; place-items: center; font-size: 58px; border: 4px solid var(--kc); position: relative; }
.avatar .lvl { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); background: var(--kc); color: #fff; font-family: var(--round); font-size: 14px; border-radius: 10px; padding: 1px 8px; white-space: nowrap; }
.kid .name { font-family: var(--round); font-size: 28px; display: flex; align-items: baseline; gap: 8px; }
.kid .name small { font-family: var(--font); font-size: 13px; color: var(--ink2); }
.kid .row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.chip { background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 14px; font-weight: 700; border: 2px solid var(--line); display: inline-flex; gap: 4px; align-items: center; }
.chip.star { color: #c98a00; }
.chip.won { color: #e0567a; }
.bar { height: 12px; background: #f2ead9; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--kc); border-radius: 99px; transition: width .4s; }
.kid .todo { font-size: 13px; color: var(--ink2); margin-top: 4px; display: flex; justify-content: space-between; }
.charline { font-size: 13px; color: var(--ink2); margin-top: 2px; }

/* ---------- 홈 타일 ---------- */
.tiles { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 12px; }
.tiles2 { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; flex: 1; }
.routine-mini { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.rm-row { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.rm-row .em { font-size: 22px; width: 32px; text-align: center; }
.rm-row .bar { flex: 1; margin: 0; }
.rm-row .n { font-weight: 700; font-size: 14px; width: 44px; text-align: right; }
.mail-last { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.bubble { background: var(--card2); border-radius: 14px; padding: 6px 10px; font-size: 15px; border: 2px solid var(--line); }
.bubble .meta { font-size: 11px; color: var(--ink2); }
.meal-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.meal-list span { background: #fff6e5; border-radius: 12px; padding: 4px 9px; font-size: 15px; border: 2px solid #ffe3b0; }
.task-mini { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; font-size: 15px; }
.task-mini .k { font-weight: 700; }

/* 달력 */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 14px; }
.cal .dow { font-size: 12px; color: var(--ink2); font-weight: 700; }
.cal .d { border-radius: 10px; padding: 4px 0 2px; min-height: 34px; position: relative; }
.cal .d.other { color: #cdbfa5; }
.cal .d.sun { color: var(--bad); }
.cal .d.sat { color: #3b82f6; }
.cal .d.today { background: var(--accent); color: #fff; font-weight: 700; }
.cal .dots { display: flex; justify-content: center; gap: 2px; height: 6px; }
.cal .dots i { width: 5px; height: 5px; border-radius: 50%; background: #9aa; }
.calwrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; margin-top: 8px; }
.upcoming { display: flex; flex-direction: column; gap: 6px; }
.up { display: flex; gap: 8px; align-items: center; background: var(--card2); border-radius: 14px; padding: 6px 10px; border: 2px solid var(--line); }
.up .t { font-weight: 700; font-size: 15px; }
.up .s { font-size: 12px; color: var(--ink2); }
.up .dd { margin-left: auto; background: #e8f4ff; color: #2563eb; font-weight: 700; font-size: 13px; border-radius: 10px; padding: 2px 8px; white-space: nowrap; }
.up .dd.today { background: var(--accent); color: #fff; }
.who-dots { display: flex; gap: 2px; }
.who-dots i { width: 10px; height: 10px; border-radius: 50%; }

.dday-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.dday { display: flex; justify-content: space-between; font-size: 15px; }
.dday b { color: #e0567a; font-family: var(--round); font-weight: 400; font-size: 18px; }
.shop-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.shop-list .chip.done { text-decoration: line-through; opacity: .5; }

/* ---------- 화면 공통 ---------- */
.view-head { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 10px 14px; box-shadow: var(--shadow); }
.view-head h1 { font-size: 30px; }
.view-head .sp { flex: 1; }
.back { width: 52px; height: 52px; border-radius: 50%; background: var(--bg); font-size: 26px; display: grid; place-items: center; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { padding: 10px 18px; border-radius: 999px; background: var(--bg); font-weight: 700; font-size: 16px; border: 2px solid transparent; }
.tab.on { background: var(--accent); color: #fff; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.colhead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.colhead .av { width: 54px; height: 54px; border-radius: 18px; background: #fff; border: 3px solid var(--kc); display: grid; place-items: center; font-size: 32px; }
.colhead .nm { font-family: var(--round); font-size: 26px; }
.colhead .st { margin-left: auto; }
.col { background: linear-gradient(180deg, var(--kc-soft), #fff 160px); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }

.item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 10px 12px; margin-bottom: 8px; border: 3px solid var(--line); width: 100%; text-align: left; min-height: 64px; }
.item .em { width: 44px; height: 44px; border-radius: 14px; background: var(--card2); display: grid; place-items: center; font-size: 26px; flex: none; }
.item .tx { flex: 1; font-size: 19px; font-weight: 700; }
.item .tx small { display: block; font-size: 12px; color: var(--ink2); font-weight: 500; }
.item .ck { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #e5d6b5; flex: none; display: grid; place-items: center; font-size: 22px; color: #fff; }
.item.done { background: var(--kc-soft); border-color: transparent; }
.item.done .tx { text-decoration: line-through; text-decoration-color: var(--kc); text-decoration-thickness: 3px; color: var(--ink2); }
.item.done .ck { background: var(--kc); border-color: var(--kc); }
.allgood { text-align: center; font-family: var(--round); font-size: 22px; background: #fff; border-radius: 18px; padding: 10px; border: 3px solid var(--kc); margin-bottom: 8px; }

/* 우체통 */
.mail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: start; }
.pickrow { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.pick { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 10px; border-radius: 18px; background: var(--bg); border: 3px solid transparent; min-width: 76px; }
.pick .e { font-size: 34px; }
.pick .n { font-weight: 700; font-size: 14px; }
.pick.on { border-color: var(--accent); background: #fff; }
.phrases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.phrase { background: #f3f0ff; border-radius: 16px; padding: 14px 6px; font-weight: 700; font-size: 16px; border: 3px solid transparent; }
.phrase.on { border-color: #6c5ce7; background: #fff; }
.compose { display: flex; gap: 8px; margin-top: 12px; }
.compose input { flex: 1; border: 3px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 18px; background: #fff; outline: none; }
.btn { background: var(--accent); color: #fff; border-radius: 16px; padding: 12px 20px; font-weight: 800; font-size: 18px; box-shadow: 0 4px 0 #d9822b; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #d9822b; }
.btn.alt { background: #6c5ce7; box-shadow: 0 4px 0 #4b3fb8; }
.btn.ghost { background: var(--bg); color: var(--ink); box-shadow: none; }
.btn.red { background: var(--bad); box-shadow: 0 4px 0 #b3262b; }
.btn.sm { padding: 8px 12px; font-size: 15px; border-radius: 12px; }
.thread { display: flex; flex-direction: column; gap: 10px; max-height: calc(100vh - 170px); overflow-y: auto; padding-right: 4px; }
.msg { display: flex; gap: 8px; align-items: flex-start; }
.msg .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: #fff; border: 3px solid var(--mc); flex: none; }
.msg .body { background: #fff; border-radius: 4px 18px 18px 18px; padding: 8px 12px; box-shadow: 0 2px 0 rgba(0,0,0,.05); max-width: 85%; }
.msg .meta { font-size: 12px; color: var(--ink2); margin-bottom: 2px; }
.msg .text { font-size: 19px; font-weight: 700; white-space: pre-wrap; word-break: break-word; }
.msg.unread .body { outline: 3px solid var(--bad); }
.replies { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* 별 */
.starview { display: grid; grid-template-columns: 340px 1fr; gap: 12px; align-items: start; }
.bigchar { text-align: center; padding: 20px; }
.bigchar .e { font-size: 120px; line-height: 1.1; }
.bigchar .lvname { font-family: var(--round); font-size: 24px; }
.stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { background: var(--card2); border-radius: 18px; padding: 10px; text-align: center; border: 2px solid var(--line); }
.stat b { display: block; font-family: var(--round); font-size: 32px; font-weight: 400; }
.log { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; }
.log div { display: flex; justify-content: space-between; background: var(--card2); border-radius: 12px; padding: 6px 10px; font-size: 15px; }
.plus { color: var(--good); font-weight: 800; }
.minus { color: var(--bad); font-weight: 800; }
.reason-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }

/* 학교 */
.school { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tt { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.tt ol { margin: 6px 0 0; padding-left: 22px; font-size: 16px; line-height: 1.7; }

/* 폼 */
.form { display: flex; flex-direction: column; gap: 10px; }
.form label { font-weight: 700; font-size: 14px; color: var(--ink2); display: flex; flex-direction: column; gap: 4px; }
.form input, .form select, .form textarea { border: 3px solid var(--line); border-radius: 14px; padding: 10px 12px; font-size: 16px; background: #fff; outline: none; width: 100%; }
.form textarea { min-height: 90px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.rt-edit { display: grid; grid-template-columns: 56px 100px 1fr auto auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.rt-edit input, .rt-edit select { padding: 6px 8px !important; font-size: 15px !important; }
.kidchk { display: flex; gap: 2px; }
.kidchk label { flex-direction: row !important; font-size: 13px !important; gap: 2px !important; }
.results { display: flex; flex-direction: column; gap: 4px; }
.results button { text-align: left; background: var(--card2); border-radius: 10px; padding: 8px 10px; border: 2px solid var(--line); }

/* 모달·오버레이 */
#modal:empty, #overlay:empty { display: none; }
.backdrop { position: fixed; inset: 0; background: rgba(40, 30, 10, .45); display: grid; place-items: center; z-index: 85; padding: 16px; }
.sheet { background: var(--bg); border-radius: 26px; padding: 18px; width: min(560px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.sheet h2 { font-size: 26px; margin-bottom: 10px; }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pinpad button { background: #fff; border-radius: 18px; font-size: 28px; padding: 14px; font-weight: 700; box-shadow: var(--shadow); }
.pindots { display: flex; justify-content: center; gap: 12px; margin: 8px 0; }
.pindots i { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--accent); }
.pindots i.on { background: var(--accent); }

.alarm { position: fixed; inset: 0; z-index: 90; background: radial-gradient(circle, #ff7b54, #e5484d); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; animation: pulse 1.2s infinite; }
.alarm .e { font-size: 140px; }
.alarm h1 { font-size: 72px; }
.alarm .btn { background: #fff; color: var(--bad); font-size: 28px; padding: 16px 40px; box-shadow: 0 6px 0 rgba(0,0,0,.2); }
@keyframes pulse { 50% { filter: brightness(1.12); } }

.celebrate { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; pointer-events: none; }
.celebrate .box { background: #fff; border-radius: 30px; padding: 26px 40px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: pop .5s; }
.celebrate .box .e { font-size: 90px; }
.celebrate .box h2 { font-size: 34px; }
.confetti { position: fixed; top: -40px; font-size: 34px; animation: fall 2.6s linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast { background: #fff; border-radius: 20px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 18px; font-weight: 700; max-width: 440px; border-left: 8px solid var(--accent); animation: pop .3s; }

.night { position: fixed; inset: 0; z-index: 60; background: #0c0f1d; color: #9fb0d8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.night .t { font-family: var(--round); font-size: 160px; color: #c8d4f5; }
.night .d { font-size: 26px; }
.night .h { font-size: 15px; opacity: .6; margin-top: 30px; }

.setup { max-width: 760px; margin: 40px auto; text-align: center; }
.setup h1 { font-size: 44px; color: #d9822b; }
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.choose button { background: #fff; border-radius: 26px; padding: 26px 10px; box-shadow: var(--shadow); font-size: 20px; font-weight: 800; }
.choose button span { display: block; font-size: 64px; }

/* 부모 폰 아래 메뉴 */
.bottomnav { display: none; }

/* ---------- 좁은 화면(폰) ---------- */
@media (max-width: 900px) {
  #app { padding: 10px 10px 84px; }
  .top { grid-template-columns: 1fr auto; }
  .clock { display: none; }
  .weather { grid-column: 1 / -1; min-width: 0; order: 3; }
  .weather .hours { display: none; }
  .parents { grid-column: 1 / -1; order: 4; }
  .pstat { flex: 1; min-width: 0; }
  .kids, .tiles, .tiles2, .cols3, .mail, .starview, .school, .settings, .calwrap, .tt { grid-template-columns: 1fr; }
  .kid { grid-template-columns: 72px 1fr; }
  .avatar { width: 72px; height: 72px; font-size: 42px; }
  .phrases { grid-template-columns: repeat(3, 1fr); }
  .bottomnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.08); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); z-index: 40; justify-content: space-around; }
  .bottomnav button { display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 700; color: var(--ink2); gap: 2px; padding: 4px 6px; position: relative; }
  .bottomnav button span { font-size: 22px; }
  .bottomnav button.on { color: #d9822b; }
  .choose { grid-template-columns: 1fr; }
  .rt-edit { grid-template-columns: 44px 1fr auto; }
  .alarm h1 { font-size: 44px; }
}
.clock .ampm, .air, .air .lv, .pstat .txt, .btn { white-space: nowrap; }
.compose { align-items: center; min-width:0; }
.compose input { width:0; min-width:0; flex:1; min-height:48px; scroll-margin-block:24px; }
.compose button { flex:none; min-height:48px; padding:10px 14px; }
.request-strip { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.request-strip button { min-height:44px; }
.purchase-request { border-top:2px dashed var(--line); margin-top:16px; padding-top:14px; overflow-wrap:anywhere; }
.purchase-request h3 { margin-top:10px; font-size:23px; }
.purchase-request p { margin:8px 0; }
.request-note { white-space:pre-wrap; }
.request-actions { display:flex; flex-wrap:wrap; gap:8px; }
.request-actions .btn { white-space:normal; min-height:44px; text-align:left; }
#connectionBanner { position:fixed; top:0; left:0; right:0; background:#fff1c8; color:#633e00; padding:10px 16px; z-index:100; text-align:center; font-weight:700; }
@media(max-width:900px) {
  body.writing .bottomnav { display:none; }
  body.writing #app { padding-bottom:calc(24px + var(--keyboard-gap,0px)); }
  .v-mail .mail > .card:first-child { overflow:visible; }
  .v-mail .compose { position:sticky; bottom:12px; background:var(--card); padding:8px 0; z-index:2; }
  .v-mail .phrases { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .request-strip { align-items:stretch; }
  .request-strip button { flex:1; font-size:14px; padding:10px; }
}
.notice b { white-space: nowrap; }
@media (max-width: 900px) {
  .thread { max-height: 55vh; }
  .pstat .txt { white-space: normal; font-size: 14px; }
  .notice { font-size: 16px; }
}
@media (max-width: 1450px) and (min-width: 901px) {
  .weather .hours { display: none; }
  .weather { min-width: 0; }
  #app { gap: 10px; padding: 10px 12px; }
  .kid { padding: 10px 12px; }
  .card { padding: 12px 14px; }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles2 { grid-template-columns: 1fr 1fr; }
  .weather .hours { display: none; }
}
