:root{--bg:#f8f8fd;--white:#fff;--ink:#23213a;--muted:#6d6983;--soft:#9190a7;--purple:#6d50e7;--line:#eceaf4;--sidebar:224px;font:15px/1.55 "Inter","Noto Sans CJK TC","Noto Sans",system-ui,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a78dff;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0;background:none;color:inherit}p,h1,h2,h3{margin:0}svg{width:20px;height:20px;display:block;flex:none}button svg{pointer-events:none}
.layout{min-height:100vh}.sidebar{width:var(--sidebar);height:100dvh;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 16px 14px;z-index:2}.brand{display:flex;gap:10px;align-items:center;padding:0 7px;font-size:20px;font-weight:900;white-space:nowrap}.brand small{font-size:14px;color:var(--purple);font-weight:800}.brand-icon{background:var(--purple);color:white;width:35px;height:35px;border-radius:10px;display:grid;place-items:center;box-shadow:0 4px 9px #694deb30}.brand-icon svg{transform:rotate(-10deg)}.side-label{font-size:11px;font-weight:750;letter-spacing:.12em;color:#8e89a1;margin:42px 10px 10px}nav{display:grid;gap:5px}.nav-link{height:44px;padding:0 11px;display:flex;align-items:center;gap:12px;color:#646079;font-weight:650;font-size:14px;border-radius:9px}.nav-link svg{width:18px;height:18px}.nav-link:hover,.nav-link.active{background:#f0ebff;color:#6646da}.nav-link.active{font-weight:800}.side-bottom{margin-top:auto}.side-note{position:relative;overflow:hidden;margin:12px 0 17px;padding:14px;background:#f3efff;border:1px solid #eee7ff;border-radius:12px;color:#674ac4;font-size:13px}.side-note:after,.side-note:before{content:"";position:absolute;width:94px;height:94px;border:1px solid #e1d6fc;border-radius:50%;right:-34px;bottom:-42px}.side-note:before{right:-25px;bottom:-50px}.side-note svg{width:18px;height:18px;margin-bottom:5px}.side-note p{font-size:12px;color:#74668e;margin-top:3px}.profile{display:flex;text-align:left;align-items:center;gap:9px;width:100%;border-top:1px solid var(--line);padding:13px 3px 1px}.profile small{display:block;color:var(--muted);font-size:11px}.profile [data-icon]{margin-left:auto;color:var(--soft)}.profile svg{width:15px}.avatar{width:33px;height:33px;display:inline-grid;place-items:center;flex:none;border-radius:50%;font-size:12px;font-weight:850;color:#5f45b4;background:#e9defe}.avatar.peach{background:#ffe2d5;color:#a95336}.avatar.mint{background:#def4e9;color:#307d67}.avatar.blue{background:#e1eaff;color:#4761a9}.avatars{display:flex;align-items:center}.avatars .avatar{border:2px solid #fff;margin-left:-7px}.avatars .avatar:first-child{margin-left:0}
.workspace{margin-left:var(--sidebar)}.topbar{height:68px;display:flex;justify-content:space-between;align-items:center;padding:0 32px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb,.top-actions{display:flex;align-items:center;gap:11px}.breadcrumb{color:var(--muted);font-size:13px}.breadcrumb b{color:var(--ink)}.breadcrumb svg{width:16px;height:16px;color:#8a80a8}.primary,.secondary,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;font-size:13px;font-weight:750;padding:9px 14px;min-height:38px}.primary{background:var(--purple);color:white;box-shadow:0 3px 7px #6d50e725}.primary:hover{background:#5c3bd3}.secondary,.icon-button{background:white;border:1px solid var(--line)}.secondary:hover,.icon-button:hover{background:#f1edff}.icon-button{padding:8px;width:40px;color:#716887}.primary svg,.secondary svg,.icon-button svg{width:17px;height:17px}
main{max-width:1440px;margin:auto;padding:26px 32px 38px}.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:19px;min-height:292px;display:flex;align-items:center;padding:30px 34px;color:white;background:#34265d url('/assets/hero.webp') center 54%/cover no-repeat;box-shadow:0 7px 18px #33225f13}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#22193bf2 0%,#2e214bbc 37%,#30224721 76%),linear-gradient(0deg,#251c46a2,transparent 42%)}.badge{display:inline-flex;align-items:center;gap:7px;background:#ede6ff26;border:1px solid #ffffff42;padding:3px 10px;border-radius:30px;font-size:12px;font-weight:750}.badge svg{width:14px;height:14px}.hero h1{font-size:clamp(29px,3.25vw,53px);letter-spacing:.02em;line-height:1.23;margin:10px 0}.hero p{color:#efebfb;font-size:14px}.hero-bottom{display:flex;align-items:center;gap:16px;margin-top:22px;flex-wrap:wrap}.hero-meta{display:flex;align-items:center;gap:7px;color:#f8f3ff;font-size:13px;font-weight:650}.hero-meta svg{width:16px;height:16px}.hero-bottom .avatars .avatar{border-color:#3a2c59}.hero-edit{position:absolute;top:20px;right:20px;background:#25184655;color:white;border:1px solid #ffffff50}.hero-edit:hover{background:#251846a0}.photo-tag{position:absolute;right:21px;bottom:17px;display:flex;gap:5px;align-items:center;color:#fff;font-size:11px;text-shadow:0 1px 4px #120f25}.photo-tag svg{width:13px;height:13px}
.section{margin-top:25px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.section-head h2,.page-title h1{font-size:22px;line-height:1.4;letter-spacing:.015em}.section-head p,.page-title p{color:var(--muted);font-size:13px;margin-top:3px}.text-link{display:inline-flex;align-items:center;gap:5px;color:#6749d6;font-size:13px;font-weight:800;white-space:nowrap}.text-link svg{width:15px;height:15px}.tile-grid,.spot-grid{display:grid;gap:12px}.tile-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.tile,.spot,.panel,.game-card{min-width:0;background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 2px 5px #34225705}.tile{padding:14px;position:relative;display:block}.tile:hover,.spot:hover{border-color:#cab9fb;transform:translateY(-2px)}.tile,.spot{transition:transform .16s,border-color .16s}.tile-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;margin-bottom:9px;color:#7353d8;background:#eee7ff}.tile-icon.blue{background:#e8efff;color:#4d70c9}.tile-icon.pink{background:#fce8f2;color:#bb5088}.tile-icon.green{background:#e4f6ee;color:#2c8a69}.tile-icon.orange{background:#fff0da;color:#a86a25}.tile h3,.spot h3{font-size:15px}.tile p{color:var(--muted);font-size:11px;margin-top:2px}.tile .arrow{position:absolute;top:17px;right:12px;color:#978eb0}.tile .arrow svg{width:15px}
.spot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.spot{overflow:hidden;position:relative}.spot-image{height:119px;background:linear-gradient(135deg,#9e8ec6,#d4b3c9);background-size:cover;background-position:center}.spot-body{padding:10px 12px 12px}.spot-label{display:inline-block;font-size:10px;color:#6b4ac9;background:#f1ebff;border-radius:20px;padding:2px 7px;font-weight:800;margin-bottom:4px}.spot-label.food{color:#a74176;background:#fce8f1}.spot-body p{color:var(--muted);font-size:12px}.spot .heart{position:absolute;right:8px;top:8px;background:white;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;color:#7856dd;box-shadow:0 2px 10px #26163833}.heart svg{width:16px;height:16px;fill:#e9ddff}.page-title{margin-bottom:20px}.page-title h1{font-size:30px}.panel,.game-card{padding:18px}.panel+.panel{margin-top:15px}.panel h2,.game-card h2{font-size:18px;margin-bottom:6px}.panel p,.game-card p{color:var(--muted);font-size:13px;margin-bottom:12px}.form-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));align-items:end}.field{min-width:0;display:grid;gap:5px;font-size:13px;font-weight:700}.field input,.field select{min-width:0;width:100%;border:1px solid #dfdbec;border-radius:8px;padding:8px 9px;color:var(--ink);background:white}.row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row small{color:var(--muted);display:block}.row-actions,.filters{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.filters{margin-bottom:14px}.chip{padding:5px 11px;border-radius:25px;border:1px solid var(--line);background:white;font-size:13px}.chip.selected{background:#eee7ff;color:#6544d5;border-color:#ddd0ff}.empty{padding:21px;background:#f7f4ff;border-radius:9px;color:var(--muted);font-size:14px}.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-output{font-weight:750;color:#6845d9;margin-top:13px}.bingo{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.bingo button{min-height:52px;background:#f4efff;border-radius:8px;font-size:12px}.bingo button[aria-pressed=true]{background:#7354dc;color:white}
dialog{width:min(490px,calc(100% - 24px));max-height:calc(100dvh - 30px);border:1px solid var(--line);border-radius:15px;padding:22px;color:var(--ink);box-shadow:0 12px 60px #21143b42}dialog::backdrop{background:#21173565}dialog h2{font-size:22px;margin-bottom:10px}dialog p{color:var(--muted);margin-bottom:13px;font-size:14px}dialog form{display:grid;gap:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}#toast{z-index:5;position:fixed;right:18px;bottom:18px;max-width:calc(100% - 36px);background:#382560;color:white;border-radius:10px;padding:10px 14px;box-shadow:0 4px 20px #1d12352e;font-size:13px}#toast:empty{display:none}
@media(max-width:1050px){:root{--sidebar:190px}.topbar{padding:0 23px}main{padding:22px 23px 32px}.tile{padding:11px}}
@media(max-width:800px){:root{--sidebar:63px}.sidebar{padding:13px 8px}.brand{padding:0;justify-content:center}.brand>span:last-child,.nav-link span,.side-label,.side-note,.profile>span:not(.avatar){display:none}.sidebar nav{margin-top:24px}.nav-link,.profile{justify-content:center;padding:0}.profile{padding-top:12px}.hero{min-height:245px}.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){:root{--sidebar:0px}.sidebar{width:100%;height:56px;inset:auto 0 0;border:0;border-top:1px solid var(--line);padding:3px 4px max(3px,env(safe-area-inset-bottom));display:block}.sidebar .brand,.side-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;margin:0;gap:2px}.nav-link{display:flex;flex:1;flex-direction:column;gap:2px;height:47px;font-size:9px;white-space:nowrap}.nav-link span{display:inline}.nav-link svg{width:18px}.topbar{height:55px;padding:0 12px}.breadcrumb{gap:5px;font-size:11px}.top-actions{gap:5px}.invite{padding:7px 8px}.icon-button{width:32px}main{padding:12px 11px 75px}.hero{min-height:253px;padding:35px 14px 25px;background-position:64% center}.hero h1{font-size:29px}.hero p{font-size:12px;max-width:240px}.hero-edit{top:10px;right:9px;padding:5px;font-size:10px;min-height:29px}.hero-bottom{gap:6px;margin-top:13px}.hero-meta{font-size:11px}.photo-tag{bottom:6px;right:9px;font-size:9px}.section{margin-top:19px}.section-head h2{font-size:19px}.tile-grid{gap:7px}.tile h3{font-size:13px}.tile p{font-size:10px}.spot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.spot-image{height:88px}.game-grid{grid-template-columns:1fr}}
