/* 나들이 신호등 (/outing/) — design pass matching /lab.css tokens and typography.
 * Loaded after /lab.css and outing/outing.css. Selectors only; no content: text injection. */

:root {
  --go: #16a34a;
  --wait: #eab308;
  --stop: #dc2626;
  --go-t: #166534;
  --wait-t: #854d0e;
  --stop-t: #b42318;
  --go-s: #e7f4ec;
  --wait-s: #fbf3d9;
  --stop-s: #fbe9e7;
  --lamp-off: #434349;
  --case: #242428;
  --shade: rgba(10, 10, 12, .52);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --go: #22c55e;
    --wait: #facc15;
    --stop: #f05252;
    --go-t: #4ade80;
    --wait-t: #facc15;
    --stop-t: #ff8f86;
    --go-s: #13261a;
    --wait-s: #2a2410;
    --stop-s: #2c1514;
    --lamp-off: #2c2c30;
    --case: #0b0b0d;
    --shade: rgba(10, 10, 12, .64);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --go: #22c55e;
  --wait: #facc15;
  --stop: #f05252;
  --go-t: #4ade80;
  --wait-t: #facc15;
  --stop-t: #ff8f86;
  --go-s: #13261a;
  --wait-s: #2a2410;
  --stop-s: #2c1514;
  --lamp-off: #2c2c30;
  --case: #0b0b0d;
  --shade: rgba(10, 10, 12, .64);
  color-scheme: dark;
}

/* ---------- base, typography & focus ---------- */
html {
  overflow-x: clip;
}

body {
  background: var(--lab-bg);
  color: var(--lab-text);
  font-family: var(--lab-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}

:focus-visible {
  outline: 2px solid var(--lab-accent);
  outline-offset: 2px;
}

.o-wrap {
  max-width: 860px;
  min-height: calc(100dvh - 57px);
  margin: 0 auto;
  padding: 20px 16px 84px;
}

.mono {
  font-family: var(--lab-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons & icon buttons ---------- */
.btn {
  height: auto;
  min-height: 38px;
  max-width: 100%;
  padding: 7px 14px;
  border-radius: var(--lab-radius);
  border: 1px solid var(--lab-line-strong);
  background: var(--lab-surface);
  color: var(--lab-text);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
  box-shadow: var(--lab-shadow-sm);
  transition: border-color .15s, background-color .15s, color .15s, opacity .15s;
}

.btn:not(.primary):not(:disabled):hover {
  border-color: var(--lab-text);
  background: var(--lab-surface2);
}

.btn:not(:disabled):active {
  opacity: .84;
}

.btn.primary {
  background: var(--lab-ink);
  border-color: var(--lab-ink);
  color: var(--lab-on-ink);
}

.btn.primary:not(:disabled):hover {
  opacity: .88;
}

.btn.sm {
  height: auto;
  min-height: 32px;
  padding: 5px 11px;
  font-size: 13px;
  border-radius: var(--lab-radius);
}

.btn.sm .ic {
  width: 15px;
  height: 15px;
}

.btn:disabled,
.btn:disabled:hover {
  border-color: var(--lab-line-strong);
  opacity: .55;
  cursor: default;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--lab-radius);
  border: 1px solid var(--lab-line);
  background: var(--lab-surface);
  color: var(--lab-text);
  box-shadow: var(--lab-shadow-sm);
  transition: border-color .15s, background-color .15s, color .15s, opacity .15s;
}

.icon-btn:hover {
  border-color: var(--lab-line-strong);
  background: var(--lab-surface2);
}

.icon-btn:active {
  opacity: .84;
}

/* ---------- top bar: place & activity ---------- */
.o-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.o-place {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 5px 8px 5px 6px;
  margin-left: -6px;
  border: 0;
  border-radius: var(--lab-radius);
  background: transparent;
  text-align: left;
  color: var(--lab-text);
  transition: background-color .15s, opacity .15s;
}

.o-place:hover {
  background: var(--lab-surface2);
}

.o-place:active {
  opacity: .84;
}

.o-place .ic {
  width: 20px;
  height: 20px;
  color: var(--lab-accent);
}

.o-place > span:not(.chg) {
  flex: 0 1 auto;
  min-width: 0;
}

.o-place b {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.o-place small {
  display: block;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--lab-muted);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.o-place .chg {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  margin-left: 2px;
  border: 1px solid var(--lab-line);
  border-radius: 999px;
  background: var(--lab-surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lab-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background-color .15s;
}

.o-place:hover .chg {
  border-color: var(--lab-line-strong);
  color: var(--lab-text);
}

.o-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.o-act {
  height: auto;
  min-height: 34px;
  max-width: 100%;
  padding: 5px 12px;
  border: 1px solid var(--lab-line-strong);
  border-radius: 999px;
  background: var(--lab-surface);
  color: var(--lab-text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  box-shadow: var(--lab-shadow-sm);
  transition: border-color .15s, background-color .15s, color .15s, opacity .15s;
}

.o-act .ic {
  width: 15px;
  height: 15px;
  color: var(--lab-muted);
  transition: color .15s;
}

.o-act:not([aria-pressed="true"]):hover {
  border-color: var(--lab-text);
  background: var(--lab-surface2);
}

.o-act:not([aria-pressed="true"]):hover .ic {
  color: var(--lab-text);
}

.o-act:active {
  opacity: .84;
}

.o-act[aria-pressed="true"] {
  background: var(--lab-ink);
  border-color: var(--lab-ink);
  color: var(--lab-on-ink);
}

.o-act[aria-pressed="true"] .ic {
  color: currentColor;
}

.o-act[aria-pressed="true"]:hover {
  border-color: var(--lab-ink);
  opacity: .9;
}

/* ---------- loading & error states ---------- */
.o-loading {
  margin: 16px 0 0;
  padding: 52px 16px;
  font-size: 14.5px;
  color: var(--lab-muted);
  text-align: center;
}

.o-empty {
  padding: 20px 18px;
  border: 1px dashed var(--lab-line-strong);
  border-radius: 12px;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-sm);
  color: var(--lab-muted);
  font-size: 14px;
  line-height: 1.58;
}

div.o-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

/* ---------- main verdict card ---------- */
.o-card {
  margin-top: 16px;
  padding: 20px 22px;
  border: 1px solid var(--lab-line);
  border-radius: 12px;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-sm);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
}

.o-lamp {
  display: grid;
  gap: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--lab-line);
  background: var(--case);
  width: 64px;
}

.o-lamp i {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lamp-off);
  transition: background-color .15s, box-shadow .15s;
}

.o-lamp i.on.l0 {
  background: var(--go);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 35%, transparent);
}

.o-lamp i.on.l1 {
  background: var(--wait);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--wait) 35%, transparent);
}

.o-lamp i.on.l2 {
  background: var(--stop);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--stop) 35%, transparent);
}

.o-main {
  min-width: 0;
}

.o-when {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--lab-muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.o-verdict {
  margin: 4px 0 6px;
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.22;
}

.o-verdict.l0 {
  color: var(--go-t);
}

.o-verdict.l1 {
  color: var(--wait-t);
}

.o-verdict.l2 {
  color: var(--stop-t);
}

.o-best {
  margin: 0;
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.45;
  color: var(--lab-text);
}

.o-best .mono {
  font-weight: 600;
}

.o-advice {
  margin: 6px 0 0;
  color: var(--lab-muted);
  font-size: 14.5px;
  line-height: 1.58;
  max-width: 60ch;
}

.o-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.o-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  padding: 6px 10px;
  border: 1px solid var(--lab-line);
  border-radius: var(--lab-radius);
  background: var(--lab-bg);
  font-size: 13.5px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.o-chip > span {
  color: var(--lab-muted);
  font-weight: 500;
}

.o-chip b,
.o-chip b .mono {
  color: var(--lab-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.dot.l0 {
  background: var(--go);
}

.dot.l1 {
  background: var(--wait);
}

.dot.l2 {
  background: var(--stop);
}

.dot.lx {
  background: var(--lab-line-strong);
}

.o-card-b {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--lab-line);
}

.o-src {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--lab-muted);
  margin-left: auto;
}

/* ---------- section headings ---------- */
.o-sec {
  margin-top: 28px;
}

.o-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 2px 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--lab-text);
}

.o-h small {
  font-size: 13px;
  color: var(--lab-muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.o-note {
  margin: 8px 2px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--lab-muted);
}

/* ---------- hourly forecast strip ---------- */
.o-hours {
  display: flex;
  gap: 3px;
  max-width: 100%;
  overflow-x: auto;
  padding: 8px;
  margin: 0;
  list-style: none;
  border: 1px solid var(--lab-line);
  border-radius: 12px;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-sm);
  scroll-snap-type: x proximity;
  scroll-padding-inline: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--lab-line-strong) transparent;
}

.o-hr {
  flex: 0 0 52px;
  scroll-snap-align: start;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 2px 7px;
  border-radius: var(--lab-radius);
  font-size: 13px;
  transition: background-color .15s;
}

.o-hr:not(.best):hover {
  background: var(--lab-surface2);
}

.o-hr.best {
  background: var(--lab-bg);
  box-shadow: inset 0 0 0 1.5px var(--lab-line-strong);
}

.o-hr.past {
  opacity: 1;
}

.o-hr.past .bar,
.o-hr.past .ic {
  opacity: .45;
}

.o-hr .t {
  font-family: var(--lab-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--lab-muted);
}

.o-hr .bar {
  width: min(30px, calc(100% - 8px));
  height: 6px;
  border-radius: 3px;
}

.bar.l0 {
  background: var(--go);
}

.bar.l1 {
  background: var(--wait);
}

.bar.l2 {
  background: var(--stop);
}

.o-hr .ic {
  width: 21px;
  height: 21px;
  color: var(--lab-text);
}

.o-hr .tp {
  font-weight: 650;
  font-family: var(--lab-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--lab-text);
}

.o-hr .rp {
  font-family: var(--lab-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--lab-muted);
}

.o-hr .rp.wet {
  color: var(--lab-text);
  font-weight: 700;
}

.o-hr.past .t,
.o-hr.past .tp,
.o-hr.past .rp {
  color: var(--lab-faint);
  font-weight: 500;
}

.o-hr.past .rp.wet {
  color: var(--lab-muted);
  font-weight: 600;
}

.o-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 8px 2px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--lab-muted);
}

.o-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------- weekend summary & 7-day list ---------- */
.o-weekend {
  margin: 0 0 10px;
  padding: 10px 14px;
  border: 1px solid var(--lab-line);
  border-left: 3px solid var(--lab-accent);
  border-radius: 0 var(--lab-radius) var(--lab-radius) 0;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-sm);
  font-size: 14px;
  line-height: 1.55;
  color: var(--lab-text);
}

.o-days {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--lab-line);
  border-radius: 12px;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-sm);
  overflow: hidden;
}

.o-days li + li {
  border-top: 1px solid var(--lab-line);
}

.o-day {
  width: 100%;
  display: grid;
  grid-template-columns: 76px 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  background: none;
  text-align: left;
  color: var(--lab-text);
  transition: background-color .15s, opacity .15s;
}

.o-day:hover {
  background: var(--lab-surface2);
}

.o-day:active {
  opacity: .88;
}

.o-day:focus-visible {
  outline-offset: -2px;
}

.o-day[aria-current="true"] {
  background: var(--lab-soft);
  box-shadow: inset 3px 0 0 var(--lab-accent);
}

.o-day[aria-current="true"]:hover {
  background: var(--lab-soft);
}

.o-day .dn {
  min-width: 0;
}

.o-day .dn b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}

.o-day .dn small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  color: var(--lab-muted);
  font-family: var(--lab-mono);
  font-variant-numeric: tabular-nums;
}

.o-day .dn.we b {
  color: var(--lab-accent);
}

.o-day[aria-current="true"] .dn.we b {
  color: var(--lab-text);
}

.o-day .ic {
  width: 22px;
  height: 22px;
  color: var(--lab-text);
}

.o-day .vd {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
}

.o-day .vd .dot {
  width: 10px;
  height: 10px;
}

.o-day .vd > span {
  font-weight: 600;
  white-space: nowrap;
}

.o-day[aria-current="true"] .vd > span {
  font-weight: 700;
}

.o-day .vd em {
  min-width: 0;
  font-style: normal;
  color: var(--lab-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.o-day .tr {
  font-family: var(--lab-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.o-day .tr small {
  display: block;
  margin-top: 1px;
  font-weight: 500;
  color: var(--lab-muted);
  font-size: 11.5px;
}

/* ---------- festivals ---------- */
.o-rad {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}

.o-fests {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.o-fest {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px 14px;
  padding: 14px;
  border: 1px solid var(--lab-line);
  border-radius: 12px;
  background: var(--lab-surface);
  box-shadow: var(--lab-shadow-sm);
  min-width: 0;
  transition: border-color .15s;
}

.o-fest:hover {
  border-color: var(--lab-line-strong);
}

.o-fest .img {
  width: 76px;
  height: 76px;
  border-radius: var(--lab-radius);
  border: 1px solid var(--lab-line);
  background: var(--lab-surface2);
  object-fit: cover;
  display: block;
}

.o-fest > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 3px;
}

.o-fest h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.35;
  color: var(--lab-text);
  overflow-wrap: anywhere;
}

.o-fest p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  color: var(--lab-muted);
  overflow-wrap: anywhere;
}

.o-fest .mono {
  font-size: 12.5px;
}

.o-fest-b {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

#festMore {
  min-height: 42px;
  border-radius: 10px;
}

/* ---------- about / sources ---------- */
.o-about {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--lab-line);
  font-size: 13px;
  line-height: 1.58;
  color: var(--lab-muted);
}

.o-about .o-h {
  font-size: 14.5px;
  color: var(--lab-text);
  margin-bottom: 8px;
}

.o-about ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.o-about li {
  overflow-wrap: anywhere;
}

.o-about a {
  color: var(--lab-accent);
  font-weight: 600;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: opacity .15s;
}

.o-about a:hover {
  opacity: .82;
}

/* ---------- place picker dialog ---------- */
.o-dlg {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid var(--lab-line-strong);
  border-radius: 14px;
  background: var(--lab-surface);
  color: var(--lab-text);
  box-shadow: var(--lab-shadow-lg);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--lab-line-strong) transparent;
}

.o-dlg::backdrop {
  background: var(--shade);
}

.o-dlg:focus-visible {
  outline: 2px solid var(--lab-accent);
  outline-offset: 2px;
}

.o-dlg-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 18px 20px 20px;
}

.o-dlg header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lab-line);
}

.o-dlg h2 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.o-dlg header .icon-btn {
  border: 1px solid var(--lab-line);
  background: var(--lab-surface);
  color: var(--lab-text);
  box-shadow: var(--lab-shadow-sm);
}

.o-dlg header .icon-btn:hover {
  border-color: var(--lab-line-strong);
  background: var(--lab-surface2);
}

.o-dlg h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lab-muted);
}

.btn.here {
  width: 100%;
  height: auto;
  min-height: 44px;
}

.btn.here .ic {
  color: var(--lab-accent);
}

.o-find {
  display: flex;
  gap: 8px;
  align-items: stretch;
  min-width: 0;
  max-width: 100%;
}

.o-find input {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--lab-line-strong);
  border-radius: var(--lab-radius);
  background: var(--lab-bg);
  color: var(--lab-text);
  font-size: 16px;
  line-height: 1.45;
  transition: border-color .15s, background-color .15s;
}

.o-find input::placeholder {
  color: var(--lab-faint);
  opacity: 1;
}

.o-find input:hover {
  border-color: var(--lab-muted);
}

.o-find input:focus {
  outline: 2px solid var(--lab-accent);
  outline-offset: -1px;
  border-color: var(--lab-accent);
}

.o-find .btn {
  flex: none;
  height: auto;
  min-height: 44px;
  padding: 0 14px;
  white-space: nowrap;
}

.o-found {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.o-found .o-note {
  margin: 0;
}

.o-res {
  display: grid;
  text-align: left;
  gap: 2px;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--lab-line);
  border-radius: var(--lab-radius);
  background: var(--lab-bg);
  color: var(--lab-text);
  transition: border-color .15s, background-color .15s, opacity .15s;
}

.o-res:hover {
  border-color: var(--lab-line-strong);
  background: var(--lab-surface2);
}

.o-res:active {
  opacity: .84;
}

.o-res b {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

.o-res small {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--lab-muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.o-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.o-quick button {
  height: auto;
  min-height: 32px;
  max-width: 100%;
  padding: 5px 12px;
  border: 1px solid var(--lab-line-strong);
  border-radius: 999px;
  background: var(--lab-bg);
  color: var(--lab-text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
  transition: border-color .15s, background-color .15s, opacity .15s;
}

.o-quick button:hover {
  border-color: var(--lab-text);
  background: var(--lab-surface2);
}

.o-quick button:active {
  opacity: .84;
}

/* ---------- toast ---------- */
.o-toast {
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: var(--lab-radius);
  background: var(--lab-ink);
  color: var(--lab-on-ink);
  box-shadow: var(--lab-shadow-lg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

/* ---------- tablet & desktop (>= 720px / 820px / 960px) ---------- */
@media (min-width: 720px) {
  .o-fests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 820px) {
  .o-hr {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (min-width: 960px) {
  .o-wrap {
    padding: 28px 16px 92px;
  }
}

/* ---------- mobile (<= 520px & 360px) ---------- */
@media (max-width: 520px) {
  .o-card {
    padding: 16px;
    gap: 14px 16px;
  }

  .o-lamp {
    width: 52px;
    padding: 8px;
    gap: 6px;
    border-radius: 14px;
  }

  .o-lamp i {
    width: 34px;
    height: 34px;
  }

  .o-card-b {
    padding-top: 12px;
  }

  .o-card-b .btn.primary {
    width: 100%;
  }

  .o-src {
    margin-left: 0;
  }

  .o-day {
    grid-template-columns: 68px 22px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 11px 12px;
  }

  .o-day .dn b {
    font-size: 14px;
  }

  .o-day .vd {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2px 7px;
  }

  .o-day .vd > span {
    white-space: normal;
    line-height: 1.3;
  }

  .o-day .vd em {
    grid-column: 2;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
  }
}

@media (max-width: 420px) {
  .o-wrap {
    padding: 16px 12px 76px;
  }

  .o-top {
    gap: 10px 12px;
  }

  .o-place b {
    font-size: 18px;
  }

  .o-act {
    padding: 5px 10px;
    font-size: 13px;
  }

  .o-fest {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 12px;
  }

  .o-fest .img {
    width: 66px;
    height: 66px;
  }

  .o-dlg-in {
    padding: 16px 16px 18px;
    gap: 13px;
  }

  .o-find .btn {
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .icon-btn,
  .o-place,
  .o-place .chg,
  .o-act,
  .o-act .ic,
  .o-lamp i,
  .o-hr,
  .o-day,
  .o-fest,
  .o-about a,
  .o-find input,
  .o-res,
  .o-quick button,
  .o-toast {
    transition: none;
  }
}
