/* Welcome popups (welcome.js). The inline panel (version A) is styled in index.html.
   Each version has its own look; every colour pair below was checked for WCAG AA contrast
   (4.5:1 text, 3:1 large text / controls) in both themes. Motion stops under prefers-reduced-motion. */

.wl-glass, .wl-sr { display: none; }
.wl-sr { display: block; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.wl-modal-open { overflow: hidden; }

/* ---- The popup frame ---- */
/* The dialog hugs its cards (no padding: Chromium paints a dialog's empty padding lighter than the backdrop). */
.wl-dialog {
  padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible;
  width: min(640px, calc(100vw - 40px)); max-width: none; max-height: none;
}
.wl-card { max-height: calc(100dvh - 40px); overflow-y: auto; }
.wl-dialog::backdrop {
  background: rgba(12, 10, 28, 0.58);
  -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%);
}
.wl-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.wl-card {
  position: relative; border-radius: 24px; padding: 2.1rem 2.1rem 1.4rem; background: var(--surface); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 1rem; line-height: 1.45;
}
.wl-dialog[open] .wl-card { animation: wl-pop 0.32s cubic-bezier(0.16, 1, 0.3, 1) both; }
.wl-dialog[open] .wl-card + .wl-card { animation-delay: 0.09s; }
@keyframes wl-pop { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }

.wl-card h2 { margin: 0 2.4rem 0.4rem 0; font-size: clamp(1.6rem, 4.4vw, 2.1rem); line-height: 1.12; font-weight: 760; letter-spacing: -0.02em; }
.wl-card h3 { margin: 0 0 0.9rem; font-size: 1.35rem; line-height: 1.2; font-weight: 740; letter-spacing: -0.01em; }
.wl-kicker { margin: 0 2.4rem 0.55rem 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.wl-card .wl-sub { margin: 0.2rem 0 1.1rem; color: var(--ink-secondary); font-size: 0.95rem; }
.wl-card .wl-x {
  position: absolute; top: 0.9rem; inset-inline-end: 0.9rem; width: 2.4rem; height: 2.4rem; border-radius: 999px;
  border: 1px solid transparent; background: transparent; color: inherit; font: inherit; font-size: 1.05rem; cursor: pointer;
}
.wl-card .wl-x:hover { background: rgba(127, 127, 127, 0.16); }
.wl-card .wl-form label { display: block; font-weight: 650; font-size: 1.05rem; margin-bottom: 0.5rem; }
.wl-card .wl-row { position: relative; display: flex; gap: 0.5rem; }
.wl-card .wl-row input {
  flex: 1; min-width: 0; font: inherit; font-size: 1.08rem; height: 3.3rem; padding: 0 1rem; color: inherit;
  background: var(--page); border: 1.5px solid var(--field); border-radius: 14px;
}
.wl-card .wl-row input:focus-visible { outline: none; border-color: currentColor; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3); }
.wl-card .wl-go {
  font: inherit; font-weight: 680; font-size: 1rem; padding: 0 1.35rem; min-height: 3.3rem; border-radius: 14px; cursor: pointer;
  color: var(--page); background: var(--ink); border: 1px solid transparent; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.wl-card .wl-go:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6); }
.wl-card .wl-go:disabled { cursor: default; opacity: 0.6; }
.wl-card .wl-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.wl-card .wl-chip, .wl-card .wl-browse, .wl-card a.wl-ai, .wl-card .wl-pause {
  font: inherit; font-size: 0.88rem; color: inherit; background: transparent; border: 1px solid var(--hairline);
  border-radius: 999px; padding: 0.38rem 0.8rem; cursor: pointer; text-decoration: none;
}
.wl-card .wl-chip:hover, .wl-card .wl-browse:hover, .wl-card a.wl-ai:hover, .wl-card .wl-pause:hover { background: rgba(127, 127, 127, 0.14); }
.wl-card .wl-msg:not(:empty) { margin-top: 0.9rem; font-size: 0.95rem; }
.wl-card .wl-ailinks { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.5rem; }
.wl-card .wl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.wl-card .wl-off { font-size: 0.86rem; display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; }
.wl-card .wl-off input { width: 1.05rem; height: 1.05rem; }
.wl-card details.wl-type { margin-top: 1rem; }
.wl-card details.wl-type summary { cursor: pointer; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; }
.wl-card details.wl-type .wl-form { margin-top: 0.7rem; }

/* Review-only version switcher (site.yaml welcome: compare), in the panel and every popup. */
.wl-compare { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 0.9rem; padding-top: 0.75rem; border-top: 1px dashed; font-size: 0.78rem; }
.wl-compare > span { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-inline-end: 0.3rem; }
.wl-compare button { font: inherit; color: inherit; background: transparent; border: 1px solid; border-radius: 999px; padding: 0.22rem 0.6rem; cursor: pointer; }
.wl-compare button[aria-pressed="true"] { font-weight: 800; border-width: 2px; text-decoration: underline; text-underline-offset: 2px; }
.welcome .wl-compare { border-color: var(--hairline); }

/* ---- B: Popup ("daylight"): the panel's content in a clean card with a colour ribbon ---- */
.wl-v-modal .wl-card { overflow: hidden; padding-top: 2.4rem; }
.wl-v-modal .wl-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, #ff5e62, #ff9966, #ffd166, #06d6a0, #4f7cff, #a259ff);
}
.wl-v-modal .wl-card h2 { font-size: clamp(1.7rem, 4.8vw, 2.3rem); }
.wl-v-modal .wl-glass { display: block; position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-52%); font-size: 1.45rem; color: var(--ink-muted); pointer-events: none; }
.wl-v-modal .wl-row input { padding-inline-start: 2.7rem; }
.wl-v-modal .wl-chip { border-color: var(--hairline); background: var(--page); }

/* ---- C: "Show me a ___ thing to do" ("night"): fixed dark palette in both themes ---- */
.wl-v-rotate .wl-card {
  color: #ffffff;
  background:
    radial-gradient(120% 85% at 0% 0%, rgba(79, 70, 229, 0.42) 0%, rgba(79, 70, 229, 0) 60%),
    radial-gradient(90% 80% at 100% 100%, rgba(219, 39, 119, 0.32) 0%, rgba(219, 39, 119, 0) 60%),
    #0e0b26;
  box-shadow: 0 30px 90px -20px rgba(30, 20, 90, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}
.wl-v-rotate :focus-visible, .wl-card-venues :focus-visible { outline-color: #ffffff; }
.wl-v-rotate .wl-kicker { color: #e0e3ff; }
.wl-v-rotate .wl-sub, .wl-v-rotate .wl-rothint { color: #e0e3ff; }
.wl-v-rotate .wl-card .wl-row input, .wl-card-venues .wl-row input {
  background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.45); color: #ffffff;
}
.wl-v-rotate .wl-card .wl-row input::placeholder, .wl-card-venues .wl-row input::placeholder { color: #c9cbe8; }
.wl-v-rotate .wl-card .wl-go { color: #1b1035; background: linear-gradient(135deg, #ff9cb5, #ffd166); }
.wl-v-rotate .wl-card .wl-chip, .wl-v-rotate .wl-card .wl-browse, .wl-v-rotate .wl-card a.wl-ai, .wl-v-rotate .wl-card .wl-pause { border-color: rgba(255, 255, 255, 0.35); }
.wl-v-rotate .wl-card .wl-foot { border-color: rgba(255, 255, 255, 0.18); }

/* The rotating sentence (C and D) */
.wl-show { font-size: clamp(2rem, 6.4vw, 3.2rem) !important; line-height: 1.08 !important; font-weight: 820 !important; letter-spacing: -0.035em !important; margin-bottom: 0.7rem !important; }
.wl-card h2[tabindex="-1"]:focus { outline: none; }
.wl-show { min-height: 2.16em; }
.wl-tail { white-space: nowrap; } /* "thing to do" stays together */
.wl-dialog.wl-v-rotate { width: min(720px, calc(100vw - 40px)); }
.wl-rot {
  font: inherit; letter-spacing: inherit; padding: 0 0.04em; margin: 0; border: 0; border-radius: 6px; cursor: pointer; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 94% / 100% 0.09em no-repeat; color: var(--rc);
}
.wl-rot:hover { background-size: 100% 0.16em; }
.wl-rot.wl-in { animation: wl-word 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes wl-word { from { opacity: 0; transform: translateY(0.35em); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.wl-rothint { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin: 0 0 1.2rem; font-size: 0.92rem; }
.wl-card .wl-pause { font-size: 0.8rem; padding: 0.25rem 0.7rem; }
/* Word colours on the dark cards (each >= 6.6:1 on every part of the gradient) */
.wl-v-rotate .wl-c0, .wl-dark-words .wl-c0 { --rc: #ff9cb5; }
.wl-v-rotate .wl-c1, .wl-dark-words .wl-c1 { --rc: #ffd166; }
.wl-v-rotate .wl-c2, .wl-dark-words .wl-c2 { --rc: #7ef0b0; }
.wl-v-rotate .wl-c3, .wl-dark-words .wl-c3 { --rc: #9fd0ff; }
.wl-v-rotate .wl-c4, .wl-dark-words .wl-c4 { --rc: #d4b8ff; }
.wl-v-rotate .wl-c5, .wl-dark-words .wl-c5 { --rc: #7eebfa; }
.wl-v-rotate .wl-c6, .wl-dark-words .wl-c6 { --rc: #ffbe8a; }

/* ---- D: two popups ("sunrise" things to do + "harbour" venues to book) ---- */
.wl-v-venues { width: min(1040px, calc(100vw - 40px)); }
@media (min-width: 880px) { .wl-v-venues .wl-wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: stretch; } }
.wl-v-venues .wl-card-main { color: #1d1726; background: linear-gradient(140deg, #fff8f1 0%, #fff1f5 55%, #f3f0ff 100%); }
.wl-v-venues .wl-card-main .wl-kicker { color: #8f1747; }
.wl-v-venues .wl-card-main .wl-sub, .wl-v-venues .wl-card-main .wl-rothint { color: #5b4f66; }
.wl-v-venues .wl-card-main .wl-row input { background: #ffffff; border-color: #8f86a0; }
.wl-v-venues .wl-card-main .wl-go { background: #1d1726; color: #ffffff; }
.wl-v-venues .wl-card-main .wl-chip, .wl-v-venues .wl-card-main .wl-browse, .wl-v-venues .wl-card-main .wl-pause, .wl-v-venues .wl-card-main a.wl-ai { border-color: #cdbfd6; }
.wl-v-venues .wl-card-main .wl-foot { border-color: #e6dbe9; }
.wl-v-venues .wl-card-main :focus-visible { outline-color: #1d1726; }
.wl-v-venues .wl-c0 { --rc: #be185d; } .wl-v-venues .wl-c1 { --rc: #a04a06; } .wl-v-venues .wl-c2 { --rc: #047857; }
.wl-v-venues .wl-c3 { --rc: #1d4ed8; } .wl-v-venues .wl-c4 { --rc: #6d28d9; } .wl-v-venues .wl-c5 { --rc: #0e7490; } .wl-v-venues .wl-c6 { --rc: #c2410c; }
:root[data-theme="dark"] .wl-v-venues .wl-card-main { color: #ffffff; background: linear-gradient(140deg, #231a2e 0%, #2a1622 60%, #17142a 100%); }
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-kicker { color: #ffb3c8; }
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-sub, :root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-rothint { color: #e2d6ea; }
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-row input { background: rgba(255, 255, 255, 0.07); border-color: #8f86a0; color: #ffffff; }
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-go { background: #ffffff; color: #1d1726; }
:root[data-theme="dark"] .wl-v-venues .wl-card-main :focus-visible { outline-color: #ffffff; }
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-chip, :root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-browse,
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-pause { border-color: rgba(255, 255, 255, 0.3); }
:root[data-theme="dark"] .wl-v-venues .wl-card-main .wl-foot { border-color: rgba(255, 255, 255, 0.14); }
:root[data-theme="dark"] .wl-v-venues .wl-c0 { --rc: #ff9cb5; } :root[data-theme="dark"] .wl-v-venues .wl-c1 { --rc: #ffd166; }
:root[data-theme="dark"] .wl-v-venues .wl-c2 { --rc: #7ef0b0; } :root[data-theme="dark"] .wl-v-venues .wl-c3 { --rc: #9fd0ff; }
:root[data-theme="dark"] .wl-v-venues .wl-c4 { --rc: #d4b8ff; } :root[data-theme="dark"] .wl-v-venues .wl-c5 { --rc: #7eebfa; }
:root[data-theme="dark"] .wl-v-venues .wl-c6 { --rc: #ffbe8a; }
.wl-card-venues {
  color: #ffffff; background: radial-gradient(90% 70% at 100% 0%, rgba(45, 212, 191, 0.22) 0%, rgba(45, 212, 191, 0) 60%), linear-gradient(165deg, #0f3d4c 0%, #0b2533 60%, #0a1a26 100%);
  box-shadow: 0 30px 80px -20px rgba(4, 30, 40, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  display: flex; flex-direction: column;
}
.wl-card-venues .wl-kicker { color: #9ff0e0; }
.wl-card-venues .wl-go { background: #5eead4 !important; color: #062a2a !important; }
.wl-card-venues .wl-chip { border-color: rgba(255, 255, 255, 0.3) !important; background: rgba(255, 255, 255, 0.06) !important; }
.wl-card-venues .wl-row { flex-direction: column; }
.wl-card-venues .wl-row input { flex: none; }
.wl-vstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1.3rem 0 0; }
.wl-vstats div { padding: 0.75rem 0.7rem; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.wl-vstats dt { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em; color: #5eead4; }
.wl-vstats dd { margin: 0.15rem 0 0; font-size: 0.78rem; line-height: 1.3; color: #cfe9e6; }
.wl-card-venues .wl-fine { margin: auto 0 0; padding-top: 1.1rem; font-size: 0.86rem; color: #cfe9e6; }

/* ---- E: fill in the blanks ("editorial"): serif, paper, underlined menus ---- */
.wl-v-madlib { width: min(740px, calc(100vw - 40px)); }
.wl-v-madlib .wl-card {
  border-radius: 10px; padding: 2.4rem 2.4rem 1.5rem; color: #231c14; background: #fbf7ee;
  box-shadow: 0 30px 80px -24px rgba(40, 25, 10, 0.55), 0 0 0 1px #e8dfcc;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
.wl-v-madlib .wl-kicker {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #8a4b16; letter-spacing: 0.24em;
  padding-bottom: 0.7rem; border-bottom: 3px double #d9c9a8; margin-inline-end: 3rem;
}
.wl-v-madlib .wl-card h2 { font-style: italic; font-weight: 600; letter-spacing: -0.01em; font-size: clamp(1.8rem, 5vw, 2.5rem); margin-top: 0.9rem; }
.wl-v-madlib .wl-sentence { font-size: clamp(1.3rem, 3.8vw, 1.85rem); line-height: 2; margin: 0.6rem 0 1.2rem; }
.wl-v-madlib select {
  -webkit-appearance: none; appearance: none; font: inherit; font-style: italic; color: #9a3412; background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a3412' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.15rem center;
  border: 0; border-bottom: 2px solid #c2410c; border-radius: 0; padding: 0 1.25rem 0 0.1rem; max-width: 100%; cursor: pointer;
}
.wl-v-madlib select:hover { background-color: rgba(194, 65, 12, 0.07); }
.wl-v-madlib select:focus-visible { outline: 2px solid #231c14; outline-offset: 3px; }
.wl-v-madlib .wl-free { font-size: 0.62em; font-style: normal; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; margin-inline-start: 0.5em; white-space: nowrap; vertical-align: middle; cursor: pointer; }
.wl-v-madlib .wl-free input { accent-color: #c2410c; width: 1.05rem; height: 1.05rem; vertical-align: -0.15em; }
.wl-v-madlib .wl-go.wl-big { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #231c14; color: #fbf7ee; border-radius: 999px; padding: 0 1.7rem; min-height: 3.3rem; font-size: 1.05rem; }
.wl-v-madlib .wl-sub { color: #5f5141; font-size: 0.95rem; margin-top: 1rem; }
.wl-v-madlib .wl-foot, .wl-v-madlib details, .wl-v-madlib .wl-msg, .wl-v-madlib .wl-compare { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.wl-v-madlib .wl-foot { border-color: #e3d6bd; }
.wl-v-madlib .wl-chip, .wl-v-madlib .wl-browse, .wl-v-madlib a.wl-ai { border-color: #d9c9a8; }
.wl-v-madlib .wl-row input { background: #ffffff; border-color: #a8987c; }
.wl-v-madlib .wl-form .wl-go { background: #231c14; color: #fbf7ee; }
.wl-v-madlib :focus-visible { outline-color: #231c14; }
:root[data-theme="dark"] .wl-v-madlib .wl-card { color: #f3ead8; background: #1c1813; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px #3a3125; }
:root[data-theme="dark"] .wl-v-madlib .wl-kicker { color: #f0b27a; border-color: #4a3e2c; }
:root[data-theme="dark"] .wl-v-madlib select { color: #fdba74; border-color: #fb923c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fdba74' stroke-width='2'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .wl-v-madlib select option, :root[data-theme="dark"] .wl-v-madlib select optgroup { color: #f3ead8; background: #1c1813; }
:root[data-theme="dark"] .wl-v-madlib select:focus-visible, :root[data-theme="dark"] .wl-v-madlib :focus-visible { outline-color: #f3ead8; }
:root[data-theme="dark"] .wl-v-madlib .wl-go.wl-big, :root[data-theme="dark"] .wl-v-madlib .wl-form .wl-go { background: #f3ead8; color: #1c1813; }
:root[data-theme="dark"] .wl-v-madlib .wl-sub { color: #cbbfa8; }
:root[data-theme="dark"] .wl-v-madlib .wl-foot { border-color: #3a3125; }
:root[data-theme="dark"] .wl-v-madlib .wl-row input { background: #120f0b; border-color: #7a6b55; }
:root[data-theme="dark"] .wl-v-madlib .wl-chip, :root[data-theme="dark"] .wl-v-madlib .wl-browse { border-color: #4a3e2c; }

/* ---- F: tiles ("app"): a When switch, colour tiles, a live count; a bottom sheet on phones ---- */
.wl-v-tiles { width: min(740px, calc(100vw - 40px)); }
.wl-seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 4px; margin: 0.2rem 0 1rem; border-radius: 999px; background: var(--hover); border: 1px solid var(--hairline); }
.wl-seg button { font: inherit; font-size: 0.9rem; font-weight: 620; color: var(--ink-secondary); background: transparent; border: 0; border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer; }
.wl-seg button[aria-pressed="true"] { color: var(--page); background: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, 0.5); }
.wl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 1rem; }
.wl-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 0.6rem;
  min-height: 100px; padding: 0.85rem 0.9rem; border: 0; border-radius: 18px; cursor: pointer; text-align: start;
  font: inherit; font-weight: 720; font-size: 0.98rem; color: #ffffff; background: linear-gradient(145deg, var(--t1), var(--t2));
  box-shadow: 0 8px 18px -10px var(--t2); transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.wl-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -12px var(--t2); }
.wl-tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wl-tile[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--ink); transform: translateY(-1px); }
.wl-ti { font-size: 1.75rem; line-height: 1; }
.wl-tick {
  position: absolute; top: 0.6rem; inset-inline-end: 0.6rem; width: 1.55rem; height: 1.55rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; color: #111111; background: #ffffff; opacity: 0; transform: scale(0.6);
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.wl-tile[aria-pressed="true"] .wl-tick { opacity: 1; transform: none; }
.wl-t0 { --t1: #7c3aed; --t2: #5b21b6; } .wl-t1 { --t1: #c0265e; --t2: #8f1747; } .wl-t2 { --t1: #c2410c; --t2: #9a3412; }
.wl-t3 { --t1: #047857; --t2: #065f46; } .wl-t4 { --t1: #1d4ed8; --t2: #1e3a8a; } .wl-t5 { --t1: #b4237a; --t2: #831858; }
.wl-t6 { --t1: #4338ca; --t2: #312e81; } .wl-t7 { --t1: #0e7490; --t2: #155e75; } .wl-t8 { --t1: #b45309; --t2: #8a3c06; }
.wl-t9 { --t1: #be123c; --t2: #881337; } .wl-t10 { --t1: #0f766e; --t2: #134e4a; } .wl-t11 { --t1: #15803d; --t2: #14532d; }
.wl-v-tiles .wl-go.wl-big { position: sticky; bottom: 0.6rem; z-index: 1; width: 100%; min-height: 3.4rem; border-radius: 16px; font-size: 1.05rem; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6); }

/* ---- Phones ---- */
@media (max-width: 640px) {
  .wl-dialog, .wl-dialog.wl-v-rotate { width: calc(100% - 20px); max-height: calc(100dvh - 20px); overflow-y: auto; border-radius: 20px; }
  .wl-card { max-height: none; overflow: visible; }
  .wl-dialog.wl-v-venues .wl-wrap { gap: 10px; }
  .wl-card { padding: 1.5rem 1.15rem 1.1rem; border-radius: 20px; }
  .wl-card .wl-row { flex-direction: column; }
  .wl-card .wl-row input { flex: none; height: 3.1rem; }
  .wl-show { min-height: 3.24em; }
  .wl-seg { display: flex; flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .wl-seg button { flex: none; }
  .wl-card .wl-row .wl-go { min-height: 3rem; }
  .wl-v-modal .wl-glass { top: 1.65rem; }
  .wl-cv-name { display: none; }
  .wl-v-madlib .wl-card { padding: 1.7rem 1.2rem 1.2rem; }
  /* F: a bottom sheet */
  .wl-dialog.wl-v-tiles { margin: auto 0 0; inset-inline: 0; width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .wl-dialog { overflow-x: hidden; }
  .wl-v-tiles .wl-card { border-radius: 24px 24px 0 0; padding-bottom: 1.5rem; }
  .wl-dialog.wl-v-tiles[open] .wl-card { animation: wl-sheet 0.34s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .wl-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .wl-tile { min-height: 76px; padding: 0.6rem 0.65rem; font-size: 0.84rem; border-radius: 15px; gap: 0.35rem; }
  .wl-ti { font-size: 1.45rem; }
}
@keyframes wl-sheet { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 360px) { .wl-tiles { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .wl-dialog[open] .wl-card, .wl-dialog.wl-v-tiles[open] .wl-card, .wl-rot.wl-in { animation: none !important; }
  .wl-tile, .wl-tick, .wl-card .wl-go { transition: none; }
  .wl-tile:hover, .wl-card .wl-go:hover:not(:disabled) { transform: none; }
}
