:root{color-scheme:dark;--bg:#0b0c12;--panel:rgba(23,24,34,.82);--line:#30313f;--text:#f7f7fb;--muted:#9fa1b3;--purple:#7b72ff;--cyan:#5eead4;--danger:#ff7b9c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text)}button,select{font:inherit}.ambient{position:fixed;border-radius:999px;filter:blur(110px);opacity:.2;pointer-events:none}.ambient-one{width:420px;height:420px;background:#6b5cff;top:-180px;right:-100px}.ambient-two{width:360px;height:360px;background:#0ddbb2;bottom:-220px;left:-120px}.shell{position:relative;width:min(1180px,calc(100% - 28px));margin:auto;padding-bottom:64px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-mark,.notification-icon,.method-icon{display:grid;place-items:center;background:linear-gradient(135deg,var(--purple),#a66bff);border-radius:14px;font-weight:900}.brand-mark{width:44px;height:44px}.brand span:last-child{display:flex;flex-direction:column}.brand small,.account-name,.status-card small,.method-card small{color:var(--muted)}.account-actions{display:flex;align-items:center;gap:12px}.panel{background:var(--panel);border:1px solid var(--line);box-shadow:0 24px 80px rgba(0,0,0,.24);backdrop-filter:blur(20px);border-radius:24px}.hero{margin:9vh auto 0;padding:clamp(28px,7vw,72px);max-width:860px}.hero h1,.dashboard-head h1{font-size:clamp(2.4rem,7vw,5.4rem);letter-spacing:-.055em;line-height:.95;margin:16px 0}.hero h1 em{font-style:normal;color:#9f98ff}.hero p,.dashboard-head p{color:var(--muted);font-size:1.08rem;max-width:600px;line-height:1.7}.eyebrow{font-size:.72rem;letter-spacing:.18em;color:var(--cyan);font-weight:800}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:12px;padding:11px 16px;color:var(--text);background:#242531;text-decoration:none;cursor:pointer;font-weight:700}.button:hover{transform:translateY(-1px);border-color:#676979}.button.primary{background:linear-gradient(135deg,#7167ff,#956cff);border:0}.button.secondary{background:#262738}.button.ghost{background:transparent}.button.large{margin-top:18px;padding:15px 22px}.preview-link{display:inline-block;color:var(--muted);margin-left:16px}.hidden{display:none!important}.dashboard-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:35px 0 26px}.dashboard-head h1{font-size:clamp(2.2rem,5vw,4rem);margin:10px 0}.guild-picker{display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:.8rem}.guild-picker select,.field select{color:var(--text);background:#1b1c27;border:1px solid var(--line);border-radius:11px;padding:12px;min-width:210px}.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.status-card{border:1px solid var(--line);border-radius:18px;padding:18px;background:rgba(21,22,31,.8);display:flex;flex-direction:column;gap:5px}.status-card span{color:var(--muted);font-size:.76rem}.status-card strong{font-size:1.25rem}.status-card.accent{background:linear-gradient(135deg,rgba(123,114,255,.25),rgba(94,234,212,.1));border-color:#5f5b9b}.content-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.content-grid>.panel{padding:22px}.rules-panel,.delivery-panel,.devices-panel{grid-column:1}.settings-panel{grid-column:1}.preview-panel{grid-column:2;grid-row:1/span 3;align-self:start;position:sticky;top:18px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head>div{display:flex;align-items:center;gap:10px}.section-head h2{font-size:1.05rem;margin:0}.step{display:grid;place-items:center;border-radius:8px;background:#292a39;color:#aaa5ff;width:32px;height:28px;font-size:.72rem;font-weight:900}.pill,.live-dot{font-size:.68rem;padding:6px 9px;border-radius:999px;background:#2b2c39;color:var(--muted)}.pill.lavender{color:#c8c5ff}.live-dot{color:var(--cyan)}.rule-list,.device-list{display:grid;gap:9px}.rule,.device{display:flex;justify-content:space-between;align-items:center;padding:13px;border:1px solid var(--line);border-radius:12px;background:#1a1b25}.rule small,.device small{color:var(--muted)}.empty{color:var(--muted);padding:20px;text-align:center;border:1px dashed var(--line);border-radius:12px}.compare-labels,.preference-row{display:grid;grid-template-columns:1fr 82px 82px;gap:8px;align-items:center}.compare-labels{color:var(--muted);font-size:.68rem;text-align:center;margin-bottom:4px}.compare-labels:before{content:"通知項目";text-align:left}.preference-row{padding:10px 0;border-bottom:1px solid #252632}.preference-row span:nth-child(2){color:var(--muted);text-align:center;font-size:.8rem}.switch{appearance:none;width:42px;height:24px;border-radius:99px;background:#343542;position:relative;justify-self:center;cursor:pointer}.switch:after{content:"";position:absolute;width:18px;height:18px;background:#fff;border-radius:50%;top:3px;left:3px;transition:.2s}.switch:checked{background:var(--purple)}.switch:checked:after{left:21px}.field{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:.78rem;margin:16px 0}.field select{min-width:0}.phone{min-height:520px;border:8px solid #050509;border-radius:38px;background:linear-gradient(165deg,#292640,#0e131d);padding:16px 10px}.phone-bar{display:flex;justify-content:space-between;padding:0 8px 45px;font-size:.7rem}.notification-card{display:grid;grid-template-columns:42px 1fr;gap:11px;padding:14px;background:rgba(242,242,250,.92);color:#15151b;border-radius:18px;box-shadow:0 15px 30px rgba(0,0,0,.2)}.notification-icon{width:42px;height:42px;color:#fff;border-radius:12px}.notification-card div:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.notification-card small{font-size:.58rem;color:#666}.notification-card p{font-size:.78rem;white-space:pre-wrap;margin:2px 0;line-height:1.45;overflow-wrap:anywhere}.privacy-note{font-size:.75rem;color:var(--muted);line-height:1.5}.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.method-card{position:relative;display:grid;grid-template-columns:44px 1fr;column-gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;cursor:pointer}.method-card input{position:absolute;right:14px;top:14px}.method-icon{grid-row:1/span 2;width:40px;height:40px}.method-icon.muted{background:#3a3b47}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,120px);background:#f6f6fa;color:#17171c;padding:12px 18px;border-radius:12px;font-weight:700;transition:.25s;z-index:10}.toast.show{transform:translate(-50%,0)}@media(max-width:760px){.shell{width:min(100% - 20px,1180px)}.topbar{height:72px}.brand small,.account-name{display:none}.dashboard-head{align-items:stretch;flex-direction:column}.guild-picker select{width:100%}.status-grid{grid-template-columns:1fr 1fr}.content-grid{display:flex;flex-direction:column}.preview-panel{position:static;order:3}.settings-panel{order:2}.rules-panel{order:1}.delivery-panel{order:4}.devices-panel{order:5}.phone{min-height:420px}.method-grid{grid-template-columns:1fr}.hero{margin-top:5vh}.preview-link{display:block;margin:18px 0 0}.compare-labels,.preference-row{grid-template-columns:1fr 62px 62px}}
