/* Weekend roulette (pl.emberfare.com/ruletka/, owner 2026-10-22). Scoped to the page.
   Same look as the PL home: cream page, Instrument Serif headline with a
   coral italic, white filter card with pill chips; the wheel is the one
   saturated object (navy, coral, cream, burgundy, gold rim). */
.pl-roulette-page .roulette {
  --r-night: #0c1730; --r-cream: #f7f0e7; --r-coral: #f4633f; --r-gold: #e9b13f;
  --r-ink: #141d33; --r-muted: #6e6a63; --r-line: rgba(20,29,51,.10);
  position: relative; isolation: isolate; color: var(--r-ink);
  background:
    radial-gradient(50% 40% at 78% 28%, rgba(244,99,63,.13), transparent 70%),
    radial-gradient(40% 30% at 10% 90%, rgba(239,195,178,.25), transparent 70%),
    var(--r-cream);
  padding: 28px max(16px, env(safe-area-inset-right, 0px)) 56px max(16px, env(safe-area-inset-left, 0px));
  display: grid; gap: 22px; justify-items: center; overflow: hidden;
}
.pl-roulette-page .roulette > * { width: 100%; max-width: 1120px; }
.roulette-stage-wrap { display: grid; gap: 24px; align-items: center; }
.roulette-hero { order: 1; } .roulette-form { order: 2; } .roulette-wheel-col { order: 3; }
@media (min-width: 900px) {
  .roulette-stage-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); grid-template-areas: "hero wheel" "form wheel"; column-gap: 48px; row-gap: 0; }
  .roulette-hero { grid-area: hero; align-self: end; } .roulette-form { grid-area: form; align-self: start; } .roulette-wheel-col { grid-area: wheel; }
}
@media (max-width: 899px) { .roulette-lead { display: none; } .roulette-hero { text-align: center; } .roulette-form { margin-top: 0; } }
.roulette-kicker { margin: 0; color: var(--r-coral); font: 600 11px/1.2 'Instrument Sans', system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.roulette-hero h1 {
  margin: 12px 0 10px; font: 400 clamp(46px, 6vw, 80px)/.92 'Instrument Serif', Georgia, serif; letter-spacing: -.035em; color: var(--r-ink);
}
.roulette-hero h1 em { color: var(--r-coral); font-style: italic; }
.roulette-sub { margin: 0 0 12px; font: 400 clamp(20px, 2.4vw, 26px)/1.2 'Instrument Serif', Georgia, serif; color: var(--r-ink); }
.roulette-lead { margin: 0; color: var(--r-muted); max-width: 52ch; font-size: 15px; line-height: 1.55; }

.roulette-form {
  margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px;
  background: rgba(255,250,245,.9); border: 1px solid rgba(20,29,51,.08); border-radius: 22px; padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(20,29,51,.05);
}
.roulette-field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; font-size: 14px; }
.roulette-field--wide { grid-column: 1 / -1; }
.roulette-field > span, .roulette-field > legend { color: var(--r-coral); font: 600 9.5px/1 'Instrument Sans', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 0; }
.roulette-field select {
  font: 600 13px 'Instrument Sans', system-ui, sans-serif; min-height: 40px; padding: 0 14px; border: 1px solid var(--r-line); border-radius: 999px;
  background: rgba(255,253,249,.9); color: var(--r-ink); min-width: 0; width: 100%;
}
fieldset.roulette-field { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
fieldset.roulette-field > legend { width: 100%; margin-bottom: 7px; }
.roulette-chip {
  display: inline-flex; gap: 7px; align-items: center; min-height: 36px; border: 1px solid var(--r-line); border-radius: 999px;
  padding: 0 14px; cursor: pointer; background: rgba(255,253,249,.82); color: var(--r-ink); font: 600 12px 'Instrument Sans', system-ui, sans-serif;
}
.roulette-chip:hover { border-color: rgba(244,99,63,.34); }
.roulette-chip:has(input:checked) { border-color: var(--r-night); background: var(--r-night); color: #fff; }
.roulette-chip { position: relative; }
.roulette-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }

@media (max-width: 420px) { .roulette-form { grid-template-columns: 1fr; } }

/* wheel */
.roulette-wheel-col { display: grid; justify-items: center; gap: 14px; }
.roulette-wheel { position: relative; width: min(92vw, 500px); height: min(92vw, 500px); aspect-ratio: 1; margin-top: 18px; }
.roulette-wheel::before {
  content: ""; position: absolute; inset: -6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(244,99,63,.22) 0%, rgba(239,195,178,.18) 45%, transparent 70%);
}
.roulette-wheel .wheel-svg:first-of-type { filter: drop-shadow(0 22px 34px rgba(20,29,51,.22)); }
.wheel-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wheel-rotor { position: absolute; inset: 0; will-change: transform; }
.wheel-sector { stroke: rgba(255,226,176,.55); stroke-width: 1.2; }
.wheel-sector.is-winner { stroke: var(--r-gold); stroke-width: 4; filter: brightness(1.12); }
.wheel-city { font: 700 15px 'Instrument Sans', system-ui, sans-serif; }
.wheel-city.is-small { font-size: 13px; }
.wheel-price { font: 600 13px 'Instrument Sans', system-ui, sans-serif; opacity: .9; }
.wheel-deal { font: 700 9.5px 'Instrument Sans', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.wheel-sector.is-deal { stroke: #fff0c2; stroke-width: 2; }
.wheel-bulb { fill: #fff3df; filter: drop-shadow(0 0 3px #ffd59a); }
.wheel-hub {
  position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #1c2a55, var(--r-night) 70%);
  border: 4px solid #e9b36f; box-shadow: 0 0 0 3px rgba(12,23,48,.8), 0 0 28px rgba(244,99,63,.45), inset 0 0 18px rgba(0,0,0,.5);
}
.wheel-hub img { width: 78%; height: 78%; object-fit: contain; }
.wheel-pointer {
  position: absolute; left: 50%; top: -5.5%; width: 9%; z-index: 2; transform: translateX(-50%);
  transform-origin: 50% 10%; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(244,99,63,.6));
}
.wheel-pointer.is-tick { animation: wheel-tick .14s ease-out; }
@keyframes wheel-tick { 0% { transform: translateX(-50%) rotate(0); } 40% { transform: translateX(-50%) rotate(-14deg); } 100% { transform: translateX(-50%) rotate(0); } }
@media (prefers-reduced-motion: no-preference) {
  .roulette.is-spinning .wheel-bulb { animation: wheel-blink .5s steps(2) infinite; }
  .roulette.is-spinning .wheel-bulb.is-alt { animation-delay: .25s; }
  @keyframes wheel-blink { 50% { fill: #f4633f; } }
  .roulette-result:not([hidden]) { animation: roulette-in .45s ease-out; }
  @keyframes roulette-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
}
@media (prefers-reduced-motion: reduce) { .wheel-pointer.is-tick { animation: none; } }

.roulette-spin {
  font: 700 clamp(18px, 5vw, 22px) 'Instrument Sans', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; border: 0; border-radius: 999px; padding: 16px 40px; cursor: pointer; white-space: nowrap;
  background: var(--r-coral); box-shadow: 0 12px 26px rgba(244,99,63,.32);
  min-width: min(100%, 300px);
}
.roulette-spin:hover:not(:disabled) { background: #e9542f; }
.roulette-spin:disabled { opacity: .55; cursor: default; }
.roulette-spin:focus-visible, .roulette-chip:focus-within, .roulette-field select:focus-visible {
  outline: 2px solid var(--r-coral); outline-offset: 2px;
}
.roulette-count { margin: 0; color: var(--r-muted); font-size: 13px; text-align: center; max-width: 46ch; }

/* result: a small weekend guide */
.roulette-result {
  max-width: 820px !important; background: #fffaf5; color: var(--r-ink); border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(20,29,51,.08); box-shadow: 0 18px 44px rgba(20,29,51,.10);
}
.rr-hero {
  position: relative; min-height: 220px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  color: #fff; background: linear-gradient(135deg, #16234a, #7a2238) center / cover no-repeat;
}
.rr-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,23,48,.05) 20%, rgba(12,23,48,.85) 100%); }
.rr-hero > * { position: relative; margin: 0; }
.rr-kicker { color: var(--r-gold); font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.rr-city { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(38px, 8vw, 58px); line-height: 1; overflow-wrap: anywhere; }
.rr-iata { margin-left: .4em; font: 600 .36em 'Instrument Sans', system-ui, sans-serif; letter-spacing: .08em; opacity: .8; vertical-align: middle; }
.rr-country { opacity: .85; font-size: 14px; }
.rr-credit { position: absolute !important; right: 10px; top: 8px; font-size: 10.5px; color: rgba(255,255,255,.75) !important; text-decoration: none; }
.rr-body { padding: 18px 20px 22px; display: grid; gap: 16px; }
.rr-flight { display: grid; gap: 8px; justify-items: start; }
.rr-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; }
.rr-facts div { display: grid; gap: 1px; }
.rr-facts dt { color: var(--r-muted); font-size: 12px; }
.rr-facts dd { margin: 0; font-weight: 600; }
.rr-price { margin: 2px 0 0; font-size: 40px; font-weight: 700; color: var(--r-coral); font-variant-numeric: tabular-nums; line-height: 1.1; }
.rr-price small { font-size: 14px; font-weight: 400; color: var(--r-muted); }
.rr-checked, .rr-muted { margin: 0; font-size: 12.5px; color: var(--r-muted); }
.rr-weather { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff; font-weight: 600; }
.rr-why { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.rr-block h3 { margin: 0 0 10px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 26px; }
.rr-stays { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.rr-stay-opt { background: #fff; border: 1px solid #e7dccd; border-radius: 14px; padding: 14px; display: grid; gap: 6px; align-content: start; justify-items: start; }
.rr-stay-opt.is-nice { border-color: #e9b36f; box-shadow: 0 0 0 2px rgba(233,179,111,.25); }
.rr-stay-photo { display: block; margin: -14px -14px 4px; justify-self: stretch; }
.rr-stay-photo img { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: 13px 13px 0 0; }
.rr-opt-kicker { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--r-coral); font-weight: 700; }
.rr-hotel { margin: 0; }
.rr-rating { color: #b77a12; font-weight: 600; }
.rr-hotel-price { margin: 0; font-weight: 600; }
.rr-total { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--r-night); color: var(--r-cream); }
.rr-total strong { color: var(--r-gold); }
.rr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.rr-chip { text-decoration: none; color: var(--r-ink); background: #fff; border: 1px solid #e7dccd; border-radius: 999px; padding: 7px 13px; font-size: 14px; }
.rr-chip:hover { border-color: var(--r-coral); }
.rr-acts { display: grid; gap: 10px; }
.rr-act { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--r-ink);
  background: #fff; border: 1px solid #e7dccd; border-radius: 14px; padding: 8px; }
.rr-act:hover { border-color: var(--r-coral); }
.rr-act img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.rr-act-body { display: grid; gap: 3px; min-width: 0; }
.rr-act-title { font-weight: 600; line-height: 1.25; }
.rr-act-meta { font-size: 12.5px; color: var(--r-muted); }
.rr-act-price { font-weight: 700; color: var(--r-coral); }
.rr-link { color: var(--r-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--r-coral); text-underline-offset: 3px; }
.rr-fun > .rr-link { display: inline-block; margin-top: 10px; }
.rr-hotel-price strong { font-size: 20px; color: var(--r-ink); }
.rr-hotel-price span { color: var(--r-muted); font-weight: 400; }
.rr-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid #e7dccd; padding-top: 14px; }
.rr-btn {
  display: inline-block; text-decoration: none; font: 600 15px 'Instrument Sans', system-ui, sans-serif; cursor: pointer;
  border: 1.5px solid var(--r-ink); border-radius: 999px; padding: 10px 20px; color: var(--r-ink); background: transparent;
}
.rr-btn.is-main { background: var(--r-coral); color: #fff; border-color: var(--r-coral); }
.rr-btn.is-trip { background: var(--r-night); color: var(--r-cream); border-color: var(--r-night); }
.rr-btn:focus-visible, .rr-chip:focus-visible { outline: 3px solid var(--r-gold); outline-offset: 2px; }
.roulette-mystery { grid-column: 1 / -1; justify-self: start; }
.roulette-more { max-width: 820px !important; background: rgba(255,250,245,.9); border: 1px solid rgba(20,29,51,.08); border-radius: 22px; padding: 16px 20px; }
.roulette-more h3 { margin: 0 0 8px; font: 400 22px 'Instrument Serif', Georgia, serif; color: var(--r-ink); }
.roulette-more ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.roulette-more a { color: var(--r-ink); text-decoration-color: var(--r-coral); text-underline-offset: 3px; }
.roulette-result[hidden], .roulette-more[hidden] { display: none; }
.roulette-fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--r-muted); max-width: 760px !important; text-align: center; }
.roulette-hint {
  margin: 0; max-width: 420px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid rgba(244,99,63,.35);
  color: var(--r-ink); font-size: 14.5px; line-height: 1.45; text-align: center; display: grid; gap: 10px; justify-items: center;
  box-shadow: 0 8px 22px rgba(20,29,51,.08);
}
.roulette-hint[hidden] { display: none; }
.roulette-widen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; max-width: 460px; font-size: 13.5px; color: var(--r-muted); }
.roulette-widen[hidden] { display: none; }
.roulette-widen-btn { font: 600 13.5px 'Instrument Sans', system-ui, sans-serif; border: 1px dashed var(--r-coral); border-radius: 999px; padding: 8px 14px; background: #fff; color: var(--r-ink); cursor: pointer; }
.roulette-widen-btn:hover { background: #fff3ea; }
.roulette-hint-btn { font: 600 14px 'Instrument Sans', system-ui, sans-serif; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--r-night); color: #fff; cursor: pointer; }
.roulette-field.is-attention select, .roulette-field.is-attention .roulette-chip { border-color: var(--r-coral); box-shadow: 0 0 0 3px rgba(244,99,63,.22); }
@media (prefers-reduced-motion: no-preference) {
  .roulette-field.is-attention { animation: roulette-nudge .5s ease-in-out 2; }
  @keyframes roulette-nudge { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
}
.roulette-share { --r-night: #0c1730; --r-cream: #f7f0e7; --r-coral: #f4633f; --r-gold: #e9b13f; --r-ink: #141d33; --r-muted: #6e6a63; position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(12,23,48,.55); backdrop-filter: blur(3px); }
.roulette-share-panel { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fffaf5; border-radius: 24px; padding: 18px; display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.roulette-share-title { margin: 0; font: 400 26px 'Instrument Serif', Georgia, serif; color: #141d33; }
.roulette-share-close { position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; color: #141d33; }
.roulette-share-preview { display: grid; place-items: center; min-height: 200px; }
.roulette-share-preview img { width: auto; max-width: 100%; max-height: 60vh; object-fit: contain; border-radius: 14px; box-shadow: 0 8px 22px rgba(20,29,51,.15); }
.roulette-share-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.roulette-share-actions .rr-muted { flex-basis: 100%; text-align: center; }
/* day chips: selected = dark with a tick, not selected = white outline (owner, 2026-10-22) */
.roulette-chip::before { content: "+"; font-weight: 700; color: var(--r-coral); width: 12px; text-align: center; }
.roulette-chip:has(input:checked)::before { content: "\2713"; color: #fff; }
.roulette-chip:not(:has(input:checked)) { background: #fff; color: var(--r-muted); border-style: dashed; }
.roulette-field legend em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--r-muted); font-weight: 500; }
.roulette-switch { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; padding: 4px 0; }
.roulette-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.roulette-switch-track { flex: 0 0 auto; width: 48px; height: 28px; border-radius: 999px; background: #d9d2c8; position: relative; transition: background .2s; }
.roulette-switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.roulette-switch input:checked + .roulette-switch-track { background: var(--r-coral); }
.roulette-switch input:checked + .roulette-switch-track::after { transform: translateX(20px); }
.roulette-switch input:focus-visible + .roulette-switch-track { outline: 2px solid var(--r-coral); outline-offset: 2px; }
.roulette-switch-text { display: grid; gap: 2px; font-size: 14px; color: var(--r-ink); }
.roulette-switch-text small { color: var(--r-muted); font-size: 12.5px; }
.roulette-hero .roulette-switch { margin-top: 14px; padding: 10px 14px; background: rgba(255,250,245,.9); border: 1px solid rgba(20,29,51,.08); border-radius: 16px; width: fit-content; text-align: left; }
@media (max-width: 899px) { .roulette-hero .roulette-switch { margin-left: auto; margin-right: auto; } }

.rr-cost-summary{margin:16px 0;padding:18px;border:1px solid #dfd5c8;border-radius:16px;background:#f8f0e5}.rr-cost-summary h3{margin:0 0 10px;font-size:18px}.rr-cost-summary p{font-size:14px;line-height:1.65;margin:8px 0}.rr-cost-summary>strong{display:block;font-size:21px;color:#0c1730}
