:root{--bg:#14110f;--surface:#1d1916;--surface-2:#26211d;--line:#352e28;--text:#f3ece4;--muted:#a39686;--beer:#e4a83c;--beer-soft:#e4a83c24;--whisky:#c4703f;--whisky-soft:#c4703f29;--accent:var(--beer);--danger:#e0685a;--radius:16px;--serif:"Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;--sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--tabbar-h:68px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased;margin:0;font-size:16px;line-height:1.45}body{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}input,select,textarea{font:inherit;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:12px;outline:none;width:100%;min-height:46px;padding:12px 14px;font-size:16px}input:focus,select:focus,textarea:focus{border-color:var(--accent)}textarea{resize:vertical}select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:calc(100% - 16px),calc(100% - 11px);background-repeat:no-repeat;background-size:5px 5px;width:auto;padding-right:28px}.page{max-width:560px;padding:calc(env(safe-area-inset-top) + 20px) 18px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 28px);flex-direction:column;gap:16px;margin:0 auto;display:flex}.page-head h1{font-family:var(--serif);letter-spacing:-.01em;margin:4px 0 2px;font-size:2rem;font-weight:600;line-height:1.15}.page-head p{margin:0}.eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-size:.72rem}.muted{color:var(--muted)}.small{font-size:.84rem}.loading{color:var(--muted);text-align:center;padding:40px 0}.row{align-items:center;gap:10px;display:flex}.row>label{flex:1}.row.tight{gap:6px}.grow{flex:1;min-width:0}.stack{flex-direction:column;gap:10px;display:flex}.btn{border:1px solid var(--line);background:var(--surface-2);text-align:center;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:0 18px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.45;cursor:default}.btn.primary{background:var(--accent);color:#1a1209;border-color:#0000}.btn.ghost{background:0 0}.btn.danger{color:var(--danger);border-color:#0000}.btn.small{min-height:36px;padding:0 14px;font-size:.88rem}.link{color:var(--accent);background:0 0;border:none;padding:0}.segmented{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:4px;display:flex}.segmented button{color:var(--muted);background:0 0;border:none;border-radius:999px;flex:1;padding:9px 0;font-weight:600}.segmented button.active{color:var(--text);background:#3a322b;box-shadow:0 1px 2px #0006}.segmented button.active.seg-beer{background:var(--beer-soft);color:var(--beer)}.segmented button.active.seg-whisky{background:var(--whisky-soft);color:var(--whisky)}.toolbar{flex-direction:column;gap:10px;display:flex}.search{flex:auto;min-width:0}.toolbar select{flex:none}.cards{flex-direction:column;gap:12px;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);text-align:left;gap:14px;width:100%;padding:12px;display:flex;position:relative;overflow:hidden}.card.plain{display:block}.card[class*=accent-]:before{content:"";background:var(--beer);width:3px;position:absolute;top:0;bottom:0;left:0}.card.accent-whisky:before{background:var(--whisky)}.card-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.card-title{font-family:var(--serif);text-overflow:ellipsis;margin:2px 0 0;font-size:1.15rem;font-weight:600;line-height:1.2;overflow:hidden}.card-comment{color:#d8cec2;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:4px 0 0;font-size:.92rem;display:-webkit-box;overflow:hidden}.card-comment.full{-webkit-line-clamp:unset;display:block}.row-card{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.thumb{object-fit:cover;background:var(--surface-2);border-radius:12px;flex-shrink:0;width:88px;height:88px}.thumb-empty{place-items:center;font-size:2rem;display:grid}.thumb-beer{background:radial-gradient(circle at 50% 40%, var(--beer-soft), var(--surface-2))}.thumb-whisky{background:radial-gradient(circle at 50% 40%, var(--whisky-soft), var(--surface-2))}.match-card .thumb{width:64px;height:64px}.hero{margin:-4px -18px 0}.hero .thumb{border-radius:0;width:100%;height:300px;font-size:4rem}.chip{letter-spacing:.08em;text-transform:uppercase;border-radius:999px;width:fit-content;padding:3px 8px;font-size:.7rem;font-weight:700;display:inline-block}.chip-beer{background:var(--beer-soft);color:var(--beer)}.chip-whisky{background:var(--whisky-soft);color:var(--whisky)}.stars{color:#4a4038;gap:2px;display:flex}.stars .on{color:var(--beer)}.stars-sm{letter-spacing:1px;font-size:.95rem}.stars-lg{justify-content:center;gap:6px}.stars-lg button{color:#4a4038;background:0 0;border:none;padding:4px;font-size:2.6rem;line-height:1;transition:transform .1s}.stars-lg button.on{color:var(--beer)}.stars-lg button:active{transform:scale(1.2)}.rating-block{text-align:center;flex-direction:column;gap:6px;padding:8px 0;display:flex}.form{flex-direction:column;gap:14px;display:flex}.form label{color:var(--muted);flex-direction:column;gap:6px;font-size:.85rem;display:flex}.facts{grid-template-columns:auto 1fr;gap:6px 16px;margin:0;display:grid}.facts dt{color:var(--muted)}.facts dd{margin:0}.section{flex-direction:column;gap:10px;display:flex}.section h2{font-family:var(--serif);margin:8px 0 0;font-size:1.2rem;font-weight:600}.notice{background:var(--beer-soft);color:#f1d9a8;border-radius:12px;padding:12px 14px;font-size:.92rem}.error{color:#f3b1a8;background:#e0685a24;border-radius:12px;padding:12px 14px;font-size:.92rem}.capture{background:radial-gradient(circle at 50% 35%, var(--beer-soft), var(--surface) 70%);border:1.5px dashed #5a4c3e;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:260px;display:flex}.capture-icon{font-size:3.2rem}.capture-label{font-family:var(--serif);font-size:1.3rem;font-weight:600}.analyzing{color:var(--muted);flex-direction:column;align-items:center;gap:18px;padding-top:30px;display:flex}.preview{object-fit:cover;border-radius:var(--radius);width:100%;max-height:340px}.preview.small{max-height:180px}.spinner{border:3px solid var(--line);border-top-color:var(--beer);border-radius:50%;width:36px;height:36px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.avatar{background:var(--whisky-soft);width:40px;height:40px;color:var(--whisky);border-radius:50%;flex-shrink:0;place-items:center;font-weight:700;display:grid}.invite-box{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.invite-box input{flex:1;font-size:.85rem}.invite-box p{width:100%;margin:0}.choice{flex-direction:column;gap:8px;display:flex}.choice button{text-align:left;border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.choice button.active{border-color:var(--beer);background:var(--beer-soft)}.empty{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:36px 12px;display:flex}.empty h3{font-family:var(--serif);margin:0;font-size:1.25rem}.empty p{margin:0 0 8px}.empty-icon{font-size:2.6rem}.auth{padding-top:calc(env(safe-area-inset-top) + 56px);text-align:center}.auth h1{font-family:var(--serif);margin:0;font-size:2.4rem}.auth>p{margin:-8px 0 8px}.auth .form{text-align:left}.brand-mark{letter-spacing:6px;font-size:2.4rem}.tabbar{padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line);z-index:10;background:#14110feb;position:fixed;bottom:0;left:0;right:0}.tabbar-inner{max-width:560px;height:var(--tabbar-h);grid-template-columns:repeat(4,1fr);align-items:center;margin:0 auto;display:grid}.tabbar a{color:var(--muted);flex-direction:column;align-items:center;gap:3px;padding:6px 0;font-size:.68rem;display:flex}.tabbar a.active{color:var(--beer)}.tab-add-btn{background:var(--beer);color:#1a1209;border-radius:999px;place-items:center;width:44px;height:30px;margin-top:-4px;display:grid}.tabbar a.tab-add,.tabbar a.tab-add.active{color:var(--text)}
