@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-cyrillic-ext-wght-normal.2jgcf8q85ruhr.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-cyrillic-wght-normal.30fy5omi2-tsw.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-vietnamese-wght-normal.2xurbq6ymflse.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-latin-ext-wght-normal.214-aqfbxbynn.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-latin-wght-normal.0jvcp-grhfvvq.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Cormorant Garamond Variable;font-style:italic;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-cyrillic-ext-wght-italic.12tc7va7w7bbn.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond Variable;font-style:italic;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-cyrillic-wght-italic.0uz22l3_lkv0t.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Cormorant Garamond Variable;font-style:italic;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-vietnamese-wght-italic.1g66ibwgth5c9.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond Variable;font-style:italic;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-latin-ext-wght-italic.13-ms0ov84-de.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond Variable;font-style:italic;font-display:swap;font-weight:300 700;src:url(../media/cormorant-garamond-latin-wght-italic.2032dh-6muz7g.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-cyrillic-ext-wght-normal.1dtltwig2y3wh.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-cyrillic-wght-normal.1hmx3sz6swr8m.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-greek-wght-normal.37b2k1x9f-55d.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-vietnamese-wght-normal.3xvzy9_grgcx4.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-latin-ext-wght-normal.0-hru0xfwhnbp.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(../media/manrope-latin-wght-normal.1p_a2k8qd5zhp.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--paper:#f7f3ec;--paper2:#eee8dc;--ink:#24211f;--muted:#81756d;--line:#d8cbbd;--red:#9e342e;--red2:#b54a42;--pink:#f5cbc7;--green:#626f53;--shadow:0 15px 45px #49341f12}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;font-family:Manrope Variable,Arial,sans-serif;font-size:14px}body:before{content:"";pointer-events:none;opacity:.22;z-index:30;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");position:fixed;inset:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit}input,textarea,select{border:1px solid var(--line);color:var(--ink);background:#fffdf8;border-radius:8px;outline:none;width:100%;padding:12px 14px}input:focus,textarea:focus,select:focus{border-color:var(--red);box-shadow:0 0 0 3px #9e342e19}textarea{resize:vertical;min-height:88px}.site-header{border-bottom:1px solid var(--line);z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f8f5eeed;justify-content:space-between;align-items:center;height:79px;padding:0 clamp(20px,5vw,80px);display:flex;position:sticky;top:0}.brand{align-items:center;gap:13px;text-decoration:none;display:flex}.brand-mark{border:1.8px solid var(--red);width:37px;height:37px;color:var(--red);border-radius:50%;place-items:center;font-family:Georgia,serif;font-size:24px;font-weight:700;display:grid;transform:rotate(-16deg)}.brand-title{font-family:Cormorant Garamond Variable,Georgia,serif;font-size:22px;font-weight:700;line-height:1;display:block}.brand-sub{letter-spacing:.2em;color:var(--red);margin-top:6px;font:10px DM Mono,monospace;display:block}.header-nav{align-items:center;gap:8px;display:flex}.nav-link{color:#6d625a;background:0 0;border:0;border-radius:5px;padding:10px 14px;font-size:13px;font-weight:700;text-decoration:none}.nav-link:hover,.nav-link.active{color:var(--red);background:#a9342b0b}.header-user{border-left:1px solid var(--line);align-items:center;gap:10px;margin-left:12px;padding-left:18px;display:flex}.avatar{width:31px;height:31px;color:var(--red);background:#e8d4cb;border-radius:50%;place-items:center;font-family:Cormorant Garamond Variable,serif;font-weight:700;display:grid}.shell{max-width:1240px;margin:auto;padding:0 36px}.eyebrow{letter-spacing:.18em;text-transform:uppercase;color:var(--red);font:500 11px DM Mono,monospace}.serif{font-family:Cormorant Garamond Variable,Georgia,serif}.hero{border-bottom:1px solid var(--line);grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;min-height:625px;display:grid}.hero-text{padding:60px 0 65px}.hero h1{letter-spacing:-.065em;margin:20px 0 26px;font-family:Cormorant Garamond Variable,Georgia,serif;font-size:clamp(55px,6.3vw,92px);font-weight:600;line-height:1.05}.hero h1 em{color:var(--red);font-weight:500}.hero p{color:#6f665e;max-width:550px;margin:0 0 32px;font-size:16px;line-height:1.75}.hero-art{background:#f2dfd6;border-radius:200px 200px 12px 12px;place-items:center;height:450px;display:grid;position:relative;overflow:hidden}.hero-art img{filter:drop-shadow(7px 10px #bc504520);width:94%;max-width:500px}.hero-stamp{border:1px solid var(--red);width:81px;height:81px;color:var(--red);letter-spacing:.08em;text-align:center;border-radius:50%;place-items:center;font:10px DM Mono;display:grid;position:absolute;top:9%;left:10%;transform:rotate(-17deg)}.btn{border:1px solid var(--red);background:var(--red);color:#fff;border-radius:6px;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:13px 19px;font-size:13px;font-weight:800;text-decoration:none;transition:all .2s;display:inline-flex}.btn:hover{background:#7f2924;border-color:#7f2924;transform:translateY(-1px)}.btn.secondary{color:var(--red);background:0 0}.btn.secondary:hover{background:#f2e0da}.btn.ghost{color:var(--ink);border-color:var(--line);background:0 0}.btn.ghost:hover{background:#eee5db}.btn.small{min-height:34px;padding:7px 11px;font-size:11px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.btn-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.hero-foot{gap:26px;margin-top:55px;display:flex}.hero-foot div{border-top:1px solid var(--line);color:var(--muted);padding-top:13px;font:11px DM Mono,monospace}.hero-foot b{color:var(--red);margin-bottom:2px;font-family:Cormorant Garamond Variable;font-size:25px;display:block}.section-head{justify-content:space-between;align-items:end;gap:20px;margin:64px 0 22px;display:flex}.section-head h2,.page-title{letter-spacing:-.04em;margin:8px 0 0;font:600 clamp(32px,4vw,50px)/1.1 Cormorant Garamond Variable,Georgia,serif}.steps{grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:80px;display:grid}.step{border:1px solid var(--line);background:#fffaf2;min-height:200px;padding:28px}.step-index{color:var(--red);font:12px DM Mono}.step h3{margin:24px 0 9px;font:600 24px Cormorant Garamond Variable}.step p{color:var(--muted);margin:0;line-height:1.6}.footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding:28px 0 40px;font:11px DM Mono;display:flex}.page{padding-top:44px;padding-bottom:70px}.page-head{justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px;display:flex}.page-head p{color:var(--muted);max-width:650px;line-height:1.6}.card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fffcf6;border-radius:10px}.card-pad{padding:25px}.card h3{margin:0 0 17px;font:600 24px Cormorant Garamond Variable}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.field{margin-bottom:15px;display:block}.field>span,.field-label{text-transform:uppercase;letter-spacing:.08em;color:var(--red);margin-bottom:8px;font:11px DM Mono,monospace;display:block}.field small{color:var(--muted)}.form-actions{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.muted{color:var(--muted)}.small-text{font-size:12px}.mono{font-family:DM Mono,monospace}.line{border-top:1px solid var(--line);margin:22px 0}.notice{border-left:3px solid var(--red);color:#665c51;background:#eee9dc;border-radius:3px;padding:13px 16px;line-height:1.6}.notice.success{border-color:var(--green);background:#ecf0e9}.notice.alert{background:#fae5e1}.empty{text-align:center;border:1px dashed var(--line);color:var(--muted);border-radius:10px;padding:50px 25px}.empty .icon{color:var(--red);font-family:Georgia;font-size:42px}.list{gap:10px;display:grid}.game-item{border:1px solid var(--line);background:#fffcf6;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;text-decoration:none;display:flex}.game-item:hover{border-color:var(--red)}.game-item-link{flex:1;justify-content:space-between;align-items:center;gap:16px;min-width:0;text-decoration:none;display:flex}.game-item-link:hover strong{color:var(--red)}.game-delete{flex:none}.game-item strong{margin-bottom:5px;font:600 21px Cormorant Garamond Variable;display:block}.status{border:1px solid var(--line);color:var(--muted);white-space:nowrap;border-radius:100px;align-items:center;gap:6px;padding:5px 9px;font:10px DM Mono,monospace;display:inline-flex}.status:before{content:"";background:var(--red);border-radius:50%;width:6px;height:6px}.status.green:before{background:var(--green)}.game-top{background:var(--pink);border:1px solid #d9a8a1;border-radius:10px 10px 0 0;padding:29px 33px;position:relative;overflow:hidden}.game-top:after{content:"WB";color:#aa45331b;font:italic 190px/1 Cormorant Garamond Variable;position:absolute;bottom:-56px;right:28px}.game-top h1{letter-spacing:-.05em;margin:10px 0;font:600 clamp(35px,5vw,58px)/1.1 Cormorant Garamond Variable}.game-top p{color:#604e4a;max-width:600px;margin:0}.game-top .eyebrow{color:#7c2c28}.game-toolbar{border:1px solid var(--line);background:#fffcf6;border-top:0;border-radius:0 0 10px 10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:26px;padding:14px 20px;display:flex}.code{letter-spacing:.18em;color:var(--red);font:600 23px DM Mono}.tabbar{border-bottom:1px solid var(--line);gap:2px;margin-bottom:22px;display:flex;overflow:auto}.tab{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:3px solid #0000;padding:14px 18px;font-weight:800}.tab.active{color:var(--red);border-color:var(--red)}.layout{grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:20px;display:grid}.wine-list{gap:10px;display:grid}.wine-row{border:1px solid var(--line);background:#fffdf8;border-radius:7px;grid-template-columns:50px 1fr auto;align-items:center;gap:14px;padding:14px;display:grid}.number{border:1.5px solid var(--red);width:46px;height:46px;color:var(--red);border-radius:50%;flex:none;place-items:center;font:600 20px Cormorant Garamond Variable;display:grid}.wine-row strong{font-weight:800;display:block}.wine-row small{color:var(--muted)}.badge{color:#804132;background:#ead9cb;border-radius:2px;padding:5px 9px;font:10px DM Mono;display:inline-block}.person{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:10px 0;display:flex}.person:last-child{border:0}.person-left{align-items:center;gap:10px;display:flex}.dot{background:#c7b9ac;border-radius:50%;width:8px;height:8px}.dot.on{background:var(--green)}.match-hero{border:1px solid var(--line);background:#fffaf2;border-radius:8px;grid-template-columns:1fr 70px 1fr;align-items:center;gap:10px;padding:25px;display:grid}.match-side{text-align:center;border:1px solid var(--line);background:#fffdf8;border-radius:6px;padding:25px 10px}.match-side .big-number{color:var(--red);font:600 clamp(65px,9vw,120px)/1 Cormorant Garamond Variable}.match-side small{letter-spacing:.12em;color:var(--muted);font:11px DM Mono}.vs{text-align:center;color:var(--red);font:italic 26px Cormorant Garamond Variable}.match-result{color:var(--red);justify-content:center;gap:50px;margin-top:15px;font:600 38px DM Mono;display:flex}.bracket{scrollbar-color:var(--line) transparent;gap:15px;padding:8px 0 20px;display:flex;overflow:auto}.round{flex-direction:column;gap:11px;min-width:190px;display:flex}.round-title{letter-spacing:.12em;color:var(--red);text-transform:uppercase;margin:0 0 4px;font:11px DM Mono}.bracket-match{border:1px solid var(--line);background:#fffdf8;border-radius:6px;overflow:hidden}.bracket-match.active{border:2px solid var(--red);box-shadow:0 5px 20px #9e342e18}.bracket-slot{justify-content:space-between;align-items:center;min-height:42px;padding:10px 12px;display:flex}.bracket-slot+.bracket-slot{border-top:1px solid var(--line)}.bracket-slot.win{color:var(--red);background:#f3e6db;font-weight:800}.bracket-slot.empty{color:#b5a89d}.bracket-score{font:12px DM Mono}.scorecard{border:2px solid var(--red);background:#fffdf8;padding:24px;position:relative}.scorecard:before{content:"";pointer-events:none;border:1px solid #cb8b80;position:absolute;inset:5px}.scorecard h3{text-align:center;color:var(--red);margin:0 0 5px;font:italic 35px Cormorant Garamond Variable}.scorecard-sub{text-align:center;letter-spacing:.16em;color:var(--red);margin-bottom:26px;font:11px DM Mono}.score-wine{border-top:1px solid var(--line);padding:20px 0}.score-wine h4{align-items:center;gap:10px;margin:0 0 15px;font:600 23px Cormorant Garamond Variable;display:flex}.rating-row{grid-template-columns:150px 1fr;align-items:center;gap:10px;margin:10px 0;display:grid}.rating-row span{font-size:12px;font-weight:800}.rate-buttons{gap:6px;display:flex}.rate{min-width:37px;height:37px;color:var(--red);background:0 0;border:1px solid #bc9f94;border-radius:3px;font:12px DM Mono}.rate.selected{background:var(--red);color:#fff}.rate:hover{border-color:var(--red)}.vote-choices{grid-template-columns:1fr 1fr;gap:10px;display:grid}.choice{border:1.5px solid var(--line);text-align:center;background:#fffdf8;border-radius:5px;padding:15px;font:600 22px Cormorant Garamond Variable}.choice.selected{border-color:var(--red);color:var(--red);background:#f7e4df}.choice:hover{border-color:var(--red)}.progress{background:#e8ded3;border-radius:5px;height:8px;overflow:hidden}.progress>span{background:var(--red);height:100%;transition:width .3s;display:block}.qr{border:1px solid var(--line);background:#fff;width:156px;height:156px;padding:8px}.qr img{width:100%;height:100%}.reveal-grid{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.reveal-card{border:1px solid var(--line);background:#fffdf8;border-radius:7px;min-height:200px;padding:16px}.reveal-card.champion{background:#f5dfd6;border-color:#bd7d6f}.reveal-card img{object-fit:contain;max-width:100%;height:155px;margin:0 auto 10px;display:block}.reveal-card h3{margin:9px 0;font:600 22px Cormorant Garamond Variable}.reveal-card p{color:var(--muted);margin:6px 0;font-size:12px}.nomination{border:1px solid var(--line);background:#fffdf8;padding:20px}.nomination .eyebrow{margin-bottom:13px}.nomination strong{font:600 21px Cormorant Garamond Variable}.diary-filters{grid-template-columns:2fr repeat(3,1fr);gap:10px;margin-bottom:20px;display:grid}.diary-card{text-align:left;border:1px solid var(--line);cursor:pointer;background:#fffdf8;border-radius:7px;padding:15px}.diary-card:hover{border-color:var(--red)}.diary-card img{object-fit:contain;background:#f5eee5;width:100%;height:180px}.diary-card h3{margin:13px 0 5px;font:600 22px Cormorant Garamond Variable}.diary-card p{color:var(--muted);margin:5px 0;font-size:12px}.rating-pill{color:var(--red);margin-top:10px;font:500 11px DM Mono}.detail-back{margin-bottom:15px}.detail-grid{grid-template-columns:260px 1fr;gap:25px;display:grid}.detail-photo{object-fit:contain;border:1px solid var(--line);background:#fffdf8;width:100%;max-height:360px}.detail-title{margin:4px 0 12px;font:600 39px Cormorant Garamond Variable}.kv{border-bottom:1px solid var(--line);grid-template-columns:130px 1fr;gap:9px;padding:9px 0;display:grid}.kv span:first-child{color:var(--muted)}.history-item{border-left:2px solid var(--red);margin:14px 0;padding:4px 0 18px 18px}.spectator{min-height:calc(100vh - 79px)}.spectator .game-top{text-align:center}.spectator .game-top h1{font-size:70px}.spectator .match-hero{margin:25px 0}.spectator .code{font-size:50px}.auth-wrap{max-width:450px;margin:70px auto 100px}.auth-hero{text-align:center}.auth-hero h1{margin:10px 0;font:600 47px Cormorant Garamond Variable}.auth-hero p{color:var(--muted);line-height:1.6}#toast{background:var(--ink);color:#fff;box-shadow:var(--shadow);opacity:0;z-index:50;pointer-events:none;border-radius:6px;max-width:350px;padding:13px 18px;transition:all .2s;position:fixed;bottom:22px;right:22px;transform:translateY(8px)}#toast.show{opacity:1;transform:translateY(0)}.mobile-only{display:none}@media (max-width:850px){.shell{padding:0 20px}.hero{grid-template-columns:1fr;gap:0}.hero-text{padding-bottom:30px}.hero-art{height:340px;margin-bottom:40px}.steps,.grid-3,.reveal-grid,.diary-list{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr}.diary-filters{grid-template-columns:1fr 1fr}.header-user{display:none}}@media (max-width:600px){.site-header{height:67px;padding:0 16px}.brand-title{font-size:17px}.brand-sub{font-size:8px}.brand-mark{width:30px;height:30px;font-size:19px}.header-nav{gap:0}.nav-link{padding:8px;font-size:11px}.shell{padding:0 15px}.hero{min-height:auto}.hero h1{font-size:56px}.hero-foot{gap:15px;margin-top:35px}.hero-art{height:300px}.steps,.grid-2,.grid-3,.reveal-grid,.diary-list{grid-template-columns:1fr}.page{padding-top:28px}.page-head{flex-direction:column;align-items:start}.card-pad{padding:19px}.game-top{padding:22px}.game-top h1{font-size:38px}.game-toolbar{align-items:start}.code{font-size:20px}.match-hero{grid-template-columns:1fr 40px 1fr;gap:5px;padding:12px}.match-side{padding:17px 2px}.match-side .big-number{font-size:60px}.vs{font-size:20px}.rating-row{grid-template-columns:1fr;gap:4px}.rate-buttons{gap:4px}.rate{min-width:35px}.scorecard{padding:20px}.diary-filters{grid-template-columns:1fr 1fr}.diary-filters input{grid-column:1/-1}.detail-grid{grid-template-columns:1fr}.detail-photo{height:220px}.spectator .game-top h1{font-size:42px}.spectator .code{font-size:35px}}body{flex-direction:column;min-height:100dvh;display:flex}.create-map-toggle{border:1px solid var(--line);cursor:pointer;background:#fffaf3;border-radius:10px;justify-content:space-between;align-items:center;gap:18px;margin:5px 0 22px;padding:15px 17px;display:flex}.create-map-toggle>span:first-child{gap:4px;min-width:0;display:grid}.create-map-toggle b{color:var(--ink);font-size:13px}.create-map-toggle small{color:var(--muted);font-size:11px;line-height:1.45}.create-map-toggle input{opacity:0;width:1px;height:1px;margin:0;padding:0;position:absolute}.create-map-switch{background:#c8b9ad;border-radius:20px;flex:none;width:43px;height:25px;padding:3px;transition:background .2s}.create-map-switch:after{content:"";background:#fff;border-radius:50%;width:19px;height:19px;transition:transform .2s;display:block;box-shadow:0 1px 3px #0002}.create-map-toggle input:checked+.create-map-switch{background:var(--red)}.create-map-toggle input:checked+.create-map-switch:after{transform:translate(18px)}.create-map-toggle input:focus-visible+.create-map-switch{outline-offset:3px;outline:3px solid #9e342e55}body>main{flex:1 0 auto;width:100%}.footer{border-top:1px solid var(--line);width:100%;min-height:28px;margin-top:auto;padding:0}.manual-editor{margin:0 0 28px}.diary-filters{background:#fffdf8;border:1px solid #e1d5c7;border-radius:15px;grid-template-columns:1fr;gap:10px;margin:0 0 18px;padding:14px;display:grid;box-shadow:0 8px 24px #5036270a}.diary-filter-top{gap:10px;min-width:0;display:flex}.diary-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.filter-control{min-width:0;min-height:46px;color:var(--red);background:#fffefa;border:1px solid #dfd3c5;border-radius:10px;align-items:center;gap:10px;padding:0 13px;transition:border-color .2s,box-shadow .2s;display:flex}.filter-control:focus-within{border-color:var(--red);box-shadow:0 0 0 3px #9e342e18}.filter-control input,.filter-control select{box-shadow:none;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;padding:0;font-size:13px}.filter-control input:focus,.filter-control select:focus{outline:0}.filter-search{flex:1}.filter-search input{height:44px}.filter-search input::placeholder{color:#998e84}.filter-select select{appearance:none;cursor:pointer;flex:1;height:44px}.filter-select svg:last-child{color:#9b8d7c;pointer-events:none;flex:none}.diary-filters{z-index:3;position:relative}.filter-dropdown{min-width:0;position:relative}.filter-dropdown.open{z-index:4}.filter-dropdown-trigger{text-align:left;cursor:pointer;width:100%;box-shadow:none}.filter-dropdown-trigger>span{text-overflow:ellipsis;white-space:nowrap;color:#635850;flex:1;min-width:0;font-size:13px;overflow:hidden}.filter-dropdown-trigger.selected>span{color:var(--ink);font-weight:700}.filter-dropdown-trigger svg{flex:none}.filter-dropdown-trigger svg:last-child{color:#9b8d7c;transition:transform .2s}.filter-dropdown.open .filter-dropdown-trigger{border-color:var(--red);box-shadow:0 0 0 3px #9e342e18}.filter-dropdown.open .filter-dropdown-trigger svg:last-child{transform:rotate(180deg)}.filter-dropdown-menu{scrollbar-color:#d8c8b9 transparent;background:#fffdf8;border:1px solid #d8c8b9;border-radius:10px;max-height:230px;padding:5px;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 15px 32px #3e2c2426}.filter-dropdown-option{text-align:left;width:100%;min-height:36px;color:var(--ink);background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:12px;line-height:1.35;display:flex}.filter-dropdown-option:hover,.filter-dropdown-option:focus-visible{background:#f3e8df;outline:none}.filter-dropdown-option.selected{color:var(--red);background:#f9eee8;font-weight:700}.filter-toggle{min-height:46px;color:var(--red);background:#fffefa;border:1px solid #dfd3c5;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:12px;font-weight:700;display:none}.filter-toggle b{background:var(--red);color:#fff;border-radius:50%;place-items:center;width:18px;height:18px;font-size:10px;display:grid}.filter-reset{color:var(--red);text-underline-offset:3px;background:0 0;border:0;justify-self:end;padding:3px 1px;font-size:11px;text-decoration:underline}.nav-icon{justify-content:center;align-items:center;display:none}.diary-list{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;display:grid}.diary-card{text-align:left;width:100%;min-height:154px;box-shadow:none;background:#fffcf7;border:1px solid #e1d5c7;border-radius:12px;grid-template-columns:102px minmax(0,1fr) 20px;align-items:center;gap:16px;padding:13px 15px;transition:border-color .2s,transform .2s,box-shadow .2s;display:grid}.diary-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:0 10px 25px #50362712}.diary-thumb{width:102px;height:126px;color:var(--red);background:#f2ede4;border-radius:7px;justify-content:center;align-items:center;font:38px Georgia,serif;display:flex;overflow:hidden}.diary-card .diary-thumb img{object-fit:contain;object-position:center;background:0 0;flex:none;width:auto;max-width:96px;height:116px;max-height:116px;padding:0;display:block}.diary-card-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.diary-card-copy strong{color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical;font:700 19px/1.23 Cormorant Garamond Variable,Georgia,serif;display:-webkit-box;overflow:hidden}.diary-card-kicker{letter-spacing:.12em;color:var(--red);text-overflow:ellipsis;white-space:nowrap;font:10px DM Mono,monospace;overflow:hidden}.diary-card-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.wine-detail-page{max-width:1380px}.wine-book{background:#faf7ee;border:1px solid #c9b7a3;border-radius:3px 10px 10px 3px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;max-width:1240px;margin:20px auto 0;display:grid;position:relative;box-shadow:0 5px #e3d9ca,0 12px #eee5d9,0 27px 55px #3f2e2530}.wine-book:after{content:"";pointer-events:none;z-index:2;background:linear-gradient(90deg,#51403317,#0000 24%,#fff9e688 48%,#5f4b3520 52%,#0000 88%);width:32px;position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.book-page{background:#faf7ef url(/paper-texture.jpg) 50%/cover;min-width:0;min-height:690px;padding:34px clamp(28px,3.3vw,54px);position:relative}.book-visual{border-right:1px solid #bcae9d;flex-direction:column;display:flex;box-shadow:inset -16px 0 22px #6b584114}.book-story{flex-direction:column;display:flex;box-shadow:inset 15px 0 22px #6b584110}.book-page-top,.book-page-bottom{letter-spacing:.15em;color:#8d6557;text-transform:uppercase;justify-content:space-between;gap:12px;font:10px DM Mono,monospace;display:flex}.book-page-bottom{margin-top:auto;padding-top:28px}.book-image-frame{background:radial-gradient(circle at 50% 53%,#fffaf1aa,#f1e7d533 67%,#0000 75%);flex:1;place-items:center;min-height:430px;margin:30px 0;display:grid}.book-image-frame img{object-fit:contain;filter:drop-shadow(0 18px 18px #362b1e24);width:auto;max-width:78%;height:auto;max-height:470px;display:block}.book-placeholder{color:var(--red);font:90px Georgia,serif}.book-story-body{width:100%;max-width:520px;margin:38px auto 18px}.book-kicker{letter-spacing:.14em;color:var(--red);text-transform:uppercase;font:11px DM Mono,monospace}.book-story h1{margin:15px 0 8px;font:700 clamp(29px,3.1vw,46px)/1.14 Cormorant Garamond Variable,Georgia,serif}.book-subtitle{color:var(--muted);margin:0 0 24px;font-size:13px}.book-description{color:#3f3832;margin:22px 0 28px;font:16px/1.72 Georgia,serif}.book-facts{border-top:1px solid #b9a58d;border-bottom:1px solid #b9a58d;grid-template-columns:1fr 1fr;gap:0 22px;padding:10px 0;display:grid}.book-facts>div{border-bottom:1px solid #b9a58d55;justify-content:space-between;gap:8px;padding:8px 0;font-size:11px;display:flex}.book-facts>div:nth-last-child(-n+2){border-bottom:0}.book-facts span{color:#897b6e}.book-facts b{text-align:right;font-weight:600}.book-source{color:var(--red);border-bottom:1px solid;margin-top:16px;font-size:12px;text-decoration:none;display:inline-block}.book-actions{flex-wrap:wrap;gap:8px;margin-top:20px;display:flex}.book-note textarea{resize:vertical;background:#fffdfa88;min-height:86px}.book-checks{flex-wrap:wrap;gap:18px;margin:12px 0 16px;font-size:11px;display:flex}.book-checks label{align-items:center;gap:6px;display:flex}.book-checks input{width:auto}.book-page-number{text-align:right;color:#8d6557;letter-spacing:.15em;margin-top:auto;padding-top:28px;font:10px DM Mono,monospace}.wine-history{max-width:1240px;margin:48px auto 0}.profile-card{background:#fffcf7;max-width:760px;margin:0 auto;padding:32px}.profile-card-head{justify-content:space-between;align-items:flex-start;gap:22px;display:flex}.profile-identity{align-items:center;gap:24px;display:flex}.profile-avatar{width:88px;height:88px;color:var(--red);background:#e7d0c4;border-radius:50%;place-items:center;font:700 52px Cormorant Garamond Variable,Georgia,serif;display:grid}.profile-identity h2{margin:5px 0;font:700 32px Cormorant Garamond Variable,Georgia,serif}.profile-identity p{color:var(--muted);margin:0}.profile-edit{border:1px solid var(--line);width:43px;height:43px;color:var(--red);background:#fffaf2;border-radius:50%;place-items:center;display:grid}.profile-edit:hover{border-color:var(--red)}.profile-edit-panel{max-width:530px;margin-top:26px}.profile-edit-panel h3{margin:0 0 18px}.profile-management{flex-wrap:wrap;gap:12px;display:flex}.password-wrap{display:block;position:relative}.password-wrap input{padding-right:52px}.password-eye{color:var(--muted);background:0 0;border:0;place-items:center;width:36px;height:36px;display:grid;position:absolute;top:50%;right:9px;transform:translateY(-50%)}@media (max-width:700px){.site-header{height:64px;padding:0 16px}.brand{gap:8px}.brand-mark{width:35px;height:35px;font-size:22px}.brand-title{font-size:15px}.brand-sub{display:none}.header-nav{gap:4px}.nav-link{border-radius:50%;place-items:center;width:39px;height:39px;padding:0;display:grid}.nav-icon{display:flex}.nav-text,.header-user{display:none}.diary-list{grid-template-columns:1fr}.wine-detail-page{padding-left:13px;padding-right:13px}.wine-book{background:#faf7ef url(/paper-texture.jpg) top/auto 700px repeat-y;border:1px solid #d0c0ad;border-radius:2px;margin:12px 0 0;display:block;box-shadow:2px 4px #e7dbca,5px 12px 24px #4a33252b}.wine-book:after{display:none}.book-page{min-height:0;box-shadow:none;background:0 0;border:0;padding:22px 24px}.book-visual{padding-bottom:0}.book-story{padding-top:6px}.book-image-frame{min-height:270px;margin:22px 0 12px}.book-image-frame img{max-height:270px}.book-page-bottom{display:none}.book-story-body{margin:20px auto 0}.book-story h1{font-size:34px}.book-facts{grid-template-columns:1fr}.book-facts>div:nth-last-child(2){border-bottom:1px solid #b9a58d55}.book-facts>div:last-child{border-bottom:0}.book-description{font-size:15px}.book-checks{gap:4px;display:grid}.profile-card{padding:22px}.profile-avatar{width:62px;height:62px;font-size:38px}.profile-identity{gap:14px}.profile-identity h2{font-size:25px}}@media (max-width:390px){.brand-copy{display:none}.site-header{padding:0 13px}.diary-card{grid-template-columns:74px minmax(0,1fr) 14px;gap:12px;padding:11px}.diary-thumb{width:74px;height:90px}.diary-card-copy strong{font-size:17px}.book-page{padding:20px 18px}}@media (max-width:700px){.diary-filters{padding:10px}.filter-toggle{display:flex}.diary-filter-fields{grid-template-columns:1fr;display:none}.diary-filter-fields.open{display:grid}.filter-toggle span{display:none}}@media (max-width:390px){.diary-card{grid-template-columns:86px minmax(0,1fr) 14px;min-height:135px}.diary-thumb{width:86px;height:108px}.diary-card .diary-thumb img{max-width:80px;height:100px;max-height:100px}}.book-note{border-top:1px solid #b9a58d;margin-top:34px;padding-top:23px}.book-note-heading{margin-bottom:13px;font:700 22px/1.2 Cormorant Garamond Variable,Georgia,serif}.book-note textarea{background:#fffdf9a8;border:1px solid #d6c7b4;border-radius:8px;min-height:112px;padding:14px 16px;line-height:1.55;display:block;box-shadow:inset 0 1px 3px #705f4010}.book-note textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #9e342e16}.book-checks{flex-wrap:wrap;gap:9px;margin:14px 0 18px;display:flex}.book-checks .book-check{color:#554b43;cursor:pointer;background:#fffdf9a8;border:1px solid #d6c7b4;border-radius:7px;align-items:center;gap:9px;min-height:40px;padding:8px 12px;font-size:12px;font-weight:600;transition:border-color .2s,background .2s,box-shadow .2s;display:inline-flex;position:relative}.book-check input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute}.book-check-mark{background:#fffdf8;border:1.5px solid #aa9481;border-radius:4px;flex:none;width:17px;height:17px;transition:background .2s,border-color .2s;display:block;position:relative}.book-check input:checked+.book-check-mark{background:var(--red);border-color:var(--red)}.book-check input:checked+.book-check-mark:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:4px;height:9px;position:absolute;top:1px;left:5px;transform:rotate(45deg)}.book-check:has(input:checked){color:#78332d;background:#f7e7df;border-color:#b65b50}.book-check:has(input:focus-visible){outline:2px solid var(--red);outline-offset:2px}.book-check:hover{border-color:var(--red)}.book-note-actions{justify-content:flex-end;display:flex}@media (max-width:700px){.book-checks{gap:8px;display:flex}.book-note-actions .btn{width:100%}}.hero-art{background:#f7eedc;border:1px solid #dfd2bf;border-radius:10px;height:400px}.hero-art img{object-fit:cover;object-position:center;filter:none;width:100%;max-width:none;height:100%;display:block}@media (max-width:850px){.hero-art{height:clamp(280px,55vw,440px)}}@media (max-width:600px){.hero-art{height:300px;margin-bottom:32px}.game-item{flex-wrap:wrap}.game-item-link{flex-basis:100%}.game-delete{margin-left:auto}}.hero-art{background:0 0;border:0;border-radius:0;overflow:visible}.hero-art img{object-fit:contain}.game-avatar{--avatar-size:58px;--avatar-edge:4px;width:var(--avatar-size);height:var(--avatar-size);clip-path:var(--avatar-shape);filter:drop-shadow(0 2px 2px #4d261f26);background:#8d2924;flex:none;place-items:center;display:inline-grid}.game-avatar-art{width:calc(100% - var(--avatar-edge)*2);height:calc(100% - var(--avatar-edge)*2);clip-path:var(--avatar-shape);background-color:#fff9e9;background-image:url(/lobby-avatars.png);background-repeat:no-repeat;background-size:500% 400%;display:block}.avatar-small{--avatar-size:39px;--avatar-edge:3px}.avatar-hero{--avatar-size:116px;--avatar-edge:6px}.frame-circle{--avatar-shape:circle(49% at 50% 50%)}.frame-square{--avatar-shape:inset(1% round 12%)}.frame-rounded{--avatar-shape:inset(1% round 30%)}.frame-oval{--avatar-shape:ellipse(49% 45% at 50% 50%)}.frame-hexagon{--avatar-shape:polygon(25% 2%,75% 2%,99% 50%,75% 98%,25% 98%,1% 50%)}.frame-octagon{--avatar-shape:polygon(24% 1%,76% 1%,99% 24%,99% 76%,76% 99%,24% 99%,1% 76%,1% 24%)}.frame-arch{--avatar-shape:inset(1% round 49% 49% 15% 15%)}.join-profile-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;display:flex}.join-profile-heading h3{margin:7px 0}.join-profile-heading p{max-width:540px;margin:0}.picker-label{color:var(--ink);margin:22px 0 10px;font-size:12px;font-weight:800}.avatar-picker{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:430px;display:grid}.avatar-choice{cursor:pointer;background:#fffaf2;border:1px solid #dfd0c0;border-radius:8px;place-items:center;min-height:69px;display:grid}.avatar-choice:hover,.avatar-choice.selected{border-color:var(--red);background:#f7e7dd}.avatar-choice.selected{box-shadow:0 0 0 2px #9e342e26}.avatar-choice:focus-visible,.frame-choice:focus-visible{outline:2px solid var(--red);outline-offset:2px}.frame-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:24px;display:grid}.frame-choice{text-align:left;cursor:pointer;color:var(--ink);background:#fffaf2;border:1px solid #dfd0c0;border-radius:8px;align-items:center;gap:7px;padding:7px 9px;font-size:11px;display:flex}.frame-choice:hover,.frame-choice.selected{border-color:var(--red);background:#f7e7dd}.frame-choice.selected{font-weight:800}.lobby-players{gap:8px;margin-top:14px;display:grid}.lobby-player{border:1px solid var(--line);background:#fff9f1;border-radius:9px;align-items:center;gap:12px;min-width:0;padding:9px 11px;display:flex}.lobby-player-name{flex:1;align-items:baseline;gap:8px;min-width:0;display:flex}.lobby-player-name b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lobby-player-name small{color:var(--red)}@media (max-width:600px){.join-profile-heading{align-items:flex-start}.avatar-hero{--avatar-size:80px}.avatar-picker{gap:5px}.avatar-choice{min-height:60px}.avatar-choice .game-avatar{--avatar-size:48px}.frame-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}.game-top:after{content:"V"}.game-avatar{background:var(--frame-color,#8d2924)}.frame-plain{clip-path:none;filter:none;background:0 0}.frame-plain .game-avatar-art{clip-path:none;width:100%;height:100%}.frame-picker{overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;gap:9px;max-width:100%;margin:0 0 2px;padding:3px 3px 12px;display:flex;overflow-x:auto}.frame-choice{scroll-snap-align:start;flex:none;min-width:128px}.frame-color-picker{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;flex-wrap:nowrap;gap:9px;width:100%;min-width:0;max-width:100%;margin-bottom:24px;padding:3px 3px 12px;display:flex;overflow:auto hidden}.frame-color-choice{border:1px solid var(--line);cursor:pointer;scroll-snap-align:start;background:#fffaf2;border-radius:50%;flex:0 0 46px;place-items:center;width:46px;height:46px;padding:5px;display:grid}.frame-color-choice span{border-radius:50%;width:100%;height:100%;display:block}.frame-color-choice:hover,.frame-color-choice.selected{border-color:var(--red);box-shadow:0 0 0 2px #9e342e26}.frame-color-choice:focus-visible,.random-profile:focus-visible{outline:2px solid var(--red);outline-offset:2px}.join-profile-actions{align-items:stretch;gap:9px;display:flex}.join-profile-actions .random-profile{width:48px;padding:0;font-size:26px;line-height:1}.game-top:after{content:"";opacity:.75;pointer-events:none;background:url(/game-header-illustration.png) 100%/contain no-repeat;width:min(53%,700px);height:100%;position:absolute;top:0;right:14px}.game-top>*{z-index:1;position:relative}.game-top h1,.game-top p{max-width:58%}@media (max-width:600px){.game-top:after{opacity:.38;width:68%;height:60%;top:auto;bottom:2px;right:-10px}.game-top h1,.game-top p{max-width:100%}}.layout,.layout>*{min-width:0}.join-profile,.join-profile form{min-width:0;max-width:100%}.frame-picker{-webkit-overflow-scrolling:touch;width:100%;min-width:0;overflow:auto hidden}@media (max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}}.wine-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#261816a8;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.wine-modal{overscroll-behavior:contain;width:min(760px,100%);max-height:calc(100dvh - 24px);padding:30px;position:relative;overflow-y:auto}.wine-modal-close{color:var(--muted);background:0 0;border:0;min-width:42px;min-height:42px;font-size:32px;line-height:1;position:absolute;top:12px;right:16px}.wine-modal-close:hover{color:var(--red)}.wine-modal .wine-editor h3{padding-right:48px}@media (max-width:600px){.wine-modal{padding:20px}.wine-row{grid-template-columns:42px minmax(0,1fr);gap:10px}.wine-row>.btn-row{grid-column:2}.wine-row strong,.wine-row small{overflow-wrap:anywhere}}.badge{border-radius:8px}.badge-confirmed{color:#526344;background:#e7eadf}.setup-confirm{border:1px solid var(--line);cursor:pointer;background:#fffaf4;border-radius:10px;align-items:flex-start;gap:12px;padding:14px 16px;line-height:1.55;display:flex;position:relative}.setup-confirm:has(input:checked){background:#f1f4eb;border-color:#b5c0a7}.setup-confirm:has(input:focus-visible){outline:2px solid var(--red);outline-offset:3px}.setup-confirm input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute}.setup-check-mark{background:#fffdf8;border:1.5px solid #a99483;border-radius:6px;flex:none;width:21px;height:21px;margin-top:2px;position:relative}.setup-confirm input:checked+.setup-check-mark{border-color:var(--green);background:var(--green)}.setup-confirm input:checked+.setup-check-mark:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:2px;left:6px;transform:rotate(45deg)}.setup-blockers{color:#8b4b3d;margin:12px 0 0;font-size:12px;line-height:1.5}.confirm-dialog{border:1px solid var(--line);width:min(460px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--ink);background:#fffcf6;border-radius:14px;padding:29px;box-shadow:0 22px 80px #2618164d}.confirm-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#261816a8}.confirm-dialog h2{margin:10px 0 12px;font:600 31px/1.1 Cormorant Garamond Variable,Georgia,serif}.confirm-dialog p{color:#6f665e;margin:0;line-height:1.65}.confirm-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.wine-modal{border-radius:14px;box-shadow:0 22px 80px #2618164d}.wine-modal-close{border-radius:8px}.wine-modal-close:focus-visible{outline:2px solid var(--red);outline-offset:2px}.brand{gap:4px}.brand-icon{object-fit:contain;width:52px;height:52px;display:block}.brand-wordmark{object-fit:contain;width:116px;height:56px;display:block}@media (max-width:700px){.brand-icon{width:43px;height:43px}.brand-wordmark{width:90px;height:44px}}.rules-section{margin:76px 0 96px}.rules-heading{align-items:center;gap:28px;margin-bottom:26px;display:flex}.rules-heading h2{white-space:nowrap;letter-spacing:-.055em;margin:0;font:600 clamp(44px,5.5vw,72px)/1.05 Cormorant Garamond Variable,Georgia,serif}.rules-heading-line{background:linear-gradient(90deg,#9e342e66,#0000);flex:1;height:1px}.rules-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.rules-card{background:#fffaf3;border:1px solid #dccbb9;border-radius:14px;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s;display:flex;overflow:hidden;box-shadow:0 12px 30px #5437250b}.rules-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px #54372517}.rules-visual{background:radial-gradient(circle at 48% 55%,#fffaf2 15%,#f3e7d9 100%);border-bottom:1px solid #e7d8c8;place-items:center;height:228px;display:grid;position:relative;overflow:hidden}.rules-card:nth-child(2) .rules-visual{background:radial-gradient(circle at 48% 55%,#fffaf2 15%,#f1e3dc 100%)}.rules-card:nth-child(3) .rules-visual{background:radial-gradient(circle at 48% 55%,#fffaf2 15%,#efe5d9 100%)}.rules-visual img{object-fit:contain;object-position:center;z-index:1;filter:drop-shadow(0 7px 12px #4f2b1a16);width:100%;height:100%;position:relative}.rules-visual-index{color:#9e342e18;z-index:0;font:600 64px/1 Cormorant Garamond Variable,Georgia,serif;position:absolute;top:11px;left:17px}.rules-card-body{flex:1;padding:23px 25px 29px}.rules-step-label{letter-spacing:.15em;color:var(--red);font:10px DM Mono,monospace}.rules-card h3{letter-spacing:-.025em;margin:15px 0 10px;font:600 clamp(22px,2.2vw,29px)/1.16 Cormorant Garamond Variable,Georgia,serif}.rules-card p{color:#70665e;margin:0;font-size:13px;line-height:1.7}@media (max-width:900px){.rules-grid{gap:12px}.rules-visual{height:190px}.rules-card-body{padding:19px}.rules-card h3{font-size:22px}}@media (max-width:700px){.rules-section{margin:52px 0 72px}.rules-heading{margin-bottom:20px}.rules-heading h2{white-space:normal;font-size:clamp(42px,9vw,58px)}.rules-grid{grid-template-columns:1fr;gap:16px}.rules-card{grid-template-columns:minmax(120px,38%) minmax(0,1fr);min-height:190px;display:grid}.rules-visual{border-bottom:0;border-right:1px solid #e7d8c8;height:100%;min-height:190px}.rules-card-body{align-self:center;padding:20px}.rules-card h3{font-size:24px}}@media (max-width:440px){.rules-card{grid-template-columns:1fr}.rules-visual{border-bottom:1px solid #e7d8c8;border-right:0;height:205px;min-height:0}.rules-card-body{padding:20px 21px 25px}}.rules-visual{background:#fffaf3;height:245px}.rules-card:nth-child(2) .rules-visual,.rules-card:nth-child(3) .rules-visual{background:#fffaf3}.rules-visual img{filter:none;padding:7px 9px}.rules-heading h2{letter-spacing:-.045em;font-weight:700}.rules-card h3{font-weight:700}.hero h1{letter-spacing:-.045em}@media (max-width:900px){.rules-visual{height:215px}}@media (max-width:700px){.rules-visual{height:100%;min-height:195px}}@media (max-width:440px){.rules-visual{height:220px;min-height:0}}@media (min-width:901px){.rules-visual img{transform:translateY(-36px)}}@media (min-width:701px){.brand-wordmark{transform:translateY(7px)}}@media (max-width:700px){.brand-wordmark{display:none}.brand-icon{width:50px;height:50px}}@media (pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea,select{font-size:16px}}.btn.small.game-delete{flex:none;width:44px;min-height:44px;padding:0}.game-delete svg{display:block}.game-delete:focus-visible{outline:2px solid var(--red);outline-offset:2px}.diary-card-wrap{min-width:0;position:relative}.diary-card{grid-template-columns:102px minmax(0,1fr) 44px}.diary-card-delete{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:15px;transform:translateY(-50%)}.diary-card-delete:hover{color:var(--red);background:#f3e8df}.diary-card-delete:focus-visible{outline:2px solid var(--red);outline-offset:2px}@media (max-width:390px){.diary-card{grid-template-columns:86px minmax(0,1fr) 44px}.diary-card-delete{right:11px}}.reveal-stage{padding:8px 0 42px}.reveal-stage-head{justify-content:space-between;align-items:end;gap:20px;margin:10px 0 18px;display:flex}.reveal-stage-head h2{letter-spacing:-.04em;margin:8px 0 0;font:600 clamp(38px,5vw,62px)/1.05 Cormorant Garamond Variable,Georgia,serif}.reveal-stage-count{color:var(--red);flex:none;font:700 13px DM Mono,monospace}.reveal-stage-progress{background:#eadfd4;border-radius:5px;height:5px;margin-bottom:24px;overflow:hidden}.reveal-stage-progress span{background:var(--red);height:100%;transition:width .45s;display:block}.reveal-intro{text-align:center;background:#f5dfd6;border:1px solid #d9a8a1;border-radius:12px;place-content:center;min-height:310px;padding:36px;display:grid}.reveal-intro-mark{color:var(--red);font:80px/1 Georgia,serif}.reveal-intro p{max-width:600px;margin:16px auto 0;font-size:18px;line-height:1.6}.reveal-focus{border:1px solid var(--line);min-height:420px;box-shadow:var(--shadow);background:#fffcf6;border-radius:12px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:32px;padding:32px;display:grid}.reveal-focus.champion{background:#f5dfd6;border-color:#d9a8a1}.reveal-focus-art{background:#f2e9df;border-radius:10px;place-items:center;height:355px;display:grid}.reveal-focus-art img{object-fit:contain;width:100%;max-height:330px;padding:15px;display:block}.reveal-focus-placeholder{color:#9e342e55;font:600 180px/1 Cormorant Garamond Variable,Georgia,serif}.reveal-focus-copy h3{letter-spacing:-.045em;margin:12px 0 18px;font:600 clamp(40px,5vw,68px)/1.02 Cormorant Garamond Variable,Georgia,serif}.reveal-focus-copy p{color:#655b53;max-width:540px;line-height:1.6}.reveal-focus-origin{font-weight:700;color:var(--ink)!important}.reveal-focus-price{font-weight:800;color:var(--red)!important}.reveal-stage-actions{justify-content:flex-end;margin-top:22px;display:flex}.reveal-wait{color:var(--muted);text-align:center;margin:22px 0 0}.reveal-map-kicker{margin:30px 0 12px}.region-map-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,470px),1fr));gap:18px;display:grid}.region-map-panel{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fffcf6;border-radius:12px;overflow:hidden}.region-map-head{justify-content:space-between;align-items:center;gap:15px;padding:19px 22px;display:flex}.region-map-head h3{margin:6px 0 2px;font:600 31px Cormorant Garamond Variable,Georgia,serif}.region-map-head p{color:var(--muted);margin:0;font-size:12px}.region-map-controls{flex:none;align-items:center;gap:6px;display:flex}.region-map-controls button{border:1px solid var(--line);width:38px;height:38px;color:var(--red);background:#fffaf3;border-radius:7px;place-items:center;padding:0;font-size:23px;line-height:1;display:grid}.region-map-controls button:hover:not(:disabled){border-color:var(--red);background:#f5dfd6}.region-map-controls button:disabled{opacity:.4;cursor:default}.region-map-controls span{text-align:center;min-width:42px;color:var(--muted);font:11px DM Mono,monospace}.region-map-image{background:#fffaf3}.region-map-image img{aspect-ratio:1100/680;object-fit:contain;width:100%;height:auto;display:block}.region-map-loading{aspect-ratio:1100/680;color:var(--muted);place-items:center;display:grid}.region-map-wines{overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;border-top:1px solid var(--line);scrollbar-color:#c89b8d transparent;gap:8px;padding:12px 16px;display:flex;overflow-x:auto}.region-map-wine{text-align:left;cursor:pointer;scroll-snap-align:start;background:#fffaf3;border:1px solid #e5d8ca;border-radius:7px;flex:0 0 190px;align-items:center;gap:7px;min-width:0;padding:7px 9px;display:flex}.region-map-wine:hover,.region-map-wine.active{border-color:var(--red);background:#f8eae2}.region-map-wine:focus-visible{outline:2px solid var(--red);outline-offset:2px}.region-map-number{background:var(--red);color:#fff;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:12px;font-weight:800;display:grid}.region-map-wine-copy{min-width:0}.region-map-wine b,.region-map-wine small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.region-map-wine b{font-size:12px}.region-map-wine small{color:var(--muted);margin-top:3px;font-size:11px}.region-map-note{color:var(--muted);margin:0;padding:0 17px 16px;font-size:11px;line-height:1.5}.reveal-final-champion{background:#f5dfd6;border:1px solid #d9a8a1;border-radius:10px;padding:24px 28px}.reveal-final-champion h3{margin:8px 0 0;font:600 clamp(32px,4vw,48px) Cormorant Garamond Variable,Georgia,serif}@media (max-width:700px){.reveal-stage-head{align-items:start}.reveal-stage-head h2{font-size:39px}.reveal-focus{grid-template-columns:1fr;gap:20px;padding:18px}.reveal-focus-art{height:260px}.reveal-focus-art img{max-height:245px}.reveal-focus-placeholder{font-size:130px}.reveal-focus-copy h3{font-size:42px}.reveal-intro{min-height:260px;padding:24px}.reveal-intro p{font-size:16px}.region-map-head{padding:15px}.region-map-head h3{font-size:27px}.region-map-wines{padding:10px}.region-map-wine{flex-basis:170px}}@media (max-width:440px){.region-map-controls span{display:none}.region-map-controls button{width:36px;height:36px}}.profile-page{padding-bottom:76px}.profile-hero{color:#fff8ef;background:linear-gradient(125deg,#4c2529 0%,#70313a 54%,#8f4e49 100%);border-radius:20px;justify-content:space-between;align-items:center;gap:24px;min-height:230px;padding:35px 42px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 42px #4c252924}.profile-hero-art{aspect-ratio:1;pointer-events:none;opacity:.9;width:clamp(250px,29vw,360px);position:absolute;top:50%;right:14%;transform:translateY(-50%)}.profile-hero-art:before{content:"";filter:blur(16px);background:radial-gradient(circle,#ffe8cebd 0%,#efbd9c7a 45%,#0000 72%);border-radius:50%;position:absolute;inset:9%}.profile-hero-art img{object-fit:contain;width:100%;height:100%;display:block;position:relative}.profile-hero-main,.profile-hero-actions{z-index:1;position:relative}.profile-hero-main{align-items:center;gap:25px;min-width:0;display:flex}.profile-hero .profile-avatar{color:#fff9f2;background:#fff3;border:2px solid #ffffff75;flex:none;width:102px;height:102px;font:600 60px Cormorant Garamond Variable,Georgia,serif;box-shadow:0 0 0 8px #ffffff12}.profile-hero-copy{min-width:0}.profile-overline{color:#f0c7b8;letter-spacing:.18em;align-items:center;gap:7px;font:700 10px DM Mono,monospace;display:flex}.profile-overline svg{width:16px;height:16px}.profile-hero h1{overflow-wrap:anywhere;margin:10px 0 5px;font:600 clamp(38px,4vw,57px)/1 Cormorant Garamond Variable,Georgia,serif}.profile-hero p{color:#f2dcd2;overflow-wrap:anywhere;margin:0;font-size:13px}.profile-hero-actions{flex-direction:column;align-items:stretch;gap:10px;min-width:194px;display:flex}.profile-hero-actions button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:10px 13px;font-size:12px;font-weight:800;display:flex}.profile-hero-actions svg{flex:none;width:18px;height:18px}.profile-hero-button{color:#632d31;background:#fff8ef;border:1px solid #fff8ef}.profile-hero-button:hover{background:#fff}.profile-hero-button svg:last-child{width:15px;margin-left:auto}.profile-hero-settings{color:#fff8ef;background:#ffffff12;border:1px solid #ffffff6b}.profile-hero-settings:hover{background:#ffffff25}.profile-section{margin-top:34px}.profile-section-heading{justify-content:space-between;align-items:end;gap:14px;margin:0 0 16px;display:flex}.profile-section-heading h2,.profile-panel h2,.profile-account h2{margin:5px 0 0;font:650 30px/1.1 Cormorant Garamond Variable,Georgia,serif}.profile-section-heading>span{color:var(--muted);font-size:12px}.profile-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.profile-metric{background:#fffcf7;border:1px solid #e3d7ca;border-radius:15px;flex-direction:column;align-items:flex-start;min-height:175px;padding:19px 20px;display:flex;box-shadow:0 7px 22px #50362709}.profile-metric-icon{width:38px;height:38px;color:var(--red);background:#f7e9e3;border-radius:10px;place-items:center;margin-bottom:16px;display:grid}.profile-metric-icon svg{width:22px;height:22px}.profile-metric strong{color:#3d2927;font:650 38px/1 Cormorant Garamond Variable,Georgia,serif}.profile-metric-label{margin-top:5px;font-size:12px;font-weight:800}.profile-metric small{color:var(--muted);margin-top:4px;font-size:10px}.profile-columns{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;margin-top:27px;display:grid}.profile-panel{background:#fffcf7;border:1px solid #e1d5c8;border-radius:17px;min-width:0;min-height:330px;padding:24px;box-shadow:0 8px 24px #5036270a}.profile-panel-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.profile-panel-heading>div{align-items:center;gap:12px;min-width:0;display:flex}.profile-panel-heading h2{margin:0;font-size:27px}.profile-panel-icon{width:38px;height:38px;color:var(--red);background:#f3e6dd;border-radius:10px;flex:none;place-items:center;display:grid}.profile-panel-icon svg{width:20px;height:20px}.profile-panel-heading>button,.profile-account-header>button{color:var(--red);background:0 0;border:0;flex:none;align-items:center;gap:3px;font-size:11px;font-weight:800;display:flex}.profile-panel-heading>button svg,.profile-account-header>button svg{width:16px;height:16px}.profile-recent-list{margin-top:17px;display:grid}.profile-recent-item{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-bottom:1px solid #e9ded3;align-items:center;gap:14px;padding:12px 0;display:flex}.profile-recent-item:last-child{border-bottom:0}.profile-recent-item:hover strong{color:var(--red)}.profile-recent-photo{color:#b88d82;background:#f2e9df;border-radius:7px;flex:none;place-items:center;width:56px;height:65px;display:grid;overflow:hidden}.profile-recent-photo img{object-fit:contain;max-width:52px;max-height:60px}.profile-recent-photo>svg{width:29px;height:29px}.profile-recent-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.profile-recent-copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:800;overflow:hidden}.profile-recent-copy small{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px;overflow:hidden}.profile-recent-copy>span{color:#9d8a7d;align-items:center;gap:5px;font-size:10px;display:flex}.profile-recent-copy>span svg{width:12px;height:12px}.profile-recent-arrow{color:#ad9587;flex:none;width:17px;height:17px}.profile-panel-empty{text-align:center;min-height:220px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.profile-panel-empty>svg{color:#b88d82;width:38px;height:38px;margin-bottom:13px}.profile-panel-empty b{color:var(--ink);font-size:13px}.profile-panel-empty p{max-width:270px;margin:7px 0 15px;font-size:11px;line-height:1.6}.profile-panel-intro{color:var(--muted);margin:14px 0 22px;font-size:11px}.profile-country-list{gap:18px;display:grid}.profile-country>div{justify-content:space-between;gap:10px;margin-bottom:7px;font-size:12px;display:flex}.profile-country>div span{font-weight:700}.profile-country>div b{color:var(--red);font-size:12px}.profile-country-track{background:#eee5dc;border-radius:10px;height:6px;display:block;overflow:hidden}.profile-country-track>span{background:linear-gradient(90deg,#9e342e,#d38671);border-radius:10px;height:100%;display:block}.profile-geography-foot{color:var(--muted);border-top:1px solid #e9ded3;align-items:center;gap:8px;margin-top:24px;padding-top:16px;font-size:11px;display:flex}.profile-geography-foot svg{width:17px;height:17px;color:var(--red)}.profile-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:17px;display:grid}.profile-shortcuts>a,.profile-shortcuts>button{min-width:0;min-height:64px;color:var(--ink);text-align:left;background:#fffcf7;border:1px solid #e0d4c7;border-radius:13px;align-items:center;gap:11px;padding:11px 15px;text-decoration:none;display:flex}.profile-shortcuts>a:hover,.profile-shortcuts>button:hover{background:#fff8f2;border-color:#bf8b7c}.profile-shortcuts span{width:35px;height:35px;color:var(--red);background:#f6e8e1;border-radius:9px;flex:none;place-items:center;display:grid}.profile-shortcuts span svg{width:19px;height:19px}.profile-shortcuts strong{flex:1;font-size:11px}.profile-shortcuts>a>svg,.profile-shortcuts>button>svg{color:#a08b7d;flex:none;width:16px;height:16px}.profile-account{background:#fffcf7;border:1px solid #e1d5c8;border-radius:16px;margin-top:30px;padding:23px 25px}.profile-account-header{justify-content:space-between;align-items:center;gap:15px;display:flex}.profile-account-header>div{align-items:center;gap:12px;display:flex}.profile-account h2{font-size:25px}.profile-account-header .up{transform:rotate(90deg)}.profile-account-content{border-top:1px solid #e9ded3;margin-top:22px;padding-top:22px}.profile-account-forms{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;display:grid}.profile-account-forms form{min-width:0}.profile-account-forms h3{align-items:center;gap:8px;margin:0 0 19px;font-size:13px;display:flex}.profile-account-forms h3 svg{width:18px;height:18px;color:var(--red)}.profile-account-forms .field{max-width:460px}.profile-account-footer{border-top:1px solid #e9ded3;justify-content:space-between;gap:12px;margin-top:28px;padding-top:16px;display:flex}.profile-account-footer button{color:#66574e;background:0 0;border:0;align-items:center;gap:8px;font-size:11px;font-weight:800;display:flex}.profile-account-footer button svg{width:18px;height:18px}.profile-account-footer button:hover,.profile-account-footer button.danger{color:var(--red)}@media (max-width:900px){.profile-hero{padding:30px}.profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-columns{grid-template-columns:1fr}.profile-panel{min-height:0}}@media (max-width:600px){.profile-page{padding-bottom:44px}.profile-hero{border-radius:16px;min-height:0;padding:25px 22px;display:block}.profile-hero-main{align-items:flex-start;gap:16px}.profile-hero .profile-avatar{width:66px;height:66px;font-size:41px;box-shadow:0 0 0 5px #ffffff12}.profile-hero h1{font-size:36px}.profile-hero p{font-size:11px}.profile-hero-art{opacity:.45;width:230px;right:-67px}.profile-hero-actions{flex-direction:row;min-width:0;margin-top:23px}.profile-hero-actions button{white-space:normal;flex:1;min-width:0;font-size:10px}.profile-hero-button svg:last-child{display:none}.profile-section{margin-top:27px}.profile-section-heading>span{display:none}.profile-metrics{gap:9px}.profile-metric{min-height:145px;padding:14px}.profile-metric-icon{width:32px;height:32px;margin-bottom:12px}.profile-metric-icon svg{width:19px;height:19px}.profile-metric strong{font-size:32px}.profile-metric-label{font-size:10px}.profile-metric small{font-size:9px}.profile-columns{gap:12px;margin-top:18px}.profile-panel{padding:18px}.profile-panel-heading h2{font-size:24px}.profile-shortcuts{grid-template-columns:1fr;gap:8px}.profile-shortcuts>a,.profile-shortcuts>button{min-height:55px}.profile-account{margin-top:22px;padding:18px}.profile-account-forms{grid-template-columns:1fr;gap:24px}.profile-account-footer{flex-wrap:wrap}.profile-account-footer button{min-height:35px}}
