:root{color-scheme:light;--bg:#f6f7f7;--paper:#fff;--ink:#17272b;--dim:#516168;--line:#ced8d8;--action:#0b514d;--button-ink:#fff;--hover:#d7eee8;--max:1120px;font:16px/1.55 "Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif;background:var(--bg);color:var(--ink)}
:root[data-theme=dark]{color-scheme:dark;--bg:#141d20;--paper:#1d292d;--ink:#edf5f4;--dim:#b6c7cb;--line:#415256;--action:#8bd9ca;--button-ink:#0e2927;--hover:#26443f}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #348bb3;outline-offset:4px}.studio-header,.studio-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px max(22px,calc((100% - var(--max)) / 2));border-bottom:1px solid var(--line);background:var(--paper)}.studio-brand{display:flex;gap:.55em;align-items:center;font-size:1.15rem;font-weight:800;letter-spacing:-.045em}.studio-header nav{display:flex;align-items:center;gap:5px}.studio-header nav a,.theme-toggle{min-height:44px;display:inline-flex;align-items:center}.studio-header nav a,.theme-toggle{font-size:.9rem;padding:8px 12px;border-radius:8px;font-weight:650}.studio-header nav a:hover,.studio-header [aria-current=page],.theme-toggle:hover{background:var(--hover)}.theme-toggle{border:1px solid var(--line);background:var(--paper);color:var(--ink);cursor:pointer}.studio-main{width:min(calc(100% - 44px),var(--max));margin:clamp(32px,6vh,68px) auto 60px;flex:1}.studio-main h1{font-size:clamp(2.1rem,4vw,3.4rem);letter-spacing:-.07em;line-height:1.12;margin:0 0 30px}.studio-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.product,.studio-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px}.product{overflow:hidden;display:flex;flex-direction:column}.product-cover{height:clamp(150px,21vw,240px);position:relative;overflow:hidden;display:grid;place-items:center}.game-cover{background:#193d36 radial-gradient(circle at 75% 12%,#39735e 0,transparent 56%)}.wheel-shadow{position:relative;width:180px;height:180px;transform:rotate(-12deg);filter:drop-shadow(8px 13px 9px #071e1e77)}.cover-wheel{display:block;width:100%;height:100%;border-radius:50%;border:7px solid #e3f0ce;box-shadow:inset 0 0 0 3px #173c3866;background:repeating-conic-gradient(from -22.5deg,#bbdfac 0 42deg,#d7e5c1 42deg 45deg,#398e7c 45deg 87deg,#d7e5c1 87deg 90deg)}.wheel-cap{position:absolute;inset:40%;background:#395c53;border:5px solid #ebf3dc;border-radius:50%}.wheel-pointer{position:absolute;top:-2%;left:44%;width:13%;height:20%;background:#ffd086;clip-path:polygon(0 0,100% 0,50% 100%)}
.manager-cover{background:#23344c radial-gradient(circle at 25% 80%,#435875,transparent 60%)}.chat-stack{display:grid;gap:9px;width:min(58%,252px);transform:rotate(-5deg)}.chat{height:44px;border:1px solid #d5e4ef88;border-radius:11px;display:flex;align-items:center;gap:11px;padding:0 12px;background:#e8eef4;box-shadow:4px 7px 0 #17283a66}.chat b{width:22px;height:22px;background:#57798a;border-radius:8px}.chat em{height:6px;width:54%;border-radius:4px;background:#7c91a6}.chat.second{transform:translateX(17%);background:#c0ded9}.chat.second b{background:#41857b}.chat.third{width:83%;background:#d2deee}.product-body{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(22px,3vw,34px);flex:1}.product h2{font-size:clamp(1.4rem,2.4vw,1.85rem);letter-spacing:-.05em;line-height:1.25;margin:0 0 14px}.product-body p,.studio-panel p{color:var(--dim);margin:0 0 16px;line-height:1.65}.game-links{display:flex;flex-wrap:wrap;gap:3px 10px;margin:-5px 0 10px}.game-links a{color:var(--dim);padding:5px 0;text-underline-offset:4px}.game-links a:hover,.studio-footer a:hover{text-decoration:underline}.studio-action{border:0;border-radius:9px;color:var(--button-ink);background:var(--action);font-weight:750;padding:11px 19px;display:inline-flex;justify-content:center;align-items:center;gap:15px;min-height:46px;cursor:pointer}.product-body .studio-action{margin-top:auto}.studio-action:hover{filter:brightness(1.12)}.studio-action:disabled{opacity:.6;cursor:wait}
.registration-page {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 1fr);
  align-content: start;
  align-items: start;
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 64rem;
}
.manager-actions { display: grid; }
.manager-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--action);
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
}
a.manager-action:hover { background: var(--hover); border-color: var(--action); }
a.manager-action::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  margin-right: 3px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(135deg);
}
.manager-action[aria-disabled=true] { color: var(--dim); }
.manager-action small { flex: none; font-size: .82rem; font-weight: 500; }
@media (max-width: 720px) {
  .registration-page { grid-template-columns: minmax(0, 1fr); max-width: 42rem; }
}
.registration-page h1{font-size:clamp(1.65rem,3vw,2.25rem);margin-bottom:24px}.studio-panel{padding:clamp(20px,3vw,34px)}.studio-panel label,.studio-panel legend{font-weight:700}.studio-panel input:not([type=radio]){width:100%;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:9px 13px;min-height:44px;margin:5px 0 17px}.studio-panel small{color:var(--dim);font-size:.83rem;font-weight:500}.studio-panel fieldset{border:0;padding:0;margin:0 0 10px}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.plan-grid label{display:flex;align-items:center;gap:7px;border:1px solid var(--line);padding:10px;border-radius:8px;min-height:45px;cursor:pointer;line-height:1.35}.plan-grid label:has(:checked){border-color:var(--action);background:var(--hover)}input[type=radio]{accent-color:var(--action);margin:0}.hint,.form-status{font-size:.9rem}.form-status:empty{display:none}.studio-panel .form-status{margin:16px 0 0;color:var(--ink)}.studio-footer{border:0;border-top:1px solid var(--line);color:var(--dim);font-size:.83rem}.studio-footer a{padding:6px 0}
@media(max-width:720px){.studio-main{margin-top:26px}.studio-header{flex-wrap:wrap}.studio-brand{font-size:1rem}.studio-cards{grid-template-columns:1fr}.studio-main h1{margin-bottom:20px}.product-cover{height:144px}.wheel-shadow{width:115px;height:115px}.chat{height:30px}.chat b{width:16px;height:16px}.chat-stack{width:155px}.studio-header nav a,.theme-toggle{padding:7px;font-size:.84rem}.studio-panel{padding:19px}}
@media(max-width:380px){.studio-main{width:calc(100% - 28px)}.studio-header,.studio-footer{padding:12px 14px}.studio-brand img{width:24px;height:24px}.plan-grid{grid-template-columns:1fr}}
