:root{color-scheme:dark;--bg:#101214;--surface:#191c20;--line:#30343a;--muted:#9ba2ac;--text:#f3f4f6;--accent:#d7e9ba;--radius:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-width:280px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:default;opacity:.5}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.shell{max-width:1320px;margin:auto;padding:0 60px;min-height:100svh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 0;border-bottom:1px solid #25292e}.brand{display:flex;align-items:center;gap:13px;font-size:21px;font-weight:650;letter-spacing:.03em;min-height:48px}.brand-icon{height:44px;width:44px;border:1px solid #3a4249;border-radius:13px;display:grid;place-items:center;color:var(--accent)}.top-actions{display:flex;align-items:center;gap:28px}#clock{color:#d0d4d9;font-size:23px;font-variant-numeric:tabular-nums;letter-spacing:.06em}.button{min-height:56px;padding:14px 22px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;font-size:16px;font-weight:600;line-height:1.3;white-space:nowrap;transition:background .15s,transform .15s}.button:active{transform:scale(.97)}.primary{background:var(--accent);color:#1b2611}.primary:hover{background:#e3f2cb}.secondary{background:#202429;color:#e5e7eb;border-color:#343a42}.secondary:hover{background:#2c3239}.danger{background:#4b2429;color:#ffc1c7;border-color:#754149}.danger:hover{background:#633038}main{padding:52px 0 30px;flex:1}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}h1{font-size:clamp(30px,3.5vw,44px);font-weight:550;line-height:1.2;letter-spacing:-.035em;margin:0 0 14px}p{line-height:1.7}.intro p{font-size:18px;color:var(--muted);margin:0}.bookmarks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tile{position:relative;min-width:0;min-height:264px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--tile-border,#3a3932);background:var(--tile-bg,#27271f);color:var(--tile-fg,#e6d4a7)}.tile-link{display:flex;flex-direction:column;align-items:flex-start;min-height:264px;height:100%;padding:30px;transition:background .18s}.tile-link:hover{background:#ffffff08}.tile-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:var(--tile-icon,#3a382b);margin-bottom:27px}.tile-icon svg{width:34px;height:34px;stroke-width:1.65}.tile-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:auto}.tile-name{font-size:27px;letter-spacing:-.03em;font-weight:600;overflow-wrap:anywhere}.tile-subtitle{font-size:14px;line-height:1.4;opacity:.72;display:block;margin-top:8px;overflow-wrap:anywhere}.tile-arrow{width:23px;height:23px;opacity:.7}.tile-edit{position:absolute;right:14px;top:14px;border:1px solid #ffffff26;background:#101214cc;border-radius:13px;min-height:48px;min-width:48px;display:grid;place-items:center;color:#fff}.tile-edit:hover{background:#30343a}.add-tile{min-height:264px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#a7aeb8;background:transparent;border:1px dashed #444a52;border-radius:var(--radius);font-size:18px}.add-tile:hover{background:#1b1f23;color:var(--text);border-color:#889180}.add-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:50%;border:1px solid #3b4148;background:#1a1e22}.add-icon svg{width:26px;height:26px}.bottom-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px}.park-note{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:10px;margin:0}.status-dot{width:6px;height:6px;background:#a8bd8c;border-radius:50%;flex-shrink:0}.text-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;background:none;border:0;color:#bac1cb;font-size:14px;padding:8px 0}.text-button:hover{color:var(--accent)}.text-button svg{width:16px;height:16px}footer{display:flex;justify-content:space-between;gap:16px;color:#656d78;font-size:11px;letter-spacing:.1em;padding:24px 0 28px;border-top:1px solid #25292e}footer span:last-child{letter-spacing:.04em}
dialog{background:#1a1e22;color:var(--text);border:1px solid #3b424b;border-radius:24px;padding:28px;width:560px;max-width:calc(100% - 32px);max-height:calc(100svh - 32px);box-shadow:0 32px 110px #0008;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}h2{font-size:25px;letter-spacing:-.02em;font-weight:600;margin:0}.icon-button{display:grid;place-items:center;min-height:48px;min-width:48px;background:#292e35;color:#bdc5cf;border:0;border-radius:13px}.icon-button:hover{background:#363d46}label{display:block;font-size:15px;color:#d8dde4;margin:20px 0 10px}input:not([type=file]){border:1px solid #404853;background:#111519;border-radius:13px;min-height:56px;padding:15px 16px;width:100%;color:#f3f4f6;font-size:17px}input::placeholder{color:#747e8b}.field-hint{font-size:13px;color:var(--muted);margin:10px 0}.color-picker{padding:0;border:0;margin:22px 0 0}.color-picker legend{font-size:15px;margin-bottom:12px}.color-picker>div{display:flex;gap:10px}.color-swatch{border:2px solid transparent;border-radius:50%;width:48px;height:48px;display:grid;place-items:center}.color-swatch[aria-pressed=true]{border-color:#fff;box-shadow:0 0 0 3px #1a1e22 inset}.color-swatch svg{width:21px;height:21px}.error{font-size:14px;min-height:24px;color:#ffb5bd;margin:16px 0 0}.dialog-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}#delete-bookmark{margin-right:auto}.help-section{border-top:1px solid #343b43;padding-top:20px;margin-top:22px}.help-section h3{font-size:17px;font-weight:600;margin:0 0 10px}.help-section p{color:#adb6c2;font-size:15px;margin:8px 0}.backup-actions{display:flex;gap:12px;margin-top:18px}#settings-message{color:var(--accent)}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#e2eccf;color:#18220f;padding:14px 24px;border-radius:14px;box-shadow:0 8px 40px #0006;z-index:10;font-size:15px}.noscript{margin:24px;padding:24px;border:1px solid #555}.noscript a{text-decoration:underline}
@media(min-width:1500px){.shell{max-width:1440px}main{padding-top:70px}.tile,.tile-link,.add-tile{min-height:300px}.tile-link{padding:34px}.tile-name{font-size:30px}.tile-icon{margin-bottom:42px}}
@media(max-width:900px){.shell{padding:0 32px}.bookmarks{grid-template-columns:repeat(2,minmax(0,1fr))}.add-tile{min-height:150px}.top-actions{gap:16px}.tile,.tile-link{min-height:250px}.tile-link{padding:26px}main{padding-top:38px}.bottom-row{align-items:flex-start;flex-direction:column;gap:4px}}
@media(max-width:540px){.shell{padding:0 20px}.topbar{padding:20px 0;gap:12px}.brand{font-size:18px;gap:9px}.brand-icon{width:36px;height:36px;border-radius:11px}.brand-icon svg{width:22px;height:22px}#clock{display:none}.top-actions{gap:0}.topbar .button{min-height:48px;padding:12px 15px;font-size:14px;border-radius:12px}.topbar .button svg{width:19px;height:19px}.intro{align-items:flex-start;gap:16px;margin-bottom:24px}.intro .button{font-size:14px;padding:12px;min-height:48px;gap:6px}.intro .button svg{width:18px;height:18px}h1{font-size:30px;margin-bottom:12px}.intro p{font-size:15px;max-width:210px}.bookmarks{grid-template-columns:1fr;gap:16px}.tile,.tile-link{min-height:218px}.tile-link{padding:25px}.tile-icon{width:58px;height:58px;border-radius:17px;margin-bottom:24px}.tile-icon svg{width:30px;height:30px}.tile-name{font-size:26px}.add-tile{min-height:116px;flex-direction:row;gap:14px}.add-icon{width:44px;height:44px}.add-icon svg{width:22px;height:22px}.bottom-row{margin-top:20px}.park-note{font-size:12px}.text-button{font-size:13px}footer{padding:20px 0;font-size:9px;gap:12px;letter-spacing:.06em}dialog{padding:22px;border-radius:20px}.dialog-heading{margin-bottom:20px}h2{font-size:22px}.dialog-actions .button{font-size:14px;padding:13px 17px;min-height:50px}#delete-bookmark{width:100%;margin-right:0}.color-picker>div{gap:8px}.color-swatch{width:46px;height:46px}.toast{font-size:14px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
.color-picker>div{flex-wrap:wrap}.color-swatch{width:48px;height:48px;flex-shrink:0}
