/* 새판 화면 틀 모양 frame-b — 머리 칸 · 틀 규칙
   지금 판 도쿄 web/shell.css(국내판 tokens.css + app.css 틀 규칙을 뽑은 것)를 그대로 옮겨 600줄 아래로 나눴다(2026-10-14).
   손으로 고칠 때는 국내판 모양과 같은지 먼저 본다 · 새판에만 있는 것은 head-extra.css · parts.css */
.tm-adboard .panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0 1.1px, rgba(10,8,4,.62) 1.4px);
  background-size: 3px 3px;
}
.tm-adboard .led {
  position: absolute; inset: 0; display: flex; align-items: center; white-space: nowrap;
}
.tm-adboard .run {
  display: inline-block; padding-left: 100%;
  font-family: "Pretendard", "Noto Sans KR", sans-serif; font-size: 22px; font-weight: 900; letter-spacing: .12em;
  color: #FFC766;
  text-shadow: 0 0 4px rgba(255,170,40,.55), 0 0 10px rgba(255,140,20,.25);
  animation: tm-led-run 14s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .tm-adboard { animation: none; }
  .tm-adboard .run { animation: none; padding-left: 0; width: 100%; text-align: center; }
}
@media (max-width: 360px) {
  .tm-member-btn { margin: 7px 6px; }
  .tm-member-btn b { font-size: 17px; }
}
.tm-adboard .run { padding-left: 0; width: max-content; animation: tm-led-loop 16s linear infinite; }
.tm-adboard .run .seg { display: inline-block; padding: 0 1.4em; }
.tm-adboard .run .seg::after { content: "✦"; margin-left: 1.4em; font-size: 14px; vertical-align: middle; opacity: .8; }
@media (prefers-reduced-motion: reduce) {
  .tm-adboard .run { animation: none; width: 100%; text-align: center; }
  .tm-adboard .run .seg + .seg { display: none; }
  .tm-adboard .run .seg::after { content: none; }
}
.tm-adboard {
  margin: 6px 8px; padding: 0; animation: none; transform: none;
  display: flex; align-items: stretch;
}
.tm-adboard .str { display: none; }
.tm-adboard .panel {
  flex: 1 1 auto; height: auto; min-height: 50px;
  border-radius: 10px;
  border: 3px solid var(--tm-logo-rim);
  background: radial-gradient(120% 160% at 50% 0%, #2c2518 0%, #14110b 72%);
  
  box-shadow:
    inset 0 0 14px rgba(0,0,0,.7),
    0 1px 0 rgba(255,255,255,.55),
    0 4px 0 color-mix(in srgb, var(--tm-logo-deep) 85%, #000),
    0 6px 10px rgba(30,20,4,.35);
  transform: translateY(-2px);
  border-top-color: color-mix(in srgb, var(--tm-logo-rim) 70%, #fff);
  border-left-color: color-mix(in srgb, var(--tm-logo-rim) 80%, #fff);
  border-bottom-color: var(--tm-logo-deep);
  border-right-color: var(--tm-logo-deep);
}
.tm-adboard .panel::after { z-index: 2; }
.tm-adboard .led, .tm-adboard .run { display: none; }
.tm-adboard .placard {
  position: absolute; top: 50%; left: 50%; z-index: 1;
  display: inline-flex; align-items: center; gap: 2px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  animation: tm-ad-hold 12s ease-in-out infinite;
}
.tm-adboard .placard .txt {
  padding: 2px 8px;
  border-top: 1px solid rgba(255,199,102,.45);
  border-bottom: 1px solid rgba(255,199,102,.45);
  font-family: "Pretendard", "Noto Sans KR", sans-serif; font-size: 20px; font-weight: 900; letter-spacing: .08em;
  color: #FFC766;
  text-shadow: 0 0 4px rgba(255,170,40,.55), 0 0 10px rgba(255,140,20,.25);
}
.tm-adboard .hand { display: inline-flex; width: 18px; height: 18px; }
.tm-adboard .hand svg { width: 100%; height: 100%; fill: #FFB84A; filter: drop-shadow(0 0 3px rgba(255,160,30,.5)); }
.tm-adboard .hand.l { transform: rotate(-25deg); }
.tm-adboard .hand.r { transform: scaleX(-1) rotate(-25deg); }
@media (prefers-reduced-motion: reduce) {
  .tm-adboard .placard { animation: none; }
}
.tm-adboard .panel::after { background: radial-gradient(circle at 50% 50%, transparent 0 1.2px, rgba(10,8,4,.42) 1.5px); background-size: 3px 3px; }
.tm-adboard .hand { width: 24px; height: 24px; }
.tm-adboard .hand svg { fill: #FFD27F; filter: drop-shadow(0 0 4px rgba(255,170,40,.7)); }
.tm-brand-sub { min-height: 64px; }
.tm-adboard { margin: 0; align-self: stretch; }
.tm-adboard .panel {
  min-height: 64px; height: 100%;
  border-radius: 0;
  border-width: 4px;
  transform: none;
  box-shadow:
    inset 2px 2px 0 rgba(255,236,190,.35),
    inset -2px -3px 0 rgba(0,0,0,.45),
    inset 0 0 16px rgba(0,0,0,.7);
}
.tm-adboard .placard {
  width: calc(100% - 8px); height: calc(100% - 6px);
  gap: 0; justify-content: space-between;
}
.tm-adboard .placard .txt {
  flex: 1 1 auto; min-width: 0; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 2px;
  border: 0;
  white-space: normal; word-break: keep-all; overflow-wrap: anywhere;
  text-align: center; line-height: 1.12; letter-spacing: .02em;
  font-size: 22px;
  overflow: hidden;
}
.tm-adboard .hand { flex: 0 0 auto; width: 16px; height: 16px; align-self: flex-end; margin-bottom: 4px; }
.tm-adboard .placard { width: calc(100% - 4px); height: calc(100% - 2px); }
.tm-adboard .hand { width: 11px; height: 11px; margin-bottom: 2px; }
.tm-adboard .placard .txt { padding: 0; line-height: 1.08; letter-spacing: 0; }
.tm-adboard .panel { border-width: 3px; }
.tm-adboard .panel::after { content: none; display: none; }
.tm-adboard .placard .txt {
  color: #FFE19A;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}
.tm-adboard .hand svg { fill: #FFE19A; filter: none; }
.tm-adboard .panel {
  background: radial-gradient(120% 160% at 50% 0%, #DDF3D4 0%, #B6E4A9 70%, #9FD890 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255,255,255,.75),
    inset -2px -3px 0 rgba(46,110,62,.22),
    inset 0 0 12px rgba(46,125,70,.16);
}
.tm-adboard .placard .txt { color: #14532D; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.tm-adboard .hand svg { fill: #2E7D46; }
.tm-logozoom {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(20, 14, 6, .72);
  animation: tm-lz-fade .18s ease-out;
}
.tm-logozoom .card {
  width: min(560px, 100%); max-height: 100%; overflow: auto;
  padding: 14px; border-radius: 20px;
  background: #fff; border: 3px solid var(--tm-logo-main);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  animation: tm-lz-pop .22s ease-out;
}
.tm-logozoom .pic img, .tm-logozoom .pic svg { display: block; width: 100%; height: auto; border-radius: 12px; }
.tm-logozoom .cap { margin-top: 10px; text-align: center; font-size: 18px; }
.tm-logozoom .cap b { font-family: var(--tm-font-brand); font-size: 24px; margin-right: 6px; color: var(--tm-logo-deep); }
.tm-logozoom .cap small { display: block; margin-top: 2px; font-size: 15px; color: var(--tm-text-weak); }
.tm-logozoom .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.tm-logozoom .acts button { min-height: 52px; border-radius: 12px; font-size: 18px; font-weight: 800; }
.tm-logozoom .acts .home { border: 2px solid var(--tm-logo-main); background: #fff; color: var(--tm-logo-deep); }
.tm-logozoom .acts .close { border: 0; background: var(--tm-logo-main); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .tm-logozoom, .tm-logozoom .card { animation: none; }
}
.tm-lz-seasons, .tm-lz-editor { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--tm-line-strong); }
.tm-lz-seasons .k, .tm-lz-editor .k { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.tm-lz-chip { min-height: var(--tm-tap-min); }
.tm-lz-chip.s-spring[aria-pressed="true"] { background: #2E7D32; border-color: #2E7D32; color: #fff; }
.tm-lz-chip.s-summer[aria-pressed="true"] { background: #1E4FA3; border-color: #1E4FA3; color: #fff; }
.tm-lz-chip.s-autumn[aria-pressed="true"] { background: #8E4A16; border-color: #8E4A16; color: #fff; }
.tm-lz-chip.s-winter[aria-pressed="true"] { background: #B08628; border-color: #B08628; color: #fff; }
.tm-lz-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tm-lz-color { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; text-align: center; }
.tm-lz-color input[type="color"] { width: 100%; height: 48px; padding: 2px; border: 2px solid var(--tm-line-strong); border-radius: 10px; background: #fff; cursor: pointer; }
.tm-lz-file { display: flex; align-items: center; justify-content: center; }
.tm-stepnav-mid { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tm-stepnav .tm-menutip, .tm-tipblk .tm-menutip {
  display: flex; align-items: center; gap: 6px; width: 100%;
  min-height: 40px; padding: 3px 10px 3px 4px;
  border: 1.5px solid var(--tm-logo-rim); border-radius: 999px;
  background: linear-gradient(90deg, #FFF8E6, #FFFDF7);
  color: var(--tm-text); text-align: left;
  font-size: 15px; font-weight: 800; line-height: 1.25;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.tm-menutip .ai {
  flex: 0 0 auto; padding: 2px 6px; border-radius: 999px;
  background: var(--tm-logo-main); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .04em;
}
.tm-menutip .wx { flex: 0 0 auto; font-size: 18px; line-height: 1; }
.tm-menutip .wx small { font-size: 13px; font-weight: 800; margin-left: 1px; color: var(--tm-text-weak); }
.tm-menutip .say { flex: 1 1 auto; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tm-menutip .em { font-size: 17px; }
.tm-stepnav .tm-stepnav-mid .now { min-height: 34px; }
/* 📍 지역 명물 메뉴 — 앞뒤 사이 작은 한 줄(2026-10-28 · famous.js) */
.tm-stepnav .tm-famous {
  display: inline-flex; align-items: center; gap: 4px; align-self: center; max-width: 100%;
  min-height: 0; padding: 1px 10px; border-radius: 999px;
  border: 1px solid rgba(176, 134, 40, .45); background: #FFFBF0;
  color: #7A5512; font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: .01em; border-radius: 12px;
}
.tm-stepnav .tm-famous .say { min-width: 0; text-align: center; }
.tm-stepnav .tm-famous:hover, .tm-stepnav .tm-famous:focus-visible { background: #FFF3D6; }
.tm-stepnav.has-tabs .tm-stepnav-tabs .tm-tab { min-height: 42px; }
.tm-stepnav .prev, .tm-stepnav .next { align-self: stretch; }
.tm-stepnav { gap: 4px; padding-left: 6px; padding-right: 6px; }
.tm-stepnav .prev, .tm-stepnav .next,
.tm-stepnav.has-tabs .prev, .tm-stepnav.has-tabs .next {
  position: relative;
  flex-direction: column; justify-content: center; gap: 0;
  width: 48px; min-width: 48px; padding: 2px 0;
}
.tm-stepnav .prev .ar, .tm-stepnav .next .ar { font-size: 20px; }
.tm-stepnav .prev .tx, .tm-stepnav .next .tx { font-size: 15px; line-height: 1.1; }
.tm-stepnav .prev .n, .tm-stepnav .next .n { position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; font-size: 12px; }
.tm-stepnav .tm-menutip, .tm-tipblk .tm-menutip {
  min-height: 56px; padding: 5px 12px 5px 6px; gap: 8px;
  border-width: 2px; border-radius: 18px;
  font-size: 17px; line-height: 1.3;
}
.tm-menutip .wx { display: flex; flex-direction: column; align-items: center; font-size: 26px; }
.tm-menutip .wx small { margin: 0; font-size: 13px; }
.tm-menutip .em { font-size: 20px; display: inline-block; }
.tm-menutip .say .em:first-child { animation: tm-tip-bob 2.4s ease-in-out infinite; }
.tm-menutip .say .em:last-child { animation: tm-tip-bob 2.4s ease-in-out infinite .6s; }
.tm-menutip:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .tm-menutip .em { animation: none !important; }
}
.tm-stepnav .tm-menutip, .tm-tipblk .tm-menutip { position: relative; padding-top: 6px; font-size: 16px; }
.tm-menutip .ai { position: absolute; top: -7px; left: 12px; padding: 0 6px; font-size: 11px; line-height: 16px; box-shadow: 0 0 0 2px #FFF8E6; }
.tm-menutip .say { -webkit-line-clamp: 3; }
.tm-stepnav .tm-tipshop, .tm-tipblk .tm-tipshop {
  display: flex; align-items: center; gap: 6px; width: 100%;
  min-height: 40px; padding: 3px 10px 3px 8px;
  border: 1.5px dashed var(--tm-logo-rim); border-radius: 14px;
  background: var(--tm-surface); color: var(--tm-text); text-align: left;
  font-size: 15px; font-weight: 700; line-height: 1.3;
}
.tm-tipshop .pin { flex: 0 0 auto; font-size: 16px; }
.tm-tipshop .say { flex: 1 1 auto; min-width: 0; }
.tm-tipshop .say b { color: var(--tm-logo-deep); font-weight: 900; }
.tm-tipshop .alt { color: var(--tm-text-weak); font-weight: 700; }
.tm-tipshop .go { display: inline-block; animation: tm-tip-poke 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .tm-tipshop .go { animation: none; }
}
.tm-stepnav-mid { gap: 2px; }
.tm-stepnav .tm-menutip, .tm-tipblk .tm-menutip {
  min-height: 34px; padding: 2px 10px 2px 6px; gap: 6px;
  border-width: 1.5px; border-radius: 999px;
  font-size: 15px; line-height: 1.2;
}
.tm-menutip .ai { position: static; box-shadow: none; padding: 1px 5px; font-size: 11px; line-height: 14px; }
.tm-menutip .wx { flex-direction: row; align-items: baseline; gap: 1px; font-size: 16px; }
.tm-menutip .wx small { font-size: 12px; }
.tm-menutip .say { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.tm-menutip .em { font-size: 15px; }
.tm-stepnav .tm-tipshop, .tm-tipblk .tm-tipshop {
  min-height: 30px; padding: 1px 10px 1px 8px; gap: 4px;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2;
}
.tm-tipshop .pin { font-size: 14px; }
.tm-tipshop .say { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--tm-text-weak); }
.tm-tipshop .say b { color: var(--tm-logo-deep); }
.tm-tipshop .go { flex: 0 0 auto; font-size: 14px; }
.tm-stepnav.has-tabs .tm-stepnav-tabs .tm-tab { min-height: 44px; }
.tm-stepnav .prev, .tm-stepnav .next { min-height: 48px; }
.tm-stepnav .tm-menutip, .tm-tipblk .tm-menutip { border-radius: 14px; }
.tm-menutip .say { white-space: normal; overflow: visible; text-overflow: clip; }
.tm-tipshop .pin { display: none; }
.tm-member-cell { grid-row: 1; grid-column: 1; display: flex; flex-direction: column; gap: 4px; padding: 5px 5px 6px; min-width: 0; }
.tm-member-cell .tm-member-btn { margin: 0; min-height: 44px; }
.tm-member-cell .tm-member-btn b { font-size: 18px; }
.tm-member-cell .tm-member-btn { flex-direction: row; align-items: baseline; gap: 4px; }
.tm-geo { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tm-geo button { min-height: 40px; padding: 0; border-radius: 10px; font-size: 16px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.tm-geo .on { border: 2px solid #1f7a3a; background: #eaf7ee; color: #1f6a33; }
.tm-geo .on .i { font-size: 13px; margin-right: 1px; }
.tm-geo .on[aria-pressed="true"] { background: #1f8a42; border-color: #1f8a42; color: #fff; box-shadow: 0 0 0 2px #bfe8cc; }
.tm-geo .off { border: 2px solid #9a8f86; background: #fff; color: #5a524c; }
.tm-geo .off[aria-pressed="true"] { background: #6e655e; border-color: #6e655e; color: #fff; }
.tm-geo-note { margin: 8px 0; }
.tm-geo { grid-template-columns: 1fr auto 1fr; gap: 3px; align-items: stretch; }
.tm-geo .mid { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 13px; color: var(--tm-logo-deep); font-size: 12px; font-weight: 900; line-height: 1.05; }
.tm-geo .mid i { font-style: normal; }
.tm-geo.one { grid-template-columns: 1fr; }
.tm-geo.one button { padding: 2px 4px; white-space: normal; word-break: keep-all; line-height: 1.1; font-size: 14px; }
.tm-geo.one .on { background: #fff; border-color: #9a8f86; color: #5a524c; }
.tm-geo.one .off { border-color: #1f8a42; background: #eaf7ee; color: #14562a; }
.tm-tiprow { display: flex; align-items: center; gap: 4px; min-width: 0; }
.tm-tiprow .tm-tipshop { flex: 1 1 auto; min-width: 0; }
.tm-stepnav .tm-tiprow .tm-adgo { min-height: 32px; height: 32px; padding: 0 6px; }
.tm-adboard.urgent .placard { animation: none !important; transform: translate(-50%, -50%); }
.tm-adboard.urgent .panel { border-color: #d7262e !important; }
.tm-adboard.urgent .placard .txt { color: #fff; background: #b3121b; border-radius: 6px; }
.tm-adboard.urgent .hand { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .tm-adboard.urgent .panel { animation: tm-urgent-edge 1.6s ease-in-out infinite; }
}
.tm-adboard { position: relative; }
.tm-adboard .adtag { display: none; position: absolute; top: 4px; left: 4px; z-index: 5; padding: 0 5px; border-radius: 4px; background: #fff; color: #1d1712; font-size: 12px; font-weight: 900; line-height: 17px; pointer-events: none; }
.tm-adboard.paid .adtag { display: block; }
.tm-adboard .adtag { display: block; }
.tm-adboard .tm-adfind { display: flex; }
.tm-adboard .panel { margin-right: 30px; }
.tm-adboard .addr { right: 36px; }
.tm-adboard.urgent .tm-adfind { display: none; }
.tm-adboard.urgent .panel { margin-right: 0; }
.tm-vault-dev .tm-chip { min-height: 40px; }
.tm-adboard .addr { display: none; position: absolute; left: 6px; right: 6px; bottom: 5px; z-index: 3; color: #1E5A32; font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .92; pointer-events: none; }
.tm-adboard.has-addr .addr { display: block; }
.tm-adboard.has-addr .placard { height: calc(100% - 24px); top: calc(50% - 9px); }
.tm-adboard.urgent .addr { display: none; }
.tm-adboard .addr { white-space: normal; word-break: keep-all; display: none; max-height: 2.5em; overflow: hidden; line-height: 1.2; bottom: 4px; }
.tm-adboard.has-addr .addr { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tm-adboard.has-addr .placard { height: calc(100% - 36px); top: calc(50% - 15px); }
.tm-adfind { display: none; position: absolute; top: 0; right: 0; bottom: 0; z-index: 6; width: 30px; padding: 0; border: 0; border-left: 2px solid rgba(255,225,154,.55);
  background: linear-gradient(180deg, #ffcf5c, #e0a33a); color: #3a2607; font-size: 15px; font-weight: 900; line-height: 1.1;
  flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.tm-adboard.paid .tm-adfind { display: flex; }
.tm-adboard.urgent .tm-adfind { display: none; }
.tm-adboard.paid .panel { margin-right: 30px; }
.tm-adboard.paid .addr { right: 36px; }
.tm-adfind:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.tm-taste-pick .tm-chips { margin-top: 0; gap: 4px; }
.tm-taste-pick .tm-chip { min-width: 40px; min-height: 40px; padding: 0 8px; }
.tm-adboard.paid .placard .txt { padding-top: 12px; }
.tm-scrollbar {
  position: fixed;
  z-index: 95;
  right: max(4px, calc(50% - var(--tm-max-w) / 2 + 4px));
  top: calc(var(--tm-header-real, 0px) + 10px);
  bottom: 76px;
  width: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
}
.tm-scrollbar[hidden] { display: none; }
.tm-sb-arrow {
  flex: none;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 1.5px solid var(--tm-logo-main);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, var(--tm-logo-light, #E8D5A0), var(--tm-logo-main, #B08628));
  color: var(--tm-logo-deep, #6B4E12);
  font-size: 12px; line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.tm-sb-arrow:active { transform: translateY(1px) scale(.94); }
.tm-sb-arrow:disabled { opacity: .3; cursor: default; box-shadow: none; }
.tm-sb-arrow:focus-visible { outline: 2px solid var(--tm-logo-deep); outline-offset: 2px; }
.tm-sb-track {
  flex: 1 1 auto;
  position: relative;
  width: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tm-logo-main) 16%, transparent);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12);
  cursor: pointer;
}
.tm-sb-thumb {
  position: absolute;
  left: -2px;
  width: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--tm-logo-light, #E8D5A0), var(--tm-logo-main, #B08628));
  border: 1px solid var(--tm-logo-deep, #6B4E12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
  cursor: grab;
}
.tm-scrollbar.dragging .tm-sb-thumb { cursor: grabbing; filter: brightness(1.08); }
@media (prefers-reduced-motion: reduce) {
  .tm-sb-arrow { transition: none; }
}
@media print {
  .tm-scrollbar { display: none !important; }
}
.tm-geo .on.waiting { background: #cdebd6; border-color: #1f8a42; color: #14562a; animation: tm-geo-wait 1.1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .tm-geo .on.waiting { animation: none; }
}
.tm-geo-bye {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0;
  padding: 10px 14px;
  border: 2px solid #1f8a42;
  border-radius: 14px;
  background: linear-gradient(180deg, #f2fbf5, #e4f5ea);
  box-shadow: 0 1px 3px rgba(31, 138, 66, .12);
}
.tm-geo-bye .emo {
  flex: none; font-size: 26px; line-height: 1;
  animation: tm-wink 2.6s ease-in-out infinite;
  transform-origin: 50% 70%;
}
.tm-geo-bye .tx { font-size: 16px; font-weight: 800; color: #14562a; line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .tm-geo-bye .emo { animation: none; }
}
.tm-sr-only {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
@media (max-width: 330px) {
  .tm-brand-frame .tm-logo-btn { height: 76px; }
  .tm-brand-sub { grid-template-columns: 92px 1fr; }
  .tm-brand-title { padding: 4px 4px; }
  .tm-brand-title .tm-wordmark { font-size: 30px; }
  .tm-brand-title .tm-domain { font-size: 13px; }
  .tm-brand-title .tm-orn { display: none; }
  .tm-entry b { font-size: 17px; }
  .tm-entry small { font-size: 13px; }
  .tm-langbtn b, .tm-micbtn b { display: none; }
  .tm-langbtn, .tm-micbtn { font-size: 20px; min-height: 40px; padding: 0; }
  .tm-member-cell { padding-left: 3px; padding-right: 3px; }
  .tm-member-cell .tm-member-btn { justify-content: center; }
  .tm-member-cell .tm-member-btn small { display: none; }
}
:root {
  --tm-frame-gold:       #C49A2C;   
  --tm-frame-gold-hi:    #F3DC8C;   
  --tm-frame-gold-deep:  #8A6818;   
  --tm-frame-ivory:      #FFFCF3;   
  --tm-wordmark-gold: linear-gradient(180deg, #E9C766 0%, #C9982A 45%, #8F6414 100%);
}
.tm-app::after {
  top: max(4px, env(safe-area-inset-top, 0px));
  bottom: max(4px, env(safe-area-inset-bottom, 0px));
  border: 3px solid var(--tm-frame-gold);
  border-radius: 28px;
  box-shadow:
    0 0 0 24px var(--tm-bg),                          
    inset 0 0 0 1px var(--tm-frame-gold-hi),           
    0 2px 10px rgba(138, 104, 24, .25);
}
.tm-brand-frame {
  border-color: var(--tm-frame-gold) !important;
  background: linear-gradient(180deg, var(--tm-frame-ivory), #FBF4E2) !important;
  box-shadow: inset 0 0 0 1px var(--tm-frame-gold-hi);
}
.tm-brand-frame .tm-logo-btn { border-right: 2px solid var(--tm-frame-gold) !important; background: transparent; }
.tm-brand-rule {
  background:
    linear-gradient(var(--tm-frame-gold), var(--tm-frame-gold)) top    / 100% 1px no-repeat,
    linear-gradient(var(--tm-frame-gold), var(--tm-frame-gold)) center / 100% 2px no-repeat,
    linear-gradient(var(--tm-frame-gold), var(--tm-frame-gold)) bottom / 100% 1px no-repeat !important;
}
.tm-brand-title .tm-wordmark {
  color: var(--tm-frame-gold-deep) !important;
  background: var(--tm-wordmark-gold) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 0 rgba(255, 244, 200, .9)) drop-shadow(0 1px 1px rgba(110, 78, 10, .35));
}
.tm-brand-title .tm-domain { color: var(--tm-frame-gold-deep) !important; }
.tm-domain-row i { background: var(--tm-frame-gold) !important; opacity: 1; }
@media print {
  .tm-app::after { display: none; }
}
.tm-lz-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.tm-lz-pick {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-height: 48px; padding: 6px; border-radius: 12px; cursor: pointer;
  border: 2px solid var(--tm-line, #E3D7B8); background: var(--tm-frame-ivory, #FFFCF3);
  font: inherit; font-size: 15px; color: var(--tm-ink, #2B2112);
}
.tm-lz-pick img { width: 100%; max-width: 84px; aspect-ratio: 320 / 300; object-fit: contain; }
.tm-lz-pick[aria-pressed="true"] {
  border-color: var(--tm-frame-gold, #C49A2C);
  box-shadow: 0 0 0 2px var(--tm-frame-gold-hi, #F3DC8C); font-weight: 700;
}
.tm-lz-pick:focus-visible { outline: 3px solid var(--tm-frame-gold-deep, #8A6818); outline-offset: 2px; }
.tm-header { padding-top: 0; }
.tm-brand-frame {
  margin: max(7px, calc(env(safe-area-inset-top, 0px) + 3px)) 7px 5px !important;
  border-radius: 24px 24px 0 0 !important;
}
.tm-entries { padding-left: 8px; padding-right: 8px; }
/* 🔑 로그인 단추(머리 칸 이용법 밑 · 10-26 대표님 — 눈에 띄게 카카오 노랑) · 로그인한 뒤 👤 내 정보는 흰 바탕 */
.tm-member-cell .tm-loginbtn { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; padding: 0 4px;
  border: 2px solid #e0c400; border-radius: 12px; background: #fee500; color: #191919; font-size: 16px; line-height: 1.1; white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.tm-member-cell .tm-loginbtn b { font-weight: 900; }
.tm-member-cell .tm-loginbtn.in { background: #fff; border-color: var(--tm-logo-main); color: var(--tm-logo-deep); }
.tm-member-cell .tm-loginbtn:focus-visible { outline: 3px solid var(--tm-logo-deep); outline-offset: 1px; }
.tm-member-cell .tm-loginbtn:active { transform: translateY(1px); box-shadow: none; }
