:root{font:15px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#30292b;background:#f7f4ef;--accent: #74384d;--muted: #80756f;--line: #e4dbd2}*{box-sizing:border-box}body{margin:0}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.12;letter-spacing:-.035em}h1{font-size:38px;margin:12px 0 18px}h2{font-size:27px;margin:16px 0}h3{font-size:15px;margin:24px 0 10px}p{margin:10px 0}button,input,select,textarea{font:inherit}button,.button{cursor:pointer;background:var(--accent);color:#fff;border:1px solid var(--accent);border-radius:11px;padding:12px 17px;min-height:46px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c994a8;outline-offset:3px}button.secondary,.button.secondary{background:#fffefa;color:var(--accent);border-color:var(--line)}button.text{background:none;border:0;color:var(--accent);padding:6px 0;min-height:36px;font-size:13px}.full{width:100%;margin:7px 0}.danger{color:#a02c37!important}header{height:76px;border-bottom:1px solid var(--line);background:#fffefa;display:flex;align-items:center;justify-content:space-between;padding:0 6%;gap:12px}.brand{font:31px Georgia,serif;letter-spacing:-1.5px;color:#30292b;text-decoration:none}.brand span{color:#af7d91}.header-tools{display:flex;align-items:center;gap:12px}.language-picker{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.language-picker select{min-height:36px;width:108px;padding:6px 8px;font-size:12px;margin:0}.translation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.translation-preview{margin:24px 0}.translation-preview textarea{background:#f7f3ee}@media(max-width:600px){.translation-grid{grid-template-columns:1fr}.language-picker>span{display:none}.header-tools{gap:7px}}.connection{font-size:11px;color:#4d6c52;background:#e9f0e8;padding:5px 9px;border-radius:7px}.offline{background:#f1e4d4;color:#8a612f}.mobile-shell{max-width:450px;background:#fffefa;border:1px solid var(--line);border-radius:24px;padding:30px;margin:35px auto;min-height:670px}.kicker{text-transform:uppercase;letter-spacing:.15em;font-size:10px;font-weight:750;color:var(--muted)}.lead{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:24px}.note{font-size:11px;line-height:1.65;color:var(--muted);font-weight:400}.center{text-align:center}.hero{height:200px;background:#ede2d9;border-radius:19px;display:flex;align-items:center;justify-content:center;margin:25px 0;overflow:hidden}.hero>div{font-size:53px;border:1px solid #fff8;width:119px;height:155px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#9d687a;color:#eadaca;transform:rotate(-14deg);box-shadow:0 7px 18px #49302820}.hero>div+div{background:#fcf7f0;color:#74384d;transform:rotate(12deg);margin-left:-20px}.hero span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;margin-top:13px}.field{display:block;margin:14px 0 19px}.field>span{font-size:12px;font-weight:600;display:block;margin-bottom:7px}input,select,textarea{width:100%;padding:12px;border:1px solid #dcd2c8;background:#fffefa;color:#30292b;border-radius:9px;min-height:45px}textarea{resize:vertical}.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;margin:18px 0}.check input,.checks input{width:16px;min-height:16px;margin:2px 0;accent-color:var(--accent)}.tile,.panel{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fffefa}.stack{display:grid;gap:12px;margin:18px 0}.choice{color:#30292b;text-align:left;display:flex;justify-content:space-between;width:100%;font-size:13px;font-weight:500}.choice.selected,.selected{background:#f4e7ec;border-color:#b18395}.choice strong{font-weight:600}.pill{display:inline-block;background:#f0e6e4;color:#805368;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:500}.between{display:flex;justify-content:space-between;align-items:center;gap:14px}.actions{display:flex;gap:10px;margin:25px 0 12px}.actions>*{flex:1}.progress{display:flex;gap:5px;margin:20px 0}.progress i{height:3px;background:var(--line);flex:1;border-radius:2px}.progress .on{background:var(--accent)}.notice,.alert{padding:14px;border-radius:11px;font-size:12px;line-height:1.65;margin:15px 0;white-space:pre-line}.notice{background:#f1e9de;color:#84684d}.alert{background:#f8e1e2;color:#8a303d}.success{background:#e9f0e7;color:#42614a}.summary{display:flex;justify-content:space-between;align-items:center;padding:14px 0;gap:20px;border-bottom:1px solid var(--line);font-size:13px}.turn-art{min-height:245px;background:#f2e3e9;border:1px solid #d9bac7;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;margin:25px 0}.turn-art>span{font-size:42px;color:var(--accent)}.turn-art>strong{font:45px Georgia,serif}.turn-art p{font-size:11px;color:#8a6475}.roles{display:flex;align-items:stretch;gap:8px;margin:16px 0}.roles:empty{display:none}.roles>div{min-width:0;flex:1;background:#f5e7ec;border:1px solid #d7bdc7;border-radius:13px;padding:14px 12px;overflow-wrap:anywhere}.roles span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#8a5e72}.roles strong{font:27px Georgia,serif;display:block;margin:7px 0}.roles small{font-size:10px}.roles .recipient{background:#e8efe5;border-color:#c6d3bf}.roles .arrow{align-self:center;font-weight:400}.play-card{border:1px solid #e1d1bf;border-radius:16px;background:#faf3e9;overflow:hidden;margin:20px 0}.play-card img{width:100%;height:180px;object-fit:contain;background:#eee4d5;display:block}.card-copy{padding:24px 21px}.card-copy h2{line-height:1.23}.reveal{text-align:center}.shuffle{min-height:270px;padding:150px 15px 25px;background:#f3e6eb;border-radius:18px;position:relative;overflow:hidden}.shuffle i{position:absolute;top:33px;left:calc(50% - 55px);height:103px;width:78px;border-radius:12px;background:#d9b5c6;transform:rotate(-12deg);animation:shuffle .6s ease-in-out infinite alternate}.shuffle i+i{left:calc(50% - 20px);background:#74384d;transform:rotate(12deg);animation-delay:-.25s}.shuffle strong{font:30px Georgia,serif;display:block}.settled i{animation:none}.reveal-dots{display:flex;justify-content:center;gap:6px;margin:18px}.reveal-dots b{width:26px;height:4px;border-radius:3px;background:var(--line)}.reveal-dots .on{background:var(--accent)}@keyframes shuffle{to{transform:rotate(3deg) translateY(-8px)}}footer{text-align:center;font-size:10px;color:var(--muted);padding:20px}.space{height:17px}.price{font:36px Georgia,serif}.portal-layout{display:grid;grid-template-columns:215px minmax(0,1fr);max-width:1500px;margin:30px auto;background:#fffefa;border:1px solid var(--line);border-radius:18px;min-height:750px}.sidebar{border-right:1px solid var(--line);padding:25px 15px}.sidebar .nav{display:block;width:100%;text-align:left;justify-content:flex-start;background:transparent;color:#7a6f68;border:1px solid transparent;margin:3px 0;font-size:13px}.sidebar .nav.selected{background:#f1e2e8;color:var(--accent)}.portal-main{padding:30px;min-width:0}.account-form{max-width:520px}.mobile-nav{display:none}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:25px;margin-top:25px}.preview{align-self:start;position:sticky;top:20px}.two{display:grid;grid-template-columns:1fr 1fr;gap:15px}fieldset{border:1px solid var(--line);border-radius:10px;padding:14px;margin:20px 0}legend{font-size:12px}.checks{display:flex;gap:9px;flex-wrap:wrap}.checks label{display:flex;align-items:center;gap:7px;font-size:12px;padding:8px 10px;border:1px solid var(--line);border-radius:7px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#f5f0e9}td,th{padding:14px 12px;border-bottom:1px solid var(--line)}td form{min-width:230px}.search{max-width:420px;margin:8px 0 22px}.media-thumb{width:100%;height:160px;object-fit:contain;background:#f3ece2;border-radius:8px;margin-bottom:10px}details{margin:25px 0;font-size:12px}summary{cursor:pointer;color:var(--accent)}@media(max-width:1000px){.admin-grid{grid-template-columns:repeat(2,1fr)}.editor-grid{grid-template-columns:minmax(0,1fr) 260px}.portal-layout{margin:15px;grid-template-columns:180px minmax(0,1fr)}.portal-main{padding:22px}}@media(max-width:750px){header{height:65px;padding:0 20px}.mobile-shell{margin:18px auto;border:0;padding:25px 22px;max-width:440px;border-radius:19px}.portal-layout{display:block;margin:12px}.sidebar{display:none}.mobile-nav{display:block;margin-bottom:25px}.editor-grid{display:block}.preview{position:static;max-width:370px;margin:25px auto}.portal-main{padding:20px 16px}.two{grid-template-columns:1fr;gap:0}h1{font-size:34px}.between{flex-wrap:wrap}.admin-grid{grid-template-columns:1fr 1fr}.table-wrap{max-width:100%}}@media(max-width:440px){.admin-grid{grid-template-columns:1fr}.mobile-shell{margin:10px 12px}.roles strong{font-size:24px}.roles span{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.phase-plan-step{padding:17px;border:1px solid var(--line);border-radius:12px;margin:12px 0;background:#fbf7f1}.phase-plan-step strong{font-size:13px}.phase-plan-step .field{margin-bottom:0}.progression-settings fieldset{margin-top:15px}.game-tools{display:flex;justify-content:flex-end;margin:-8px 0 12px}.game-history{max-width:620px;margin:0 auto}.game-history h1{outline:none}.history-filters{display:grid;gap:0 14px}.history-counts{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 17px}.history-counts span{background:#f1e9e4;border-radius:7px;padding:5px 9px;font-size:11px}.history-list{list-style:none;padding:0;margin:16px 0}.history-list li+li{margin-top:16px}.history-card{border:1px solid var(--line);border-radius:16px;padding:19px;background:#fffaf4;overflow-wrap:anywhere}.history-card-heading{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;align-items:center}.history-status{font-size:10px;border-radius:30px;padding:4px 9px;background:#eee9e2;white-space:nowrap}.history-status.completed{background:#e7eee3;color:#42613d}.history-status.skipped{background:#f4e1e5;color:#803747}.history-status.pending{background:#f1e6d1;color:#795b25}.history-people{margin:14px 0 3px;font-size:14px}.history-people span{margin:0 6px;color:var(--muted)}.history-card h2{font-size:23px;margin:15px 0 12px}.history-text{white-space:pre-wrap;font-size:15px;line-height:1.6}.history-card img{display:block;width:100%;max-height:200px;object-fit:contain;border-radius:9px;margin-bottom:14px}.history-empty{padding:30px 20px;text-align:center;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}.phase-transition{--phase-ink: #74384d;--phase-soft: #f1dfe7;text-align:center;padding:24px 18px 18px;border:1px solid #e6cdd7;border-radius:24px;background:radial-gradient(ellipse at 50% 25%,var(--phase-soft),transparent 65%),#fffcf9;overflow:hidden;animation:phase-arrive .65s ease-out both}.phase-transition[data-phase=sex]{--phase-ink: #862f43;--phase-soft: #f2d8d8;border-color:#e7c6cb}.phase-transition[data-phase=connection]{--phase-ink: #456657;--phase-soft: #e3eade;border-color:#d3ded2}.phase-completed{display:inline-flex;align-items:center;gap:7px;border:1px solid #deddd4;border-radius:30px;padding:5px 11px;color:#52634f;background:#fffdf9;font-size:12px;margin:0}.phase-art{width:170px;height:160px;position:relative;display:grid;place-items:center;margin:9px auto 0;color:var(--phase-ink)}.phase-art>i{position:absolute;width:110px;height:110px;border:1px solid currentColor;border-radius:50%;opacity:0;animation:phase-ripple 2.2s ease-out 2}.phase-art>i:nth-child(2){animation-delay:.35s}.phase-art>i:nth-child(3){animation-delay:.7s}.phase-emblem{width:100px;height:100px;display:grid;place-items:center;background:#fffcf9;border:1px solid #e6cdd7;border-radius:50%;box-shadow:0 10px 35px #74384d12;animation:phase-emerge .9s cubic-bezier(.2,.8,.2,1) both}.phase-emblem svg{width:60px;height:60px}.phase-transition .kicker{color:var(--phase-ink);font-size:10px}.phase-transition h1{font-size:clamp(34px,8vw,48px);color:var(--phase-ink);margin:9px 0 14px;animation:phase-arrive .7s .16s ease-out both;outline:none}.phase-description{color:#66565c;max-width:310px;margin:0 auto 22px;font-size:14px;animation:phase-arrive .7s .26s ease-out both}.phase-journey{padding:0;margin:0 0 22px;list-style:none;display:flex;justify-content:center}.phase-journey li{flex:1;min-width:0;position:relative;color:var(--muted)}.phase-journey li+li:before{content:"";position:absolute;width:calc(100% - 34px);height:1px;background:var(--line);left:calc(-50% + 17px);top:15px}.phase-step-number{display:grid;place-items:center;width:30px;height:30px;margin:0 auto 8px;border:1px solid var(--line);border-radius:50%;background:#fffcf9;font-size:12px}.phase-journey strong{display:block;font-size:11px;font-weight:500}.phase-journey small{font-size:10px}.phase-journey .done{color:#52634f}.phase-journey .done .phase-step-number{background:#edf0e8;border-color:#cfd8ca}.phase-journey .current{color:var(--phase-ink)}.phase-journey .current strong{font-weight:700}.phase-journey .current .phase-step-number{background:var(--phase-ink);border-color:var(--phase-ink);color:#fff;box-shadow:0 0 0 4px var(--phase-soft)}.phase-round{font-size:12px;color:#66565c;overflow-wrap:anywhere}.phase-transition button{background:var(--phase-ink);border-color:var(--phase-ink)}.phase-transition-preview{max-width:440px;margin:0 auto}@keyframes phase-arrive{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes phase-emerge{0%{opacity:0;transform:scale(.65) rotate(-12deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes phase-ripple{0%{opacity:.28;transform:scale(.8)}to{opacity:0;transform:scale(1.5)}}
