/* =====================================================================
   A Menu for Two: visual design ("Golden hour pebbles")
   Loaded after the base styles in index.html and overrides them.
   Only the look lives here: no layout logic, no text, no behaviour.

   The look, in short:
   - A soft golden-hour gradient over the whole screen
     (her: apricot, coral pink, lilac; him: honey, sky blue, soft mint)
   - Elegant serif titles (Didot / Bodoni) and a light sans for text
   - Cards are "pebbles": soft organic cream shapes, no outlines
   - Mood picker and mood marks: the mood name with a watercolor glow
   - Main buttons: italic words with a hand-drawn wavy "ink line"
   - Action rows and choice buttons: words on a painted brush stroke
   - No emoji or icon circles

   Built in layers (each later section refines the ones before it):
   1. "Open air": strips frames, boxes, lines and shadows
   2. Typography and centered layout
   3. Golden hour colors, pebbles and all the details on top
   ===================================================================== */

/* ---------- Layer 1: open air (no frames) ---------- */
/* =====================================================================
   DESIGN TRY 3: "Open air"
   No frames at all: no boxes, no outlines, no filled blocks, no lines.
   Things float on a calm background and are separated only by space.
   Soft, muted colors; a light modern font; no emoji.
   ===================================================================== */

/* ---------- Palettes: soft and muted ---------- */
body.neutral{--bg:#f4f3f1;--ink:#2e2e30;--soft:#9a9a9e;--acc:#6f6f75;--l1:#b5b5b9;--l2:#9d9da2;--l3:#85858b;--l4:#6d6d73}
body.he{--bg:#16181d;--ink:#e4e6ea;--soft:#7c818c;--acc:#93b4c8;--l1:#86b3a6;--l2:#93b4c8;--l3:#a99cc9;--l4:#c98f98}
body.she{--bg:#f7f1ee;--ink:#40323a;--soft:#a8979d;--acc:#c27a8c;--l1:#e3b9c2;--l2:#d495a5;--l3:#b77a98;--l4:#8e5772}
body.neutral,body.he,body.she{--card:var(--bg);--g1:var(--acc);--g2:var(--acc);--r:0px;--line:transparent;--hair:transparent;--glass:transparent;--glass2:var(--bg);--chip:transparent;
  --tint:color-mix(in srgb,var(--acc) 12%,transparent);
  --head:"Avenir Next","Helvetica Neue",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-family:"Avenir Next","Helvetica Neue",system-ui,-apple-system,"Segoe UI",sans-serif}

/* ---------- Remove every frame, line, glow and shadow ---------- */
body::before,.stage::before,.backf::before,.front::after,.tagline::before,.game.pick .pk-who::before,.logo{display:none}
*,*::before,*::after{box-shadow:none!important;text-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.group,.game,.us-strip,.mt-sec,.hw,.lc-act,.hl,.sp-item,.sp-own,.sp-acts button,.ow-box,.ow-frame,.ow-askin,.banner,
.nv-card,.swcard,.backf,.front,.ps-die,.die,.seal,.td-pick button,.mt-list button,.sp-end .mt-list div,
.pill,.sugs button,.role,.tagline,.om-seg,.tabs .in,.icon,.fav-btn,.swbtns button,.item,.chip,.lc-list,.lc-item,
.ow-sec,.ow-row,.ow-perm,.ow-item,.ow-log,.ow-head,.ow-block,.ow-st + .ow-st,.sp-edit,.set-del,.cd-in,.divider,.feat-head,header{
  background:none!important;border:0!important;border-radius:0!important;outline:0}
.divider{height:0;margin:20px 0}

/* ---------- Type ---------- */
h1,h2,.brand{font-family:var(--head)}
h1{font-size:2.3rem;line-height:1.12;font-weight:300;letter-spacing:-.02em}
h2,body.he h2{font-size:1.2rem;font-weight:400;text-transform:none;letter-spacing:0;color:var(--ink)}
body.she h1,body.she h2,body.she .brand,body.she .game b,body.she .backf .t,body.she .nv-card p,body.she .swcard .t,body.she .item b,body.she .hw-t b,body.she .ps-die b,body.she .td-kind,body.she .td-turn,body.she .ow-sec .tt .tn,body.she .ow-head h2,body.she .ow-big,body.she .ow-st-h{font-style:normal}
.muted{color:var(--soft)}
a{color:var(--acc);text-decoration:none}
.levelline,.preview{font-family:var(--head);font-style:normal;font-weight:400;color:var(--soft)}

/* ---------- Buttons: words, not boxes. The main one gets a soft tint ---------- */
.btn{border-radius:999px;background:none;border:0;font-weight:500;font-size:1rem;color:var(--acc);padding:12px 18px}
.btn.go{background:var(--tint);color:var(--ink)}
.btn.big{padding:16px 44px;font-size:1.08rem;letter-spacing:.01em}
.btn.ghost{background:none;border:0}
.link,.act{color:var(--soft);text-decoration:none}
.btn.danger,.act.danger,.lc-act.danger{color:#c46a6a}

/* ---------- Inputs: a faint tint, no outline ---------- */
input,textarea,select{border:0;border-radius:14px;background:color-mix(in srgb,var(--ink) 5%,transparent);padding:15px 16px}
input:focus,textarea:focus,select:focus{background:var(--tint)}
.chk input{accent-color:var(--acc)}

/* ---------- Groups: just space ---------- */
.group{padding:0;margin:44px 0}
.feat-head{padding:14px 0}
.feat-body{padding:0 0 10px}

/* ---------- Login ---------- */
#login h1{font-size:2.6rem}
.tagline{font-family:var(--head);font-style:normal;font-weight:300;font-size:1.3rem;line-height:1.45;color:var(--acc);padding:6px 0;margin:22px auto 26px}
.roles{gap:8px}
.role,.role.he,.role.she{font-family:var(--head);font-style:normal;text-transform:none;letter-spacing:0;font-size:1.5rem;font-weight:300;color:var(--soft);padding:20px 10px}
.role.sel,.role.he.sel,.role.she.sel{color:var(--ink);background:var(--tint)!important;border-radius:999px!important}

/* ---------- Header ---------- */
header{padding:4px 0 30px}
.icon{color:var(--soft);width:30px}
.icon.on{color:var(--ink)}
.brand,body.he .brand{font-weight:400;font-size:.95rem;text-transform:none;letter-spacing:.02em;color:var(--soft)}

/* ---------- Bottom tabs: just words ---------- */
.tabs{background:linear-gradient(transparent,var(--bg) 35%);padding-top:24px}
.tabs .in{gap:18px;padding:0}
.tabs button{padding:8px 6px;font-weight:400;font-size:1rem;color:var(--soft)}
.tabs button.on{background:none;color:var(--ink);font-weight:600}
.om-seg{gap:18px;padding:0}
.om-seg button{font-weight:400;color:var(--soft);font-size:.98rem;padding:6px 4px}
.om-seg button.on{background:none;color:var(--ink);font-weight:600}

/* ---------- Home: words floating, a small color dot per game ---------- */
.hello{text-align:start;margin-bottom:10px}
.hello h1{font-size:2.6rem}
.hsec{font-family:var(--head);font-size:.82rem;font-weight:500;letter-spacing:.06em;text-transform:none;color:var(--soft);margin:46px 0 6px}
html[dir=rtl] .hsec{letter-spacing:0}
.pair-q{margin:0 0 4px}
.game{padding:16px 0;margin:0}
.game:active{transform:none;opacity:.6}
.game .gi,.game.pick .pic,.mt-sec .gi,.hw .gi,.lc-row .gi,.seal .sic,.lc-act > span:first-child:not(.tx){display:none}
.game b{position:relative;font-family:var(--head);font-weight:400;font-size:1.55rem;line-height:1.2;letter-spacing:-.01em;color:var(--ink);margin-bottom:4px}
.game b::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--a);margin-inline-end:12px;vertical-align:.22em}
.game span.d{color:var(--soft);padding-inline-start:21px}
#owHomeD{color:var(--ink)}
.game .live,.game.pick .live{color:var(--a);font-weight:500;padding-inline-start:21px}
.game.pick .pk-who{display:none}
.pulse{background:var(--a);animation:none}
.pair{gap:10px 20px;margin:0}
.game.pick{padding:16px 0}
.game.pick b{font-size:1.4rem}
.tiles{gap:4px 20px}
.game.tile{padding:14px 0}
.game.tile b{font-size:1.2rem}
.game.tile span.d{font-size:.86rem}
.game .soon{color:var(--soft)}
/* soft color per game, used only for the small dot */
.g-menu{--a:#d6a660}
.g-match{--a:#d48a9b}
.g-tod{--a:#9d95c8}
.g-never{--a:#cdb873}
.g-dice{--a:#7db4a1}
.g-pos{--a:#d69a7c}
.g-ow{--a:#86abc6}
.g-spark{--a:#cc8a92}
.g-tease{--a:#d48a9b}
.us-strip{padding:4px 0}
.us-open{color:var(--acc)}
.us-quick .pill{padding:6px 0;margin-inline-end:14px}

/* ---------- Pills: words that light up when chosen ---------- */
.pills{gap:4px 6px}
.pill,.sugs button{color:var(--soft);font-weight:500;padding:9px 14px}
.pill.on,.pill.p-ok.on,.pill.p-ask.on,.pill.p-no.on{background:var(--tint)!important;color:var(--ink);border-radius:999px!important}
.chips{gap:20px}
.chip.on{color:var(--ink);font-weight:600}

/* ---------- The draw ---------- */
.ball{background:var(--c);filter:none;opacity:.3;width:min(40px,11vw)}
.orb.sel .ball{opacity:1;transform:scale(1.15)}
.pin{background:var(--ink);color:var(--bg)}
.fc{min-height:320px}
.front{color:var(--acc)}
.front span{font-size:0;animation:none}
.front span::before{content:"?";font-family:var(--head);font-weight:200;font-size:7rem;line-height:1}
.front small{color:var(--soft);font-size:1rem}
.backf{padding:30px 6px}
.backf .t{font-weight:300;font-size:2.2rem;letter-spacing:-.02em}
.backf .n{color:var(--ink);opacity:.8}
.tag{color:var(--c);font-weight:600;letter-spacing:.08em}

/* ---------- Game screens ---------- */
.nv-card,.swcard{padding:20px 4px}
.nv-card p{font-weight:300;font-size:1.7rem}
.swcard .t{font-weight:300}
.td-turn{font-weight:300;font-style:normal}
.td-pick{gap:10px}
.td-pick button{font-family:var(--head);font-weight:300;font-size:2rem;letter-spacing:0;text-transform:none;padding:30px 10px}
.td-pick .tr{color:#9d95c8}
.td-pick .dr{color:#d69a7c}
.td-kind{font-weight:300;font-style:normal}
.die,.die.a,.die.p{font-weight:300;font-style:normal;font-size:1.6rem;color:var(--ink)}
.die.a{color:#7db4a1}
.die.p{color:#d69a7c}
.ps-die{color:var(--ink)}
.ps-die b{font-weight:300;font-size:2rem}
.ps-die .lvlrow,.ps-die .lvlrow .heat{--c:var(--soft)!important;color:var(--soft)}
.dc-time{font-family:var(--head);font-weight:200;color:var(--ink)}
.swbtns button{color:var(--soft);font-size:1.6rem}
.swbtns .b-on{color:var(--acc)}
.fav-btn{color:var(--soft)}
.fav-btn.on{color:var(--c);background:none!important}
.fab{background:var(--tint);color:var(--ink);font-weight:300}
.seal{color:var(--ink)}
.seal .btn{background:var(--tint);color:var(--ink)}
.mt-heart{color:var(--acc);font-family:var(--head)}
.stamp{border-radius:999px;border-width:1px}

/* ---------- Lists and sections: only space between ---------- */
.item{padding:20px 0}
.item b{font-family:var(--head);font-weight:400}
.mt-sec{padding:14px 0}
.mt-sec b{font-weight:400;font-size:1.3rem}
.mt-sec.live b{color:var(--acc)}
.mt-badge{background:var(--tint);color:var(--ink);border-radius:999px}
.hw summary{padding:14px 0}
.hw-t b{font-weight:400}
.hw ol{padding:0 0 8px}
.hw .hw-warn{margin:0 0 18px}
.lc-row{padding:12px 0}
.lc-panel,html[dir=rtl] .lc-panel{padding:0 0 16px}
.lc-act{padding:10px 0}
.lc-act.go{color:var(--acc)}
.hl{padding:10px 0}
.hl.on{color:var(--ink)}
.sp-item,.sp-own,.ow-box{padding:12px 0}
.sp-item.due b{color:#cc8a92}
.sp-acts button{padding:10px 0}
.sp-acts .sp-tog b{color:#cc8a92}
.sp-st,.ow-v,.ow-new,.ow-heart{background:none!important}
.ow-frame{padding:0}
.ow-askin{padding:8px 0;font-style:normal}
.ow-yes{background:var(--tint);color:var(--ink)}
.ow-askbtn{border:0}
.ow-sec .tt,.ow-head h2,.ow-big,.ow-st-h,.ow-talk{font-weight:400;font-style:normal}
.ow-opt.on .mk{background:var(--acc)}

/* ---------- How it works ---------- */
.steps li::before,.info li::before{background:none;color:var(--acc);font-weight:400;font-size:1.1rem;width:auto;min-width:20px}
.keep{border:0;padding:0;color:var(--acc)}
.keep.warn{background:none;color:#c46a6a;padding:0}

/* ---------- Switches ---------- */
.sw i{background:color-mix(in srgb,var(--ink) 12%,transparent)}
.sw input:checked+i{background:var(--acc)}

/* ---------- Sheets that slide up ---------- */
#shade,#shade2{background:#0006}
#sheet,#sheet2{background:var(--bg);border-radius:28px 28px 0 0}

/* keep headings light in every theme (the old theme rules were heavier) */
body.neutral h1,body.he h1,body.she h1{font-weight:300}
body.neutral h2,body.he h2,body.she h2,body.she .brand,body.she .game b{font-weight:400}
.front span{filter:none}

/* ---------- Home refinements ---------- */
/* readable grey text */
body.she{--soft:#977f87}
body.he{--soft:#8a8f9a}
.game span.d{color:color-mix(in srgb,var(--ink) 62%,var(--bg))}
/* greeting and title closer together, a calm label above each section */
.hello p{margin:0;font-size:.95rem}
.hello h1{margin:2px 0 0}
.hsec{font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;margin:40px 0 14px}
html[dir=rtl] .hsec{letter-spacing:0;font-size:.85rem}
/* the two main ways to choose: bigger, each with a soft glowing color orb */
.pair{gap:28px 22px}
.game.pick{padding:6px 0 0}
.game.pick::before{content:"";display:block;width:46px;height:46px;border-radius:50%;margin:0 0 16px;
  background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--a) 55%,#fff),var(--a) 70%)}
.game.pick b{font-size:1.7rem;font-weight:300}
.game.pick b::before{display:none}
.game.pick span.d,.game.pick .live{padding-inline-start:0}
.game.pick span.d{margin-bottom:8px}
.game.pick .live{min-height:0;margin-top:2px;font-size:.84rem}
/* the games: a smaller list with a dot */
.tiles{gap:2px 22px}
.game.tile{padding:10px 0}
.game.tile b{font-size:1.15rem}
/* a section whose label repeats its title: show the title only */
#owHome .hsec,#spHome .hsec{visibility:hidden;height:0;margin:44px 0 0;padding:0}
#owHome .game b,#spHome .game b{font-size:1.15rem}
.hello{margin-bottom:0}.hello + .hsec{margin-top:36px}

/* ---------- Layer 2: typography and centered layout ---------- */
/* =====================================================================
   DESIGN TRY 4: "Dark and luxurious"
   A deep warm black, low warm light, gold and rose text, a fine film grain,
   fashion-house type (Didot), centered and spacious like a cocktail bar
   menu or a perfume brand. Still no frames, no boxes, no icons.
   ===================================================================== */

/* ---------- Palettes: both dark, warm light ---------- */
body.neutral,body.he,body.she{--bg:#0d0b0a;--ink:#efe5d8;--soft:#8c8174;--gold:#c8a36a;
  --head:Didot,"Bodoni 72","Bodoni MT","Playfair Display",Georgia,serif;
  --sans:"Avenir Next","Helvetica Neue",system-ui,-apple-system,sans-serif;
  font-family:var(--sans);font-weight:300}
body.neutral{--acc:#bcb3a7;--l1:#6f665d;--l2:#8f8579;--l3:#b0a596;--l4:#d1c6b6}
body.he{--acc:#c8a36a;--l1:#8a7a5c;--l2:#b39461;--l3:#c8a36a;--l4:#e0c48f}
body.she{--acc:#d4a194;--l1:#8a6660;--l2:#b27f75;--l3:#d4a194;--l4:#a1475a}
body.neutral,body.he,body.she{--tint:color-mix(in srgb,var(--acc) 14%,transparent)}

/* ---------- Low warm light from above + fine film grain ---------- */
body::before{display:block;content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;animation:none;filter:none;
  background:radial-gradient(70% 45% at 50% -8%,color-mix(in srgb,var(--acc) 16%,transparent),transparent 70%),
             radial-gradient(60% 40% at 50% 115%,color-mix(in srgb,var(--acc) 7%,transparent),transparent 70%)}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.09;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}

/* ---------- Type: fashion serif for titles, light airy sans for the rest ---------- */
body.neutral h1,body.he h1,body.she h1{font-family:var(--head);font-weight:400;font-style:normal;letter-spacing:0}
body.neutral h2,body.he h2,body.she h2{font-family:var(--head);font-weight:400;font-style:italic}
.muted{color:var(--soft)}
a{color:var(--acc)}
.brand,body.he .brand,body.she .brand{font-family:var(--sans);font-style:normal;font-weight:400;font-size:.66rem;letter-spacing:.32em;text-transform:uppercase;color:var(--acc)}
html[dir=rtl] .brand{letter-spacing:.05em;font-size:.8rem}

/* ---------- Buttons: spaced capitals in gold; the main one has a soft glow of light ---------- */
.btn{font-family:var(--sans);font-size:.72rem;font-weight:500;letter-spacing:.26em;text-transform:uppercase;color:var(--acc)}
.btn.go{background:var(--tint);color:var(--ink)}
.btn.big{padding:18px 46px;font-size:.76rem}
html[dir=rtl] .btn{letter-spacing:0;font-size:.95rem}

/* ---------- Header and tabs ---------- */
.icon{color:var(--soft)}
.icon.on{color:var(--acc)}
.tabs button,.om-seg button{font-size:.66rem;font-weight:500;letter-spacing:.24em;text-transform:uppercase}
.tabs button.on,.om-seg button.on{color:var(--acc);font-weight:500}
html[dir=rtl] .tabs button,html[dir=rtl] .om-seg button{letter-spacing:0;font-size:.9rem}

/* ---------- Home: centered, like a bar menu ---------- */
#home{text-align:center}
.hello{text-align:center;margin:10px 0 0}
.hello p{font-family:var(--head);font-style:italic;font-size:1.05rem;color:var(--soft)}
.hello h1{font-size:2.9rem;line-height:1.08;margin:8px 0 0}
.hsec{font-family:var(--sans);font-size:.62rem;font-weight:500;letter-spacing:.34em;text-transform:uppercase;color:var(--acc);margin:58px 0 20px}
.hello + .hsec{margin-top:58px}
html[dir=rtl] .hsec{letter-spacing:.04em;font-size:.82rem}
/* a tiny gold star-dash ornament under each section label instead of icons */
.hsec::after{content:"";display:block;width:28px;height:1px;margin:14px auto 0;background:color-mix(in srgb,var(--acc) 55%,transparent)}
.pair-q{text-align:center;font-family:var(--head);font-style:italic;color:var(--soft);margin:-4px 0 18px}
.game,.game.pick,.game.tile{text-align:center;align-items:center;padding:16px 0}
.game b::before,.game.pick::before{display:none!important}
.game b,.game.pick b,.game.tile b{font-family:var(--head);font-weight:400;font-style:normal;letter-spacing:0;color:var(--ink)}
.game span.d,.game.pick span.d,.game .live,.game.pick .live{padding-inline-start:0;text-align:center}
.game span.d{font-weight:300;color:var(--soft);font-size:.88rem;max-width:300px;margin-inline:auto}
.game .live,.game.pick .live{color:var(--acc);font-family:var(--head);font-style:italic;font-weight:400;font-size:.98rem}
.game:active{opacity:.55}
/* the two main ways: big, side by side */
.pair{gap:10px 18px}
.game.pick b{font-size:2rem;line-height:1.1}
/* the games: names only in a centered 2x2, italic */
.tiles{gap:0 18px}
.game.tile b{font-size:1.4rem;font-style:italic}
.game.tile span.d{font-size:.8rem}
#owHome .game b,#spHome .game b{font-size:1.6rem}
.us-strip{text-align:center}
.us-lines{flex-direction:column;align-items:center;gap:6px}
.us-lines #usStrip{font-family:var(--head);font-style:italic;font-size:1.1rem}
.us-open{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--acc)}
.us-quick{justify-content:center}
.us-quick .pill{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;margin:0 8px}
html[dir=rtl] .us-open,html[dir=rtl] .us-quick .pill{letter-spacing:0;font-size:.85rem}

/* ---------- Draw ---------- */
.gtitle,section h1{font-family:var(--head)}
.levelline{font-family:var(--head);font-style:italic;color:var(--acc)}
.ball{opacity:.25;filter:saturate(.7)}
.orb.sel .ball{opacity:.95}
.front{color:var(--acc)}
.front span::before{font-family:var(--head);font-weight:400;font-style:italic}
.front small{font-family:var(--head);font-style:italic;font-size:1.05rem}
.backf .t,.nv-card p,.swcard .t,.ps-die b,.td-kind,.td-turn,.die,.mt-sec b,.hw-t b,.item b{font-family:var(--head);font-weight:400}
.backf{text-align:center}
.tag{letter-spacing:.3em;font-weight:500}

/* ---------- Pills ---------- */
.pill,.sugs button{font-weight:400}
.pill.on{color:var(--ink)}
body.neutral .hsec,body.he .hsec,body.she .hsec{font-family:var(--sans);font-style:normal;font-weight:500}

/* =====================================================================
   CARDS WITHOUT FRAMES: arched panels
   Each card is a softly lit, slightly lighter warm panel with an arched top
   (like an art-deco doorway or a tarot card). No outline, no border line:
   the shape itself says "card".
   ===================================================================== */
body.neutral,body.he,body.she{
  --panel:linear-gradient(180deg,color-mix(in srgb,var(--acc) 13%,#17120f) 0%,#16110f 55%,#120e0c 100%);
  --glow:radial-gradient(60% 38% at 50% 0%,color-mix(in srgb,var(--acc) 22%,transparent),transparent 75%)}
/* tall cards: a full round arch on top */
.game.pick,.game.tile,.front,.backf,.nv-card,.swcard,.ps-die,.die{
  background:var(--glow),var(--panel)!important;border-radius:999px 999px 20px 20px!important}
.game.pick{padding:56px 16px 30px!important;min-height:300px;justify-content:center}
.game.tile{padding:46px 12px 24px!important;min-height:190px;justify-content:center}
.tiles{gap:14px}
.pair{gap:14px}
.game.tile b{font-size:1.25rem}
/* wide cards (Open Window, Keep the Spark): a gentle, shallow arch */
.game.g-ow,.game.g-spark{background:var(--glow),var(--panel)!important;border-radius:50% 50% 20px 20px / 70px 70px 20px 20px!important;padding:44px 22px 30px!important}
/* tap feedback: the card lights up a little */
.game:active{opacity:1;filter:brightness(1.25)}
/* the drawn card and the game cards: tall arched panels too */
.fc{min-height:430px}
.front,.backf{padding:80px 30px 60px!important}
.front span::before{font-size:7.5rem}
.nv-card,.swcard,.ps-die{padding:70px 28px 58px!important;text-align:center;align-items:center}
.die{aspect-ratio:3/4;padding:40px 12px 18px!important}
.dc-dice{gap:14px}

/* ---------- Layer 3: golden hour, pebbles and details ---------- */
/* =====================================================================
   DESIGN TRY 5: "Sunrise mood"
   Light and uplifting: the whole screen is a soft sunrise wash (peach, rose,
   lavender) that drifts very slowly. Same elegant type and centered layout
   as the dark version. Cards are soft milky panels resting on the color:
   no outline, no emoji, no icons.
   ===================================================================== */

/* ---------- Palettes ---------- */
body.neutral,body.he,body.she{--bg:#f6ece8;--ink:#3b2a33;--soft:#8a737c;--acc:#b9607a;
  --sky1:#fde4d6;--sky2:#f6d6e3;--sky3:#e3dcf4;
  --paper:color-mix(in srgb,#fff 58%,transparent);--paper-hi:color-mix(in srgb,#fff 78%,transparent)}
body.he{--bg:#e8ebf3;--ink:#232a3b;--soft:#6c7389;--acc:#4f6aa3;--sky1:#dde7f5;--sky2:#e7e0f3;--sky3:#f5e4d8;
  --l1:#8fb8aa;--l2:#7fa2d4;--l3:#9a8bd0;--l4:#d47f93}
body.she{--l1:#e9b6a4;--l2:#e294aa;--l3:#c27aa6;--l4:#a54a6e}
body.neutral{--acc:#7c6f76;--l1:#c9bfc4;--l2:#ada2a8;--l3:#91868c;--l4:#756a70}
body.neutral,body.he,body.she{--tint:color-mix(in srgb,var(--acc) 14%,transparent)}

/* ---------- The sunrise sky, drifting slowly ---------- */
body{background:var(--bg)}
body::before{display:block;content:"";position:fixed;inset:-30%;z-index:-1;pointer-events:none;filter:blur(30px);
  background:radial-gradient(45% 40% at 20% 15%,var(--sky1),transparent 70%),
             radial-gradient(50% 45% at 85% 35%,var(--sky2),transparent 70%),
             radial-gradient(55% 50% at 40% 90%,var(--sky3),transparent 70%),var(--bg);
  animation:sky 30s ease-in-out infinite alternate}
@keyframes sky{from{transform:translate3d(-3%,-2%,0) rotate(0deg)}to{transform:translate3d(3%,3%,0) rotate(8deg)}}
@media(prefers-reduced-motion:reduce){body::before{animation:none}}
body::after{opacity:.05;mix-blend-mode:multiply}

/* ---------- Text colors on light ---------- */
.brand,body.he .brand,body.she .brand,.hsec,.us-open,.levelline,.tag{color:var(--acc)}
.hsec::after{background:color-mix(in srgb,var(--acc) 45%,transparent)}
.game .live,.game.pick .live{color:var(--acc)}
.icon{color:var(--soft)}
.icon.on{color:var(--acc)}

/* ---------- Cards: soft milky panels, rounded, no outline ---------- */
.game.pick,.game.tile,.game.g-ow,.game.g-spark,.front,.backf,.nv-card,.swcard,.ps-die,.die{
  background:var(--paper)!important;border-radius:26px!important;
  box-shadow:0 18px 40px -26px color-mix(in srgb,var(--acc) 55%,transparent)!important}
.game.pick{padding:34px 16px 28px!important;min-height:230px}
.game.tile{padding:26px 12px!important;min-height:130px}
.game.g-ow,.game.g-spark{padding:30px 22px!important}
.game:active{filter:none;background:var(--paper-hi)!important;transform:scale(.98)}
.game span.d{color:var(--soft)}

/* the drawn card: the back of the card is a soft wash of the mood color */
.front{background:linear-gradient(160deg,color-mix(in srgb,var(--acc) 22%,#fff),color-mix(in srgb,var(--sky3) 70%,#fff))!important;color:var(--acc)}
.backf{background:var(--paper-hi)!important}
.front,.backf{padding:60px 30px 50px!important}
.fc{min-height:400px}
.die{aspect-ratio:1}
.ps-die .lvlrow,.ps-die .lvlrow .heat{--c:var(--soft)!important;color:var(--soft)}

/* ---------- Buttons ---------- */
.btn.go{background:var(--acc);color:#fff}
.btn.go:active{filter:brightness(1.1)}
.fab{background:var(--acc);color:#fff}

/* ---------- Bottom tabs: a soft milky bar ---------- */
.tabs{background:none}
.tabs .in{background:var(--paper-hi)!important;border-radius:999px!important;padding:6px 10px}
.tabs button{padding:10px 14px}

/* ---------- Sheets ---------- */
#sheet,#sheet2{background:var(--bg)}
input,textarea,select{background:var(--paper)}
.us-lines .us-open{color:var(--acc);opacity:1;font-weight:600}

/* =====================================================================
   CARDS AS PEBBLES
   Soft, organic, hand-made shapes, each one a little different,
   like smooth stones. Solid warm paper color, no outline.
   ===================================================================== */
body.neutral,body.he,body.she{--pebble:color-mix(in srgb,#fffaf7 86%,transparent)}
body.he{--pebble:color-mix(in srgb,#f8faff 86%,transparent)}
.game.pick,.game.tile,.game.g-ow,.game.g-spark,.front,.backf,.nv-card,.swcard,.ps-die,.die{
  background:var(--pebble)!important;box-shadow:0 22px 40px -30px color-mix(in srgb,var(--acc) 50%,transparent)!important}
/* four shapes, used in turn so no two neighbours look the same */
.pair .game:nth-child(1),.tiles .game:nth-child(4n+1),.front,.dc-dice .die:nth-child(1){border-radius:58% 42% 50% 50% / 46% 54% 46% 54%!important}
.pair .game:nth-child(2),.tiles .game:nth-child(4n+2),.backf,.dc-dice .die:nth-child(2){border-radius:44% 56% 42% 58% / 56% 44% 56% 44%!important}
.tiles .game:nth-child(4n+3),.nv-card,.ps-die{border-radius:52% 48% 60% 40% / 40% 60% 42% 58%!important}
.tiles .game:nth-child(4n+4),.swcard{border-radius:40% 60% 48% 52% / 58% 42% 58% 42%!important}
/* wide pebbles for Open Window and Keep the Spark */
.game.g-ow{border-radius:48% 52% 44% 56% / 60% 50% 50% 40%!important}
.game.g-spark{border-radius:54% 46% 52% 48% / 44% 58% 42% 56%!important}
/* more room inside, so the words stay clear of the curved edges */
.game.pick{min-height:250px;padding:40px 22px!important}
.game.tile{min-height:170px;padding:30px 20px!important}
.game.g-ow,.game.g-spark{padding:44px 40px!important}
.pair,.tiles{gap:18px 14px}
.game:active{transform:scale(.96)}
/* the drawn card and the game cards: big pebbles with generous room */
.front,.backf{padding:80px 46px!important}
.nv-card,.swcard,.ps-die{padding:70px 40px!important}
.die{padding:30px 18px!important}

/* same type for him and her: only the colors differ */
body.neutral .hsec,body.he .hsec,body.she .hsec{font-size:.62rem;font-weight:600;letter-spacing:.34em;text-transform:uppercase;color:var(--acc)}
html[dir=rtl] body .hsec{letter-spacing:.04em;font-size:.82rem}
body.neutral .game b,body.he .game b,body.she .game b{font-style:normal}

/* =====================================================================
   COLORS: "Golden hour" (chosen)
   A full soft gradient across the whole screen.
   Her: apricot to coral pink to lilac. Him: honey to sky blue to soft mint.
   ===================================================================== */
body.she{--sky1:#fcc8a2;--sky2:#f5b0b6;--sky3:#e6c6ec;--bg:#f7e2d9;--acc:#b9504f;--ink:#3d2a2a;--soft:#8a6a6a;
  --pebble:color-mix(in srgb,#fffaf5 86%,transparent);--l1:#f2b59a;--l2:#ec8f86;--l3:#d1677a;--l4:#a23f5a}
body.he{--sky1:#f6d2ab;--sky2:#bcd0ef;--sky3:#bfe1df;--bg:#e8e6e6;--acc:#3a6a8c;--ink:#22303b;--soft:#5f6f7c;
  --pebble:color-mix(in srgb,#fffcf7 86%,transparent);--l1:#8cc7bd;--l2:#7fa9d6;--l3:#5f7fbf;--l4:#c9746f}
body.neutral,body.he,body.she{--tint:color-mix(in srgb,var(--acc) 14%,transparent)}
body::before{
  background:radial-gradient(48% 42% at 18% 12%,var(--sky1),transparent 70%),
             radial-gradient(52% 46% at 88% 38%,var(--sky2),transparent 70%),
             radial-gradient(58% 52% at 35% 92%,var(--sky3),transparent 70%),
             linear-gradient(165deg,var(--sky1) 0%,var(--sky2) 50%,var(--sky3) 100%)}
/* readable on the stronger gradient: slightly darker grey, slightly thicker text */
body.she{--soft:#6f4e4c}
body.he{--soft:#4b5b68}
body.neutral,body.he,body.she{font-weight:400}
.muted,.game span.d,.item p,.info p{font-weight:400}
/* mood colors deep enough to read on the gradient */
body.she{--l1:#c27a5c;--l2:#c55a5a;--l3:#a8405e;--l4:#7a2a48}
body.he{--l1:#3f8c80;--l2:#3a6fa8;--l3:#3c4f9a;--l4:#a8504c}

/* =====================================================================
   MOOD PICKER: "Glow" (chosen)
   The four mood names in a row (Cozy, Playful, Passionate, Wild, or the
   Hebrew names), no circles or icons. A soft watercolor glow in the
   mood's color appears behind the chosen one. The names come from each
   button's own label, so both languages work without code changes.
   ===================================================================== */
.orbs{gap:2px;flex-wrap:nowrap}
.orb{position:relative;padding:14px 9px}
.orb .ball{display:none}
.orb::after{content:attr(aria-label);position:relative;z-index:1;font-family:var(--head);font-size:1.06rem;white-space:nowrap;color:var(--soft);transition:color .3s}
.orb.sel::after{color:var(--ink);font-style:italic}
.orb::before{content:"";position:absolute;z-index:0;inset:2px -8px;border-radius:47% 53% 41% 59% / 55% 43% 57% 45%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--c) 60%,transparent),transparent);
  filter:blur(6px);opacity:0;transform:scale(.6);transition:opacity .35s,transform .35s}
.orb.sel::before{opacity:1;transform:scale(1)}
.orb:active::after{opacity:.6}
/* your partner asked for this mood: a small heart beside the name */
.orb .pin{top:4px;inset-inline-end:0;width:auto;height:auto;background:none;color:var(--c);font-size:.7rem;z-index:2}
@media (max-width:360px){.orb{padding:14px 6px}.orb::after{font-size:.95rem}}

/* =====================================================================
   MOOD MARK on cards and in lists: same "Glow" style as the picker.
   No flame icons: just the mood name, italic, with a soft glow of its color.
   On a card it sits at the bottom center (the curved sides cut the corners).
   ===================================================================== */
.lvlrow .heat{display:none}
.lvlrow{text-transform:none;letter-spacing:0;font-weight:400;font-size:1rem;color:var(--ink);font-family:var(--head);font-style:italic}
.lvlrow > span:last-child{position:relative;padding:4px 12px}
.lvlrow > span:last-child::before{content:"";position:absolute;z-index:-1;inset:0 -6px;border-radius:47% 53% 41% 59% / 55% 43% 57% 45%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--c) 55%,transparent),transparent);filter:blur(5px)}
.item .lvlrow{margin-inline-start:-12px}
.lvlrow.mood-br,.ps-die .lvlrow.mood-br{position:absolute;bottom:26px;left:50%;right:auto;inset-inline-end:auto;transform:translateX(-50%);margin:0;justify-content:center;isolation:isolate}
.item .lvlrow,.backf .lvlrow,.swcard .lvlrow{isolation:isolate}
.ps-die .lvlrow,.ps-die .lvlrow .heat{color:var(--ink)!important;opacity:1}
.ps-die .lvlrow,.ps-die .lvlrow .heat{--c:var(--acc)!important}
.orb::after{font-weight:400}

/* =====================================================================
   MAIN BUTTONS: "Ink line" (chosen)
   Italic words in the accent color with a hand-drawn wavy line under them,
   like a signature. No box, no fill. The line takes the accent color
   (coral red for her, deep blue for him) through a mask, so no extra files.
   ===================================================================== */
.btn.go,.btn.go.big{position:relative;background:none!important;color:var(--acc);border-radius:0;
  font-family:var(--head);font-style:italic;font-weight:400;font-size:1.4rem;letter-spacing:0;text-transform:none;padding:10px 16px 22px}
.btn.go.big{font-size:1.6rem}
html[dir=rtl] .btn.go{letter-spacing:0;font-size:1.4rem}
.btn.go::after{content:"";position:absolute;left:50%;bottom:9px;width:min(84%,190px);height:10px;transform:translateX(-50%);background:var(--acc);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition:width .25s}
.btn.go:active{transform:none;filter:none;opacity:.75}
.btn.go:active::after{width:min(60%,130px)}
.btn.go:disabled{opacity:.45}

/* =====================================================================
   ACTION ROWS (Settings > Your lists and cards, and the delete rows):
   "Glow" buttons. Italic words with a soft watercolor glow behind them,
   so each row clearly reads as something to tap. The main action glows
   stronger; delete actions glow red.
   ===================================================================== */
.lc-act{position:relative;isolation:isolate;display:flex;width:max-content;max-width:100%;
  margin:6px 0 8px;margin-inline-start:-16px;padding:10px 18px!important;
  font-family:var(--head);font-style:italic;font-size:1.08rem;color:var(--ink)!important}
.lc-act::before{content:"";position:absolute;z-index:-1;inset:0 -6px;border-radius:47% 53% 41% 59% / 55% 43% 57% 45%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--acc) 28%,transparent),transparent);filter:blur(6px);transition:filter .2s}
.lc-act:nth-child(even)::before{border-radius:56% 44% 52% 48% / 44% 58% 42% 56%}
.lc-act.go::before{background:radial-gradient(closest-side,color-mix(in srgb,var(--acc) 50%,transparent),transparent)}
.lc-act.go{color:var(--ink)!important}
.lc-act.danger{color:#a8343a!important}
.lc-act.danger::before{background:radial-gradient(closest-side,color-mix(in srgb,#e5484d 32%,transparent),transparent)}
.lc-act:active::before{filter:blur(3px)}
.set-del .lc-act span.tx{flex:none}
/* stronger glow so the action rows clearly read as buttons */
.lc-act::before{inset:-2px -4px;background:radial-gradient(closest-side,color-mix(in srgb,var(--acc) 46%,transparent) 30%,transparent)!important;filter:blur(5px)}
.lc-act.go::before{background:radial-gradient(closest-side,color-mix(in srgb,var(--acc) 70%,transparent) 30%,transparent)!important}
.lc-act.danger::before{background:radial-gradient(closest-side,color-mix(in srgb,#e5484d 48%,transparent) 30%,transparent)!important}

/* =====================================================================
   ACTION ROWS: "Brush stroke" (replaces the glow)
   Words on a painted, slightly tilted brush stroke. The main action is
   painted in the full accent color; the other rows in a lighter wash of it,
   so a list of actions stays calm; delete actions in red.
   ===================================================================== */
.lc-act{padding:10px 22px!important;margin:6px 0 10px;margin-inline-start:-6px;font-size:1.05rem}
.lc-act::before{inset:3px 0!important;filter:none!important;
  background:color-mix(in srgb,var(--acc) 26%,var(--pebble))!important;
  border-radius:12% 30% 18% 34% / 50% 40% 60% 46%!important;transform:rotate(-1.5deg) skewX(-6deg)}
.lc-act:nth-child(even)::before{border-radius:28% 14% 32% 16% / 44% 56% 40% 60%!important;transform:rotate(1deg) skewX(-6deg)}
.lc-act.go{color:#fff8f2!important}
.lc-act.go::before{background:var(--acc)!important}
.lc-act.danger{color:#fff8f2!important}
.lc-act.danger::before{background:#b8433f!important}
.lc-act:active::before{filter:brightness(.92)!important}
.lc-act.danger::before{background:#7e2433!important}

/* Truth or Dare card: the player's name sits before "Truth"/"Dare" on one line,
   in the same title font and size, in a quieter color */
.nv-card.td-card{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:.4em}
.nv-card.td-card > p{flex-basis:100%}
.td-card .td-who{order:-1;display:inline;margin:0;font-family:var(--head);font-size:1.7rem;line-height:1.1;font-weight:400;font-style:normal;letter-spacing:0;text-transform:none;color:var(--soft)}
.td-card .td-kind{font-size:1.7rem;line-height:1.1}
.nv-card.td-card > p{margin-top:14px}

/* Truth or Dare choice: the same "Ink line" buttons as the other main buttons,
   each in its own deeper color */
.td-pick button{position:relative;font-size:2.2rem!important;padding:22px 10px 34px!important}
.td-pick .tr{color:#5d55a6!important}
.td-pick .dr{color:#b45a36!important}
.td-pick button::after{content:"";position:absolute;left:50%;bottom:20px;width:min(70%,130px);height:12px;transform:translateX(-50%);background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition:width .25s}
.td-pick button:active{opacity:.75}
.td-pick button:active::after{width:min(50%,90px)}
.td-pick button{font-style:italic!important}

/* Both Say Yes: the two choices are pebble cards, like the cards on Home */
.mt-secs{gap:18px}
.mt-sec{flex-direction:column;justify-content:center;text-align:center;min-height:150px;padding:34px 40px!important;
  background:var(--pebble)!important;box-shadow:0 22px 40px -30px color-mix(in srgb,var(--acc) 50%,transparent)!important;transition:transform .15s}
.mt-sec:nth-child(odd){border-radius:48% 52% 44% 56% / 60% 50% 50% 40%!important}
.mt-sec:nth-child(even){border-radius:54% 46% 52% 48% / 44% 58% 42% 56%!important}
.mt-sec:active{transform:scale(.97)}
.mt-sec b{font-size:1.5rem}
.mt-sec .d{color:var(--soft)}
.mt-sec.live b{color:var(--acc)}
/* "Continue" (a round is waiting): a small brush stroke at the top of the pebble */
.mt-badge{top:6px;left:50%;right:auto;inset-inline-end:auto;transform:translateX(-50%) rotate(-2deg);isolation:isolate;
  background:none!important;padding:5px 16px;font-family:var(--head);font-style:italic;font-size:.95rem;font-weight:400;letter-spacing:0;text-transform:none;color:#fff8f2!important}
.mt-badge::before{content:"";position:absolute;z-index:-1;inset:0;background:var(--acc);border-radius:12% 30% 18% 34% / 50% 40% 60% 46%;transform:skewX(-6deg)}
.mt-badge{top:-12px}.mt-sec{margin-top:6px}

/* "Getting hotter: ..." line in the four Play games: removed.
   The mood picker above already shows the new mood with its glow.
   (#mtPartner in Both Say Yes uses the same style and stays.) */
#nvHot,#tdHot,#dcHot,#psHot{display:none}

/* Open Window options: the heart in the round mark, drawn as a shape so it is
   exactly centered (the heart character sat off-center in this font) */
.ow-opt .mk{position:relative;font-size:0!important;line-height:0}
.ow-opt .mk::before{content:"";position:absolute;left:50%;top:50%;width:12px;height:11px;transform:translate(-50%,-44%);background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21s-8.5-5.3-10.6-10.2C-.1 5.9 3.4 1.5 7.5 2.1c2 .3 3.5 1.6 4.5 3.2 1-1.6 2.5-2.9 4.5-3.2 4.1-.6 7.6 3.8 6.1 8.7C20.5 15.7 12 21 12 21z' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21s-8.5-5.3-10.6-10.2C-.1 5.9 3.4 1.5 7.5 2.1c2 .3 3.5 1.6 4.5 3.2 1-1.6 2.5-2.9 4.5-3.2 4.1-.6 7.6 3.8 6.1 8.7C20.5 15.7 12 21 12 21z' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat}
.ow-opt.on .mk::before{width:10px;height:9px;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21s-8.5-5.3-10.6-10.2C-.1 5.9 3.4 1.5 7.5 2.1c2 .3 3.5 1.6 4.5 3.2 1-1.6 2.5-2.9 4.5-3.2 4.1-.6 7.6 3.8 6.1 8.7C20.5 15.7 12 21 12 21z'/%3E%3C/svg%3E");
          mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21s-8.5-5.3-10.6-10.2C-.1 5.9 3.4 1.5 7.5 2.1c2 .3 3.5 1.6 4.5 3.2 1-1.6 2.5-2.9 4.5-3.2 4.1-.6 7.6 3.8 6.1 8.7C20.5 15.7 12 21 12 21z'/%3E%3C/svg%3E")}
.ow-opt.on .mk::before,button.ow-opt.on:hover .mk::before{background:#fff}

/* =====================================================================
   CHOICE BUTTONS (pills: My mood, What I need, feedback type, and so on):
   "Brush stroke", like the action rows. A light wash when not chosen,
   the full accent color with light words when chosen.
   ===================================================================== */
.pill,.sugs button{position:relative;isolation:isolate;background:none!important;border-radius:0!important;
  padding:9px 16px!important;font-family:var(--head);font-style:italic;font-size:1rem;font-weight:400;color:var(--ink)!important}
.pill::before,.sugs button::before{content:"";position:absolute;z-index:-1;inset:2px 0;background:color-mix(in srgb,var(--acc) 22%,var(--pebble));
  border-radius:12% 30% 18% 34% / 50% 40% 60% 46%;transform:rotate(-1.5deg) skewX(-6deg);transition:background .2s}
.pill:nth-child(even)::before,.sugs button:nth-child(even)::before{border-radius:28% 14% 32% 16% / 44% 56% 40% 60%;transform:rotate(1deg) skewX(-6deg)}
.pill.on{color:#fff8f2!important}
.pill.on::before{background:var(--acc)}
.pill:active::before,.sugs button:active::before{filter:brightness(.92)}
/* Open Window yes / ask / no keep their meaning colors when chosen */
.pill.p-ok.on::before{background:#2f8a55}.pill.p-ask.on::before{background:#c27a1e}.pill.p-no.on::before{background:#b8433f}

/* Desire light rows: the colored light stays; each row sits on a light brush stroke,
   and the chosen one is washed in its own light color */
.hl{position:relative;isolation:isolate;width:max-content;max-width:100%;padding:10px 20px 10px 14px!important;margin-inline-start:-14px;font-family:var(--head);font-style:italic;font-weight:400;font-size:1.05rem;color:var(--ink)}
.hl::before{content:"";position:absolute;z-index:-1;inset:2px 0;background:color-mix(in srgb,var(--acc) 18%,var(--pebble));
  border-radius:12% 30% 18% 34% / 50% 40% 60% 46%;transform:rotate(-1deg) skewX(-6deg);transition:background .2s}
.hl:nth-child(even)::before{border-radius:28% 14% 32% 16% / 44% 56% 40% 60%;transform:rotate(1deg) skewX(-6deg)}
.hl.on::before{background:color-mix(in srgb,var(--lc) 45%,var(--pebble))}
.hl i{opacity:.9}
.hl.on{color:var(--ink);font-weight:400}

/* Home: "Between us" is a wide pebble like Open Window and Keep the Spark,
   with its name as the title inside and the quick buttons as brush strokes */
#usHome{margin:44px 0 0;padding:40px 36px 36px;text-align:center;background:var(--pebble);
  border-radius:52% 48% 46% 54% / 56% 48% 52% 44%;box-shadow:0 22px 40px -30px color-mix(in srgb,var(--acc) 50%,transparent)}
body.neutral #usHome .hsec,body.he #usHome .hsec,body.she #usHome .hsec{margin:0 0 8px;font-family:var(--head);font-size:1.6rem;font-weight:400;font-style:normal;letter-spacing:0;text-transform:none;color:var(--ink)}
#usHome .hsec::after{display:none}
#usHome .us-strip{padding:0!important;background:none!important;box-shadow:none!important}
#usHome .us-lines #usStrip{font-size:1rem;color:var(--soft)}
#usHome .us-open{font-family:var(--head);font-style:italic;font-size:.95rem;letter-spacing:0;text-transform:none;font-weight:400}
#usHome .us-quick{margin-top:14px;gap:8px}
#usHome .us-quick .pill{margin:0;font-size:.95rem;letter-spacing:0;text-transform:none}
.hl:not(.on) i{filter:grayscale(1);opacity:.4}
.hl.on i{filter:none;opacity:1}
/* Home "Between us" pebble: just the card. The quick buttons and "Open" are hidden,
   and the whole pebble opens Between us (like Open Window and Keep the Spark) */
#usHome{position:relative;cursor:pointer;transition:transform .15s}
#usHome:active{transform:scale(.97)}
#usHome .us-quick,#usHome .us-open{display:none}
#usHome .us-lines{position:static}
#usHome .us-lines::after{content:"";position:absolute;inset:0;border-radius:inherit}

/* Our Menu tabs (Draw / My list / Favorites): the "Ink line" under each,
   accent color for the open tab, a faint line for the others */
.om-seg{gap:20px}
.om-seg button{position:relative;padding:6px 6px 18px!important;font-family:var(--head)!important;font-style:italic;font-size:1.15rem!important;
  font-weight:400!important;letter-spacing:0!important;text-transform:none!important;color:var(--soft)}
.om-seg button::after{content:"";position:absolute;left:50%;bottom:6px;width:90%;height:8px;transform:translateX(-50%);background:currentColor;opacity:.35;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat}
.om-seg button.on{color:var(--acc)!important}
.om-seg button.on::after{opacity:1}

/* Drawn card: the "save to favorites" heart, moved to the top center of the
   pebble (the top corner was cut off by the curve). A plain heart, no circle;
   saved = filled, with a soft glow */
.backf .fav-btn{top:30px!important;left:50%;right:auto;inset-inline-end:auto;transform:translateX(-50%);
  width:48px;height:48px;border:0!important;border-radius:50%!important;background:none!important;isolation:isolate;
  color:var(--acc);font-size:1.7rem;line-height:1}
.backf .fav-btn::before{content:"";position:absolute;z-index:-1;inset:-4px;border-radius:50%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--acc) 40%,transparent),transparent);filter:blur(4px);opacity:0;transform:scale(.5);transition:opacity .3s,transform .3s}
.backf .fav-btn.on{color:var(--acc)!important;background:none!important}
.backf .fav-btn.on::before{opacity:1;transform:scale(1)}
.backf .fav-btn:active{transform:translateX(-50%) scale(.88)}
/* Drawn card: the favorite heart sits beside the mood name at the bottom center
   (mood name ends at the center line, heart starts there; works in Hebrew too) */
.backf .lvlrow.mood-br{left:auto;right:auto;inset-inline-start:auto;inset-inline-end:50%;transform:none;margin-inline-end:2px}
.backf .fav-btn{top:auto!important;bottom:22px;left:auto;right:auto;inset-inline-end:auto;inset-inline-start:50%;transform:none;
  margin-inline-start:2px;width:40px;height:40px;font-size:1.45rem}
.backf .fav-btn:active{transform:scale(.88)}

/* Drawn card: mood name centered, the favorite heart centered just below it */
.backf .lvlrow.mood-br{inset-inline-start:auto;inset-inline-end:auto;left:50%;right:auto;transform:translateX(-50%);margin:0;bottom:62px}
.backf .fav-btn{inset-inline-start:auto;inset-inline-end:auto;left:50%;right:auto;margin:0;bottom:16px;transform:translateX(-50%)}
.backf .fav-btn:active{transform:translateX(-50%) scale(.88)}
.backf{padding-bottom:110px!important}

/* Home, third section "Our relationship": Open Window, Between us, Keep the Spark.
   The label hides when all three are switched off; the first visible card sits close under it */
#relHome:not(:has(> div:not(.hidden))){display:none}
#relHome #owHome .hsec,#relHome #spHome .hsec{margin:22px 0 0}
#relHome #relHead + #owHome:not(.hidden) .hsec{margin:0}
#relHome #usHome{margin-top:22px}
#relHome #relHead + #owHome.hidden + #usHome:not(.hidden){margin-top:0}

/* =====================================================================
   SECONDARY BUTTONS (.btn without .go: English / עברית, Log out, Skip,
   Customize, Delete everything...): the same "Ink line" as the main
   buttons, quieter. Italic words in the text colour with a lighter wavy
   line; delete buttons in red with a red line.
   ===================================================================== */
.btn:not(.go){position:relative;background:none!important;border:0!important;border-radius:0;
  font-family:var(--head);font-style:italic;font-weight:400;font-size:1.15rem!important;letter-spacing:0!important;text-transform:none!important;
  color:var(--ink);padding:8px 12px 18px!important}
html[dir=rtl] .btn:not(.go){font-size:1.15rem!important}
.btn:not(.go)::after{content:"";position:absolute;left:50%;bottom:7px;width:min(84%,170px);height:8px;transform:translateX(-50%);background:currentColor;opacity:.45;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition:width .25s}
.btn:not(.go):active{opacity:.7}
.btn:not(.go):active::after{width:min(60%,110px)}
.btn.danger{color:#a8343a!important}
.btn.danger::after{opacity:.7}
.btn:not(.go):disabled{opacity:.45}

/* Login page He / She: "Ink line" buttons. Each in its own colour
   (He deep blue, She coral red); faint until chosen, then the full line */
.roles{gap:10px}
.role,.role.he,.role.she{position:relative;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
  font-family:var(--head)!important;font-style:italic!important;font-weight:400!important;font-size:2rem!important;letter-spacing:0!important;text-transform:none!important;
  padding:16px 10px 30px!important;opacity:.75;transition:opacity .2s}
.role.he{color:#3a6a8c!important}
.role.she{color:#b9504f!important}
.role::after{content:"";position:absolute;left:50%;bottom:14px;width:min(60%,110px);height:10px;transform:translateX(-50%);background:currentColor;opacity:.35;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition:opacity .2s,width .25s}
.role.sel,.role.he.sel,.role.she.sel{opacity:1}
.role.sel::after{opacity:1;width:min(75%,140px)}
.role:active::after{width:min(45%,80px)}
.role.sel,.role.he.sel,.role.she.sel{background:none!important;border-radius:0!important}

/* =====================================================================
   PARTNER STATUS on Between us ("From {name}"): two cream pebbles like
   the Play tiles. The value (mood name or desire) is the big serif title
   with a soft watercolor glow of its color behind it; who it is from is
   the small line below. Nothing set: the title is soft, with no glow.
   ===================================================================== */
.ps-tile{background:var(--pebble);box-shadow:0 22px 40px -30px color-mix(in srgb,var(--acc) 50%,transparent);min-height:170px}
.ps-pair .ps-tile:nth-child(1){border-radius:58% 42% 50% 50% / 46% 54% 46% 54%}
.ps-pair .ps-tile:nth-child(2){border-radius:44% 56% 42% 58% / 56% 44% 56% 44%}
.ps-val{font-family:var(--head);font-weight:400;font-style:italic;font-size:1.45rem;line-height:1.2;color:var(--ink)}
.ps-val::before{content:"";position:absolute;z-index:-1;inset:-4px -10px;border-radius:47% 53% 41% 59% / 55% 43% 57% 45%;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--c) 60%,transparent),transparent);filter:blur(6px)}
.ps-tile.off .ps-val{color:var(--soft);font-size:1.15rem}
.ps-tile.off .ps-val::before{display:none}
.ps-cap{color:color-mix(in srgb,var(--ink) 62%,var(--bg));font-size:.86rem}

/* =====================================================================
   HOME HUB: three doors (Choose together, Play, Our relationship).
   Big wide pebbles, one under the other, each with a soft glowing color
   orb on top in its own color. Inside a door: a quiet "Home" link and the
   section title as the page title.
   ===================================================================== */
.doors{display:grid;gap:22px;margin:34px 0 10px}
.game.door{--a:var(--acc);display:flex;flex-direction:column;align-items:center;text-align:center;
  background:var(--pebble)!important;padding:40px 30px 34px!important;margin:0;
  box-shadow:0 22px 40px -30px color-mix(in srgb,var(--a) 60%,transparent)!important}
.game.door::before{content:"";display:block;width:54px;height:54px;border-radius:50%;margin:0 auto 18px;
  background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--a) 35%,#fff),var(--a) 75%);
  box-shadow:0 0 0 8px color-mix(in srgb,var(--a) 12%,transparent),0 10px 26px -6px var(--a)!important}
.game.door b{font-size:2rem;line-height:1.1;margin-bottom:10px}
.game.door span.d{max-width:300px}
.game.door .live{margin-top:12px}
.d-choose{--a:#e0896b!important;border-radius:56% 44% 50% 50% / 42% 50% 50% 58%!important}
.d-play{--a:#c27aa6!important;border-radius:46% 54% 44% 56% / 54% 44% 56% 46%!important}
.d-rel{--a:#7f9fd0!important;border-radius:52% 48% 58% 42% / 46% 56% 44% 54%!important}
/* inside a door, its label becomes the page title */
#home:not([data-v=hub]) .hgrp > .hsec:first-child{font-family:var(--head);font-size:2.4rem;font-weight:400;font-style:normal;
  letter-spacing:0;text-transform:none;color:var(--ink);text-align:center;margin:10px 0 28px;visibility:visible;height:auto}
#relEmpty{text-align:center;margin:10px auto 0;max-width:320px}

/* Inside a door: the small header of the three doors. Words with a faint ink line;
   the open door is in its own color (the same as its orb on Home) with a full line */
.hub-mini{justify-content:center;gap:6px 18px;flex-wrap:wrap;margin:4px 0 6px}
.hub-mini button{position:relative;padding:6px 4px 14px;font-family:var(--head);font-style:italic;font-size:1.02rem;color:var(--soft);
  background:none;border:0;cursor:pointer;transition:color .2s}
.hub-mini button::after{content:"";position:absolute;left:50%;bottom:4px;width:90%;height:7px;transform:translateX(-50%);background:currentColor;opacity:.25;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 20 1, 40 9, 60 5 S 100 2, 118 6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat}
#home[data-v=choose] .m-choose{color:#d0714f}
#home[data-v=play] .m-play{color:#b0608f}
#home[data-v=rel] .m-rel{color:#5f82bd}
#home[data-v=choose] .m-choose::after,#home[data-v=play] .m-play::after,#home[data-v=rel] .m-rel::after{opacity:1}
/* the header already names the open door, so its big title sits a little closer */
#home:not([data-v=hub]) .hgrp > .hsec:first-child{margin-top:22px}
/* the open door: a soft pill in its color behind the word, so it stands out on every background */
.hub-mini button{border-radius:999px;padding:7px 14px 13px}
#home[data-v=choose] .m-choose{--m:#c8603c}
#home[data-v=play] .m-play{--m:#9c4a7d}
#home[data-v=rel] .m-rel{--m:#4a6fae}
#home[data-v=choose] .m-choose,#home[data-v=play] .m-play,#home[data-v=rel] .m-rel{color:var(--m);
  background:color-mix(in srgb,#fff 70%,transparent)!important;font-weight:600}

/* Choose together: three tiles. Our Menu wide on top, the two Both Say Yes tiles side by side below */
#grpChoose .pair .g-menu{grid-column:1 / -1;min-height:200px}
#grpChoose .pair .game:nth-child(3){border-radius:52% 48% 60% 40% / 40% 60% 42% 58%!important}
#grpChoose .pair .g-match b{font-size:1.45rem}
