@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--paper:#fffafa;--cloud:#fff4f7;--pink:#f8d7e2;--soft:#fce9ee;--rose:#d87091;--rose-strong:#b9426b;--wine:#5a2a3c;--ink:#4d3441;--muted:#916e7c;--line:#efdde3;--white:#fff;--shadow:0 18px 54px #9a517018;--serif:'Playfair Display',Georgia,'Times New Roman',serif;--sans:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--sans);font-size:15px;line-height:1.55;overflow-x:hidden}body::selection{background:var(--pink)}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}img{max-width:100%}.container{max-width:1200px;margin:0 auto;padding-left:28px;padding-right:28px}.blush{position:absolute;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(90px);opacity:.4}.blush-one{background:#ffdce7;width:580px;height:580px;right:-300px;top:-140px}.blush-two{background:#f7e3d8;width:360px;height:360px;left:-190px;top:550px}.site-head{height:92px;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:500;line-height:1;letter-spacing:-1.7px;color:var(--wine)}.brand-mark{width:41px;height:41px;display:grid;place-items:center;color:var(--white);background:var(--rose);border-radius:50%;font-size:27px;box-shadow:0 8px 18px #d8709140}.brand-bold{font-weight:700;color:var(--rose-strong)}.brand small{display:block;font-size:8px;letter-spacing:3.6px;margin-top:6px;color:var(--muted);font-weight:700}.desktop-nav{display:flex;gap:37px;align-items:center;color:#654957;font-size:13px;font-weight:600}.desktop-nav a:hover,.admin-link:hover{color:var(--rose-strong)}.admin-link{border:1px solid #ebd4dc;border-radius:40px;padding:10px 16px;color:var(--wine);font-size:12px;font-weight:700;background:#fff7fa}.admin-link span{margin-left:7px;color:var(--rose-strong)}
.hero{display:grid;grid-template-columns:1.06fr .94fr;min-height:600px;align-items:center;gap:5%;padding-top:20px;padding-bottom:75px}.hero-copy{padding-top:5px}.eyebrow,.kicker{font-size:10px;color:var(--rose-strong);font-weight:700;letter-spacing:2.3px}.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:32px}.eyebrow-line{width:30px;height:1px;background:var(--rose)}.mini-caption{font-family:var(--serif);font-size:12px;letter-spacing:2.2px;color:#c18f9d}.mini-caption span{margin:0 12px}.hero h1{font:600 clamp(52px,5.6vw,84px)/1.09 var(--serif);color:var(--wine);letter-spacing:-2.5px;margin:17px 0 21px;max-width:690px}.hero h1 em{display:inline;color:var(--rose-strong);font-weight:500;letter-spacing:-2px}.hero p{font-size:16px;color:#836879;line-height:1.85;max-width:530px;margin-bottom:29px}.hero-cta{display:flex;gap:26px;align-items:center}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;color:#fff;background:var(--rose-strong);border:1px solid var(--rose-strong);border-radius:7px;padding:13px 23px;font-size:13px;font-weight:700;box-shadow:0 10px 21px #b9426b25;transition:background .2s,transform .2s}.primary-btn:hover:not(:disabled){background:#9e3057;transform:translateY(-1px)}.text-btn{font-size:13px;font-weight:700;color:var(--wine);padding-bottom:5px;border-bottom:1px solid var(--rose)}.text-btn span{margin-left:8px;color:var(--rose-strong)}.hero-tiny{font-size:11px;letter-spacing:.3px;color:#b694a1;margin-top:52px}.hero-visual{height:490px;position:relative;display:flex;align-items:center;justify-content:center}.hero-frame{height:445px;width:min(390px,90%);position:relative;overflow:hidden;border-radius:180px 180px 140px 140px;background:radial-gradient(ellipse at 50% 50%,#fff1f0 0%,#f8d0db 64%,#efb1c4 100%);border:12px solid #fff;outline:1px solid #f3dbe4;box-shadow:0 19px 70px #c58d9a44,inset 0 0 0 1px #ffffff90;display:flex;align-items:center;flex-direction:column;justify-content:center}.hero-frame:before,.hero-frame:after{content:'✿';position:absolute;font-size:145px;color:#ffffff60;transform:rotate(-23deg)}.hero-frame:before{top:-40px;left:-70px}.hero-frame:after{bottom:-55px;right:-70px}.hero-crown{font-family:Georgia,serif;font-size:170px;line-height:1;color:#bb5479;text-shadow:0 10px 0 #ffffff80;z-index:1}.hero-word{font:600 36px var(--serif);color:#803e5b;letter-spacing:5px;z-index:1;margin-top:12px}.hero-edition{font-size:12px;letter-spacing:12px;color:#9c6680;z-index:1;margin-top:10px}.hero-floral{position:absolute;top:36px;right:48px;color:#ffffffeb;font-size:40px}.hero-stamp{position:absolute;bottom:14px;right:-13px;width:136px;height:136px;border-radius:50%;background:#fffdf9;border:1px solid #e7c4b4;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(13deg);box-shadow:0 12px 30px #a8808033;text-align:center;color:#ae6c80;font:13px/1.8 var(--serif);letter-spacing:1px}.hero-stamp b{font-size:11px;color:var(--wine)}
.strip{background:#f3e1e5;border-top:1px solid #f2d9e0;border-bottom:1px solid #f2d9e0}.strip-inner{display:flex;justify-content:space-between;gap:12px;padding-top:14px;padding-bottom:14px;color:#9a647c;font-size:10px;font-weight:700;letter-spacing:2.1px}.section{padding-top:99px;padding-bottom:105px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}.section-heading h2{font:600 clamp(33px,4vw,48px)/1.2 var(--serif);letter-spacing:-1.2px;color:var(--wine);margin:12px 0}.section-heading h2 em{font-weight:500;color:var(--rose-strong)}.section-heading p{color:var(--muted);margin:0;max-width:650px;line-height:1.7}.status{border-radius:60px;background:#fdf0f3;color:#ac4465;display:inline-flex;gap:8px;align-items:center;padding:9px 15px;white-space:nowrap;font-size:12px;font-weight:700}.dot{height:7px;width:7px;border-radius:50%;background:#7dba88;box-shadow:0 0 0 3px #d7f1dc}.status.closed .dot{background:#bd8c96;box-shadow:0 0 0 3px #f2e0e5}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:40px 0 25px}.toolbar-note{color:#9a687b;font-size:12px}.toolbar-note strong{color:var(--rose-strong)}.toolbar-sort,.small-sort{font-size:12px;color:#997a86;display:flex;gap:8px;align-items:center;white-space:nowrap}select{color:var(--wine);background:#fff;border:1px solid #ead6dd;border-radius:7px;padding:8px;font-size:12px;font-weight:700}.candidate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}.person-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid #f0e1e5;box-shadow:var(--shadow);transition:transform .25s,box-shadow .25s}.person-card:hover{transform:translateY(-4px);box-shadow:0 22px 65px #af647325}.person-visual{height:300px;position:relative;overflow:hidden;background:#f8e6ea}.portrait,.portrait img{width:100%;height:100%;object-fit:cover;object-position:center 23%;display:block}.portrait-empty{background:radial-gradient(ellipse at 50% 70%,#fff7fa 0%,#f8d8e2 60%,#edb9c9);position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden}.portrait-empty:before,.portrait-empty:after{position:absolute;content:'✿';font-size:200px;color:#ffffff75}.portrait-empty:before{right:-60px;top:-100px}.portrait-empty:after{left:-70px;bottom:-110px}.portrait-figure{font:240px/1 Georgia,serif;color:#bb68867a;transform:translateY(40px);text-shadow:0 0 80px #fff}.portrait-leaf{position:absolute;top:24px;left:28px;font-size:43px;color:#ffffff9e}.portrait-caption{position:absolute;bottom:20px;font:12px var(--serif);letter-spacing:5px;color:#9654729e}.number-badge,.voted-tag{position:absolute;top:17px;left:18px;padding:8px 12px;background:#fffffff0;color:var(--wine);font-size:11px;font-weight:700;letter-spacing:.7px;border-radius:5px;box-shadow:0 2px 10px #8c607322}.voted-tag{left:auto;right:15px;background:var(--rose-strong);color:white}.person-info{padding:22px 22px 23px}.small-eyebrow{color:var(--rose-strong);letter-spacing:1.6px;font-size:9px;font-weight:700}.person-info h3{font:600 25px/1.3 var(--serif);color:var(--wine);margin:7px 0 3px}.person-group{margin:0;color:#9c7884;font-size:12px}.person-bio{font-size:12px;color:#846d77;line-height:1.75;min-height:59px;max-height:63px;overflow:hidden;margin:14px 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.person-stats{display:flex;align-items:baseline;gap:4px;color:#7d5868;margin:4px 0 11px;font-size:12px}.person-stats strong{font-size:22px;line-height:1;color:var(--wine)}.person-percent{margin-left:auto;color:var(--rose-strong);font-weight:700;font-size:13px}.vote-progress{height:6px;background:#f6e8ee;border-radius:20px;overflow:hidden}.vote-progress-fill{height:100%;background:linear-gradient(90deg,#edbbcd,#b94a70);border-radius:20px;transition:width .4s}.person-actions{display:flex;gap:9px;margin-top:19px}.vote-btn,.chat-btn{flex:1;min-width:0;border-radius:7px;padding:12px 8px;font-size:12px;font-weight:700}.vote-btn{color:#fff;border:1px solid var(--rose-strong);background:var(--rose-strong)}.vote-btn:not(:disabled):hover{background:#983451}.vote-btn.selected{background:#d9b4c0;color:#672f45;border:1px solid #d9b4c0}.chat-btn{background:#fff7f9;color:var(--rose-strong);border:1px solid #f1cfdb}.chat-btn:hover{background:#ffeaf1}.footnote{font-size:11px;color:#a38a93;margin-top:24px}.result-zone{background:#fff4f6;border-top:1px solid #f3e5e8;border-bottom:1px solid #f3e5e8;padding:82px 0 95px}.total-pill{background:#fff;border:1px solid #edd5df;border-radius:9px;color:var(--rose-strong);padding:12px 17px;white-space:nowrap;font-size:12px}.total-pill strong{font-size:18px;margin:0 3px}.result-list{background:#fff;border:1px solid #efdee4;border-radius:13px;overflow:hidden;box-shadow:0 20px 40px #b25b7012;margin-top:27px}.result-row{display:grid;grid-template-columns:42px 54px minmax(110px,1.2fr) minmax(90px,1.6fr) 95px;align-items:center;gap:18px;padding:17px 28px;border-bottom:1px solid #f5edf0}.result-row:last-child{border-bottom:none}.result-rank{font:600 25px var(--serif);color:#cc9fac}.result-row:first-child .result-rank{color:var(--rose-strong)}.result-thumb{width:49px;height:49px;display:grid;place-items:center;border-radius:50%;background:#f6dbe5;color:#aa5b75;font-size:28px;overflow:hidden}.result-thumb img{width:100%;height:100%;object-fit:cover}.result-person strong{display:block;font-size:13px;color:var(--wine)}.result-person small{font-size:11px;color:var(--muted)}.result-track{height:9px;border-radius:10px;background:#f9edf1;overflow:hidden}.result-bar{height:100%;border-radius:10px;background:linear-gradient(90deg,#e9a9bc,#b94a70)}.result-score{text-align:right}.result-score strong{display:block;color:var(--wine);font-size:18px}.result-score span{font-size:11px;color:var(--rose-strong)}
.comments-zone{padding-bottom:115px}.speech-ornament{font:120px var(--serif);color:#edcfda;line-height:.8}.comments-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:26px}.comment-panel,.composer-panel{background:#fff;border:1px solid #efdee5;border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.comment-panel{min-height:600px}.comment-panel-header{padding:26px 27px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}.sm-label{font-size:10px;letter-spacing:1.8px;font-weight:700;color:var(--rose-strong)}.comment-panel-header h3{font:600 22px var(--serif);color:var(--wine);margin:5px 0 0}.pink-note{margin:0 26px 6px;padding:12px 15px;background:#fff3f6;border-radius:7px;font-size:12px;color:#9a6e7d}.comment-list{max-height:570px;overflow-y:auto;padding:5px 28px 35px;scrollbar-color:#ebbdcd #fff;scrollbar-width:thin}.comment-thread{border-bottom:1px solid #f7ebef;padding:20px 0}.comment-thread:last-child{border:0}.comment-item{display:flex;gap:12px}.comment-avatar{width:37px;height:37px;flex:0 0 37px;display:grid;place-items:center;border-radius:50%;font-weight:700;color:#fff;background:#d695ac}.shade-1{background:#a98297}.shade-2{background:#e4b27f}.shade-3{background:#a4b6b1}.comment-content{min-width:0;flex:1}.comment-heading{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.comment-heading strong{font-size:12px;color:var(--wine)}.comment-heading span{font-size:10px;color:#ba9ba6}.comment-text{margin:5px 0 10px;line-height:1.7;color:#66515d;font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.comment-actions{display:flex;gap:18px}.heart-btn,.reply-btn{border:0;background:none;color:#9b7b88;padding:0;font-size:12px}.heart-btn{font-size:14px}.heart-btn.liked{color:#d34578}.heart-btn:hover,.reply-btn:hover{color:#b9426b}.thread-replies{margin-left:47px;border-left:2px solid #f3dce5;padding-left:13px;margin-top:14px;display:grid;gap:15px}.thread-replies .comment-avatar{width:30px;height:30px;flex-basis:30px;font-size:12px}.reply-note{font-size:11px;color:#ad8a97}.loading,.empty-comments{padding:32px 14px;color:#a1838e;text-align:center}.composer-panel{padding:28px 25px;background:linear-gradient(155deg,#fff6f8,#fff 63%);align-self:start}.composer-top{display:flex;gap:10px;align-items:center;color:var(--rose-strong);font-size:11px;letter-spacing:1.6px;font-weight:700}.composer-top:first-letter{font-size:25px}.composer-panel h3{font:600 28px/1.25 var(--serif);color:var(--wine);margin:17px 0 25px}.composer-panel h3 em{font-weight:500;color:var(--rose-strong)}.composer-panel label,.admin-form label,.auth-box label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#755767;margin:13px 0 0}.composer-panel input,.composer-panel textarea,.admin-form input,.admin-form textarea,.auth-box input{width:100%;border:1px solid #eedde3;border-radius:7px;padding:12px 13px;background:#fff;color:var(--ink);outline:none;font-size:13px;line-height:1.5}.composer-panel :is(input,textarea):focus,.admin-form :is(input,textarea):focus,.auth-box input:focus{border-color:#c7567b;box-shadow:0 0 0 3px #fae7ed}.composer-panel textarea{resize:vertical}.emoji-row{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.emoji-row div{display:flex;gap:7px}.emoji-row button{border:1px solid #f1dae3;border-radius:6px;background:#fff;width:31px;height:29px;font-size:15px}.emoji-row small{font-size:11px;color:#b28d99}.composer-panel .primary-btn{width:100%;margin-top:23px}.aside-foot{text-align:center;font-size:11px;color:#aa8f9b;margin:18px 0 0}.reply-bar{display:flex;align-items:center;justify-content:space-between;background:#fce7ee;border-radius:6px;padding:8px 10px;font-size:12px;color:var(--rose-strong)}.reply-bar[hidden]{display:none}.reply-bar button{background:none;border:0;color:var(--rose-strong)}.footer{border-top:1px solid #efdce3;background:#fff5f8;padding:34px 0;color:#ac8c98}.footer-inner{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:11px}.footer-brand{font-size:22px}.footer-brand .brand-mark{width:32px;height:32px;font-size:20px}.footer p{margin:0}.dialog-backdrop{position:fixed;inset:0;background:#37202eb3;display:grid;place-items:center;padding:15px;z-index:10;backdrop-filter:blur(4px)}.dialog-backdrop[hidden]{display:none}.dialog{width:min(425px,100%);border-radius:17px;padding:31px 30px;background:white;text-align:center;box-shadow:0 25px 90px #220b1840}.dialog-flower{display:block;color:var(--rose);font-size:45px}.dialog h3{font:600 30px var(--serif);margin:8px 0 12px;color:var(--wine)}.dialog p{color:#7e6070;margin:10px 0}.dialog p strong{color:var(--rose-strong)}.dialog-hint{font-size:12px!important;color:#b58c9a!important}.dialog-actions{display:flex;gap:12px;justify-content:center;margin-top:26px}.secondary-btn{border-radius:7px;border:1px solid #ebd2dd;background:white;color:var(--rose-strong);padding:12px 17px;font-size:12px;font-weight:700}.secondary-btn:hover{background:#fff1f6}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,120px);opacity:0;background:#5a2a3c;color:#fff;border-radius:10px;padding:12px 22px;box-shadow:0 12px 35px #3f223548;z-index:30;font-size:13px;transition:transform .25s,opacity .25s;max-width:calc(100vw - 35px);text-align:center}.toast.show{transform:translate(-50%,0);opacity:1}.toast.error{background:#9f3253}.skeleton-card{height:475px;border-radius:12px;background:linear-gradient(100deg,#fbeaf0 20%,#fff2f5 45%,#fbeaf0 70%);background-size:250% 100%;animation:skeleton 2s linear infinite}@keyframes skeleton{to{background-position:250% 0}}
/* Admin */
.admin-body{background:#fff8fa}.admin-page{padding-top:35px;padding-bottom:110px}.admin-title{font:600 clamp(34px,4vw,50px) var(--serif);letter-spacing:-1px;color:var(--wine);margin:10px 0}.admin-title em{font-weight:500;color:var(--rose-strong)}.admin-description{color:var(--muted);margin:0 0 32px}.notice{padding:13px 18px;border-radius:8px;margin-bottom:20px;font-size:13px;font-weight:700}.notice.success{background:#e9f6ed;color:#417650}.notice.error{background:#fff0f2;color:#ae2e55}.admin-panel{background:white;border:1px solid #efdee5;border-radius:13px;padding:28px;box-shadow:var(--shadow);margin-bottom:24px}.admin-panel h2{font:600 25px var(--serif);color:var(--wine);margin:9px 0 17px}.admin-panel p{font-size:13px;color:#937885;line-height:1.7}.auth-box{max-width:540px;margin:20px auto}.auth-box .primary-btn{margin-top:21px}.admin-status{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.admin-metrics>div{background:white;border:1px solid var(--line);border-radius:11px;padding:19px 23px}.admin-metrics small{display:block;color:var(--muted);font-size:11px}.admin-metrics strong{display:block;font:600 31px var(--serif);color:var(--wine);margin-top:5px}.admin-metrics .metric-status{font:700 15px var(--sans);margin-top:20px;color:var(--rose-strong)}.admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.admin-form{display:grid;gap:12px}.admin-form label{margin-top:0}.admin-form .primary-btn{justify-self:start;margin-top:10px}.admin-form :is(input[type=file]){padding:9px}.form-two{display:grid;grid-template-columns:1fr 1.6fr;gap:12px}.admin-panel hr{border:0;border-top:1px solid #f2e4e9;margin:22px 0}.row-between{display:flex;align-items:center;justify-content:space-between;gap:15px}.row-between b{font-size:14px}.row-between p{margin:5px 0}.count-pink{font:700 12px var(--sans);border-radius:15px;background:#fce5ed;padding:4px 10px;color:var(--rose-strong)}.admin-help{margin-top:-3px}.manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.manage-person{border:1px solid #efdee5;border-radius:9px;padding:16px;display:flex;gap:11px;align-items:start;flex-direction:column}.manage-summary{display:flex;gap:13px;align-items:center;width:100%}.manage-avatar{border-radius:8px;width:60px;height:70px;display:grid;place-items:center;background:#fce5ec;color:#b85a79;font-size:29px;overflow:hidden}.manage-avatar img{width:100%;height:100%;object-fit:cover}.manage-summary small,.manage-summary span{display:block;font-size:11px;color:#a27d8c}.manage-summary strong{font:600 17px var(--serif);display:block;color:var(--wine)}.manage-person details{width:100%}.manage-person summary{list-style:none;display:inline-block;cursor:pointer}.manage-person summary::-webkit-details-marker{display:none}.manage-person details[open] summary{margin-bottom:13px}.manage-person .delete-btn{margin-top:0}.manage-person .admin-form{background:#fff7f9;border-radius:8px;padding:15px}.checkbox-label{display:flex!important;align-items:center;gap:8px}.checkbox-label input{width:auto}.delete-btn{border:0;color:#b33d60;background:#fff0f3;padding:9px 12px;font-size:12px;border-radius:6px;cursor:pointer}.delete-btn:hover{background:#ffdce7}.mod-list{max-height:480px;overflow-y:auto}.mod-comment{border-top:1px solid #f4e5e9;padding:16px 0;display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.mod-comment strong{font-size:13px;color:var(--wine)}.mod-comment small{color:#9d7a87;font-size:11px}.mod-comment p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.password-panel{max-width:650px}.password-panel .admin-form{max-width:450px}.password-panel button{justify-self:start}
@media(max-width:950px){.hero{gap:2%;min-height:535px}.hero h1{font-size:55px}.hero-visual{height:400px}.hero-frame{height:365px;width:315px}.hero-crown{font-size:140px}.hero-word{font-size:27px}.hero-stamp{bottom:0;right:0;width:100px;height:100px;font-size:10px}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.comments-layout{grid-template-columns:1fr 310px;gap:15px}.admin-columns{grid-template-columns:1fr}.result-row{grid-template-columns:33px 45px minmax(100px,1fr) minmax(90px,1fr) 70px;gap:13px}}
@media(max-width:680px){.container{padding-left:18px;padding-right:18px}.site-head{height:75px}.brand{font-size:23px}.brand-mark{width:35px;height:35px;font-size:24px}.desktop-nav{display:none}.admin-link{font-size:10px;padding:8px 10px}.hero{display:flex;flex-direction:column;gap:20px;padding-top:33px;padding-bottom:45px}.hero-copy{width:100%}.eyebrow{margin-bottom:22px}.mini-caption{font-size:9px;letter-spacing:1.5px}.hero h1{font-size:clamp(47px,11vw,67px);letter-spacing:-2px;margin:15px 0}.hero h1 em{letter-spacing:-2px}.hero p{font-size:14px;line-height:1.7}.hero-cta{gap:20px}.hero-tiny{margin-top:25px}.hero-visual{height:335px;width:100%;margin-top:8px}.hero-frame{height:315px;width:260px;border-width:8px}.hero-crown{font-size:130px}.hero-word{font-size:24px;letter-spacing:3px}.hero-edition{font-size:10px}.hero-stamp{right:10px;bottom:0;width:90px;height:90px}.strip-inner{justify-content:center}.strip-inner span:nth-child(n+2){display:none}.section{padding-top:65px;padding-bottom:72px}.section-heading{align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:24px}.section-heading h2{font-size:37px}.section-heading p{font-size:13px}.toolbar{margin:22px 0 20px;align-items:flex-start}.toolbar-note{max-width:65%;font-size:11px}.toolbar-sort{font-size:0;gap:0}.toolbar-sort select{font-size:11px;padding:7px}.candidate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.person-visual{height:235px}.person-info{padding:13px 11px}.person-info h3{font-size:19px}.person-group{font-size:10px}.person-bio{min-height:56px;font-size:11px;line-height:1.55}.number-badge{top:10px;left:9px;font-size:10px;padding:5px 7px}.voted-tag{font-size:9px;right:7px;top:37px;padding:5px}.person-stats strong{font-size:19px}.person-percent{font-size:11px}.person-actions{flex-direction:column;gap:7px;margin-top:15px}.vote-btn,.chat-btn{width:100%;padding:9px 6px;font-size:11px}.portrait-figure{font-size:180px}.result-zone{padding:60px 0}.total-pill{padding:9px 12px}.result-row{padding:13px 10px;gap:8px;grid-template-columns:24px 38px minmax(96px,1.2fr) minmax(55px,1fr) 46px}.result-rank{font-size:18px}.result-thumb{height:35px;width:35px;font-size:21px}.result-person strong{font-size:11px}.result-person small{font-size:10px}.result-score strong{font-size:14px}.result-score span{font-size:10px}.result-track{height:7px}.comments-layout{grid-template-columns:1fr}.comment-panel{min-height:410px}.comment-panel-header{padding:21px 17px 15px}.comment-panel-header h3{font-size:18px}.pink-note{margin:0 17px;padding:10px}.comment-list{padding:0 16px 20px;max-height:420px}.composer-panel{padding:25px 20px}.speech-ornament{display:none}.footer-inner{flex-wrap:wrap;gap:12px}.footer p{order:3;width:100%}.admin-page{padding-top:22px}.admin-panel{padding:19px}.admin-metrics{grid-template-columns:repeat(2,1fr);gap:10px}.admin-metrics>div{padding:13px}.admin-metrics strong{font-size:25px}.manage-grid{grid-template-columns:1fr}.form-two{grid-template-columns:1fr 1.5fr}.row-between{align-items:flex-start}.admin-title{font-size:36px}}
@media(max-width:350px){.candidate-grid{grid-template-columns:1fr}.person-visual{height:310px}.person-actions{flex-direction:row}.toolbar-note{max-width:62%}}
/* ===== Sinh viên Thanh lịch 2026 · Phiên bản tích hợp bot ===== */
:root{--rose:#c85c83;--rose-strong:#ac3860;--wine:#682740}
body{background:radial-gradient(ellipse at 50% 0%,#ffebf0 0%,#fff8fb 29%,#fffafb 75%)}
.hero{position:relative}
.hero::before{content:'✦ ✧ ✦';position:absolute;top:35px;right:8%;font-size:22px;letter-spacing:38px;color:#c17b8a4a;pointer-events:none}
.hero-frame{box-shadow:0 22px 90px #c85c8355,inset 0 0 40px #fff8;outline:2px solid #efc4ce}
.hero-frame:before{content:'';position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle at 15% 23%,#fff9 0 3px,transparent 6px),radial-gradient(circle at 80% 65%,#fff9 0 3px,transparent 7px),linear-gradient(148deg,transparent 35%,#f8d6b750 60%,transparent 65%);pointer-events:none}
.person-visual{height:auto!important;aspect-ratio:1229/1536;background:#fbe5ee}
.portrait,.portrait img{width:100%;height:100%;display:block}
.portrait img{object-fit:contain;object-position:center center}
.person-card{border:1px solid #efd0db;box-shadow:0 13px 42px #b4577522}
.person-info h3{font-size:23px}
.number-badge{background:#fff9!important;color:#a32c59!important;backdrop-filter:blur(8px);border:1px solid #f5d3dd}
.vote-dialog{position:relative;padding:28px 26px 31px;text-align:left;max-height:92vh;overflow:auto;width:min(470px,100%);border:1px solid #f1ced8;background:linear-gradient(165deg,#fff 55%,#fff1f6)}
.dialog-close{position:absolute;right:18px;top:14px;background:#fff0f5;border:1px solid #f3d4df;border-radius:50%;width:34px;height:34px;color:#a34768;cursor:pointer}
.vote-dialog .dialog-flower{font-size:37px;text-align:center;color:#c88e9d}
.vote-dialog .vote-overline{text-align:center;font-size:10px;font-weight:800;letter-spacing:1.7px;color:#ae6f84;margin:1px 0 5px}
.vote-dialog h3{text-align:center;margin:0 0 15px}
.vote-dialog>p:not(.vote-overline){text-align:center;font-size:14px}
.vote-steps{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin:22px 0 22px}
.vote-steps span{border-radius:8px;padding:9px 6px;background:#f7e8ee;color:#a98793;text-align:center;font-size:10px;font-weight:700}
.vote-steps span.active{background:#f9cee0;color:#9a3159}
.vote-step{display:flex;flex-direction:column;gap:10px}
.vote-step[hidden]{display:none}
.vote-step label{font-size:12px;font-weight:750;letter-spacing:.2px;color:#714052}
.vote-step input{width:100%;padding:15px 15px;font-size:17px;border:1px solid #e7c0cd;border-radius:9px;background:#fff;outline:none}
.vote-step input:focus{border-color:#cc5b83;box-shadow:0 0 0 3px #f8d9e6}
.vote-step .dialog-hint{line-height:1.65;text-align:left!important;margin:3px 0 9px!important;font-size:12px!important}
.vote-step>.primary-btn{width:100%;justify-content:center}
.vote-step .dialog-actions{margin-top:12px;justify-content:space-between;gap:7px}
.vote-step .dialog-actions button{flex:1;white-space:nowrap;font-size:11px}
.wait-step{text-align:center;align-items:center;min-height:180px;justify-content:center}
.wait-icon{font-size:38px}.wait-step h4{margin:1px 0;font-size:19px;color:#722d4a}.wait-step p{font-size:13px;line-height:1.7;color:#835469}
.inline-admin-form{display:inline-flex;margin:8px 7px 0 0}
.admin-panel .pink-note{margin:0 0 13px;line-height:1.5}
.admin-panel .pink-note p{margin:6px 0}
.code-counts{display:flex;flex-wrap:wrap;gap:10px;margin:17px 0}
.code-counts span{background:#fbe8ef;border:1px solid #f4cfdd;padding:9px 12px;border-radius:8px;font-size:12px;color:#7e4159}
.issued-codes{border:1px dashed #b9527b;border-radius:9px;background:#fff1f5;padding:16px;margin:16px 0;font-size:13px;color:#79314f}
.issued-codes textarea{width:100%;margin-top:10px;font:700 15px/1.7 ui-monospace,monospace;border-radius:7px;border:1px solid #ecc7d7;padding:10px}
.request-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #f3dde5;padding:14px 0;font-size:13px;color:#613148}
.request-entry small{display:block;color:#a58594;font-size:11px;margin-top:4px}
.req-actions{display:flex;gap:6px;flex-wrap:wrap}.req-actions button{padding:7px 10px;font-size:11px}
.admin-panel code{white-space:normal;overflow-wrap:anywhere;font-size:12px}
@media(max-width:680px){.person-info h3{font-size:17px}.person-visual{height:auto!important}.request-entry{align-items:flex-start;flex-direction:column}.vote-dialog{padding:26px 17px}.vote-steps span{font-size:9px}.vote-step .dialog-actions button{padding:10px 8px}.hero::before{display:none}}

.import-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;background:#fff0f5;padding:15px 18px;border:1px solid #f0cbd9;border-radius:10px;margin:0 0 22px;color:#8d4260;font-size:12px}.import-bar form{flex-shrink:0}@media(max-width:680px){.import-bar{align-items:flex-start;flex-direction:column}}

/* ===== BẢN NÂNG CẤP: KHUNG BÌNH CHỌN LỚN + LỜI KHEN TỪNG THÍ SINH ===== */
#thi-sinh .candidate-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
  max-width:1150px;
  margin-inline:auto;
}
#thi-sinh .person-card{
  display:flex;
  flex-direction:column;
  border:1px solid #f0c6d5;
  border-radius:23px;
  overflow:hidden;
  box-shadow:0 18px 60px #a4517130;
  background:linear-gradient(180deg,#fff,#fff9fb);
}
#thi-sinh .person-card:hover{box-shadow:0 23px 65px #a451713d}
#thi-sinh .person-visual{aspect-ratio:1229/1536; height:auto!important; position:relative}
#thi-sinh .portrait img{object-fit:contain;object-position:center center}
#thi-sinh .person-info{padding:29px 30px 30px;flex:1;display:flex;flex-direction:column}
#thi-sinh .person-info h3{font-size:clamp(25px,2.6vw,34px);line-height:1.22;margin:10px 0 7px}
#thi-sinh .person-group{font-size:13px;line-height:1.7}
#thi-sinh .person-praise{
  margin:20px 0 15px;
  padding:18px 20px;
  border:1px solid #f3ccd9;
  border-radius:15px;
  background:linear-gradient(130deg,#fff1f6,#fff7f7 65%,#fff0f5);
  box-shadow:inset 0 0 0 1px #fff9;
  position:relative;
}
#thi-sinh .praise-label{
  display:block;
  color:#ad4a72;
  font-size:10px;
  font-weight:800;
  letter-spacing:1.7px;
  margin-bottom:9px;
}
#thi-sinh .praise-title{
  margin:0;
  color:#7a2949;
  font:600 clamp(18px,2vw,24px)/1.38 var(--serif);
  letter-spacing:-.2px;
  overflow-wrap:anywhere;
}
#thi-sinh .person-bio{margin:5px 0 16px;max-height:none;min-height:0;font-size:13px;line-height:1.65}
#thi-sinh .person-stats{margin-top:auto;padding-top:13px;font-size:14px}
#thi-sinh .person-stats strong{font-size:29px}
#thi-sinh .person-percent{font-size:14px}
#thi-sinh .person-actions{gap:12px;margin-top:22px}
#thi-sinh .vote-btn,#thi-sinh .chat-btn{
  min-height:53px;
  padding:13px 14px;
  font-size:15px;
  border-radius:12px;
  box-shadow:0 4px 10px #7f32420b;
}
#thi-sinh .vote-btn:focus-visible,#thi-sinh .chat-btn:focus-visible{
  outline:3px solid #b93e6c;outline-offset:3px;
}
#thi-sinh .number-badge{font-size:13px;top:17px;left:18px;padding:7px 12px}
#thi-sinh .voted-tag{font-size:11px;top:17px;right:17px;padding:8px 11px}
@media(max-width:800px){
  #thi-sinh .candidate-grid{gap:20px}
  #thi-sinh .person-info{padding:20px 19px 22px}
  #thi-sinh .person-info h3{font-size:25px}
  #thi-sinh .person-praise{margin:15px 0 12px;padding:15px}
  #thi-sinh .praise-title{font-size:19px}
  #thi-sinh .person-actions{flex-direction:column}
}
@media(max-width:680px){
  #thi-sinh .candidate-grid{grid-template-columns:minmax(0,1fr);gap:27px;max-width:440px}
  #thi-sinh .person-card{border-radius:20px}
  #thi-sinh .person-info{padding:23px 21px 24px}
  #thi-sinh .person-info h3{font-size:27px}
  #thi-sinh .person-group{font-size:12px}
  #thi-sinh .person-praise{margin:18px 0 15px;padding:17px}
  #thi-sinh .praise-title{font-size:21px}
  #thi-sinh .person-bio{font-size:13px}
  #thi-sinh .person-actions{flex-direction:row;gap:10px}
  #thi-sinh .vote-btn,#thi-sinh .chat-btn{min-height:52px;padding:13px 8px;font-size:13px}
  #thi-sinh .number-badge{font-size:12px;top:12px;left:12px}
}
@media(max-width:360px){
  #thi-sinh .person-actions{flex-direction:column}
  #thi-sinh .vote-btn,#thi-sinh .chat-btn{font-size:14px}
}


/* ==========================================================
   HOTFIX 3.2 - MOBILE FULL WIDTH (20-10-2026)
   Fix: blank right side / narrow candidate card on some Android WebViews
   Does not touch data or vote logic.
   ========================================================== */
html, body {
  width:100%;
  min-width:0;
  max-width:100%;
  overflow-x:clip;
}
body > main, main > section, main > .strip, main > .result-zone {
  width:100%;
  min-width:0;
}
.container {
  width:100%;
  min-width:0;
}
#thi-sinh .candidate-grid, #thi-sinh .person-card,
#thi-sinh .person-visual, #thi-sinh .person-info {
  min-width:0;
}
@media (max-width:860px) {
  /* A phone / compact tablet must not display two squeezed columns. */
  body > main, .strip, .result-zone { width:100%; max-width:100%; }
  .container {width:100%;max-width:100%;padding-left:18px;padding-right:18px;}
  #thi-sinh .candidate-grid {
    display:grid;
    width:100%;
    max-width:700px;
    margin-inline:auto;
    grid-template-columns:minmax(0, 1fr);
    gap:26px;
    justify-items:stretch;
  }
  #thi-sinh .person-card { width:100%; min-width:0; margin:0; }
  #thi-sinh .person-visual { width:100%; aspect-ratio:1229/1536; height:auto; }
  #thi-sinh .portrait, #thi-sinh .portrait img {width:100%;height:100%;display:block;object-fit:contain;}
  #thi-sinh .person-info { width:100%; }
  #thi-sinh .person-actions {display:flex;flex-direction:row;flex-wrap:nowrap;}
  #thi-sinh .vote-btn, #thi-sinh .chat-btn { flex:1 1 0;min-width:0;white-space:normal;}
  .section-heading, .toolbar, .comments-layout, .result-list { min-width:0; max-width:100%; }
  .section-heading > div, .hero-copy, .hero-visual {min-width:0;}
  .strip, .result-zone {max-width:100%;}
}
@media (max-width:680px) {
  .container {padding-inline:clamp(14px, 4.5vw, 18px);}
  #thi-sinh .candidate-grid {width:100%;max-width:none;grid-template-columns:minmax(0,1fr);gap:25px;}
  #thi-sinh .person-card {width:100%;}
  #thi-sinh .person-info {padding:23px 20px 25px;}
  #thi-sinh .person-info h3 {font-size:clamp(25px,6vw,31px);overflow-wrap:break-word;}
  #thi-sinh .praise-title {font-size:clamp(19px,5vw,23px);}
  #thi-sinh .person-visual {aspect-ratio:1229/1536;}
  #thi-sinh .vote-btn, #thi-sinh .chat-btn {font-size:13px;padding:13px 6px;}
  .hero {width:100%;max-width:100%;}
  .hero-cta {flex-wrap:wrap;}
  .toolbar {flex-wrap:wrap;}
  .toolbar-note {max-width:100%;}
  .result-row {grid-template-columns:22px 38px minmax(0,1fr) 45px;gap:8px;}
  .result-row .result-track {display:none;}
  .comments-layout {grid-template-columns:minmax(0,1fr);}
  .comment-panel, .composer-panel {min-width:0;}
}
@media (max-width:360px) {
  #thi-sinh .person-actions {flex-direction:column;}
  .section-heading h2 {font-size:33px;}
  .hero h1 {font-size:44px;}
}

/* ============================================================
   3.4 MOBILE FIT: 1-column cards, no custom zoom controls.
   Does NOT alter contest data, votes, Telegram, API or backend.
   ============================================================ */
html {width:100%; max-width:100%; overflow-x:hidden; -webkit-text-size-adjust:100%; text-size-adjust:100%;}
body {width:100%; max-width:100%; min-width:0; overflow-x:hidden;}
img,video,svg,iframe {max-width:100%;}
main,main > section,header,footer {min-width:0;}
/* On phones, vertical scrolling works normally; multi-touch scaling is not part of the site UI. */
@media (max-width:860px) {
  html, body {touch-action:pan-y;}
  body > .blush {display:none;} /* decorative absolute blur caused 300px horizontal overflow */
  .container {box-sizing:border-box; width:100%; max-width:100%; min-width:0; margin-inline:auto; padding-inline:clamp(14px,4.5vw,22px);}
  .site-head {max-width:100%;gap:8px;}
  .site-head .brand,.site-head .admin-link {flex-shrink:0;}
  .site-head .brand {min-width:0;}
  .site-head .brand small {letter-spacing:2px;}
  .hero {display:flex;flex-direction:column;width:100%;min-width:0;max-width:100%;align-items:stretch;gap:20px;}
  .hero-copy,.hero-visual {min-width:0;max-width:100%;width:100%;}
  .hero h1 {max-width:100%;overflow-wrap:break-word;}
  .hero-cta {display:flex;flex-wrap:wrap;min-width:0;}
  .strip-inner {overflow:hidden;}
  .section-heading {display:flex;flex-wrap:wrap;min-width:0;gap:12px;}
  .section-heading > div {min-width:0;max-width:100%;}
  #thi-sinh {min-width:0;}
  #thi-sinh .candidate-grid {display:grid;width:100%;max-width:650px;grid-template-columns:minmax(0,1fr);min-width:0;gap:24px;margin-inline:auto;}
  #thi-sinh .person-card {box-sizing:border-box;display:flex;flex-direction:column;width:100%;max-width:100%;min-width:0;margin:0;}
  #thi-sinh .person-visual {aspect-ratio:1229/1536;height:auto!important;width:100%;max-width:100%;min-width:0;overflow:hidden;}
  #thi-sinh .portrait,#thi-sinh .portrait img {display:block;width:100%;height:100%;max-width:100%;object-fit:contain;}
  #thi-sinh .person-info {width:100%;max-width:100%;min-width:0;}
  #thi-sinh .person-actions {display:flex;gap:10px;flex-wrap:wrap;}
  #thi-sinh .person-actions > * {min-width:0;}
  .toolbar {flex-wrap:wrap;gap:12px;}
  .toolbar-note {min-width:0;max-width:100%;}
  .comments-layout {grid-template-columns:minmax(0,1fr);}
  .comment-panel,.composer-panel {min-width:0;max-width:100%;}
  .dialog,.vote-dialog {max-width:calc(100vw - 24px);min-width:0;}
  /* iOS can focus-zoom inputs below 16px; keep them comfortable to read. */
  input,textarea,select {font-size:16px;max-width:100%;}
}
@media (max-width:480px) {
  #thi-sinh .candidate-grid {max-width:100%;gap:22px;}
  #thi-sinh .person-info {padding:18px 16px 21px;}
  #thi-sinh .person-info h3 {font-size:clamp(23px,6.6vw,29px);}
  #thi-sinh .vote-btn,#thi-sinh .chat-btn {font-size:13px;min-height:48px;padding:12px 8px;}
  .hero h1 {font-size:clamp(36px,11vw,54px);}
  .section-heading h2 {font-size:clamp(31px,8vw,40px);}
}
@media (max-width:350px) {
  #thi-sinh .person-actions {flex-direction:column;}
  #thi-sinh .vote-btn,#thi-sinh .chat-btn {width:100%;}
}

/* PATCH 2026-10-21: separate vote page + consistent mobile fit */
html,body{width:100%;max-width:100%;min-width:0;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
#thi-sinh .vote-btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:52px;line-height:1.35;touch-action:manipulation;}
#thi-sinh .vote-btn.vote-disabled{opacity:.6;cursor:not-allowed;pointer-events:none;}
#thi-sinh .vote-btn:not(.vote-disabled):active{filter:brightness(.94);}
@media (max-width:860px){
  body>.blush{display:none;}
  .container{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding-inline:clamp(14px,4vw,22px);}
  .hero,.hero-copy,.hero-visual,.section-heading,.toolbar,.comments-layout{min-width:0;max-width:100%;}
  #thi-sinh .candidate-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;max-width:640px;width:100%;margin-inline:auto;}
  #thi-sinh .person-card{width:100%;max-width:100%;min-width:0;}
  #thi-sinh .person-visual{width:100%;aspect-ratio:1229/1536;height:auto!important;}
  #thi-sinh .portrait,#thi-sinh .portrait img{width:100%;height:100%;object-fit:contain;}
  #thi-sinh .person-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:10px;}
  #thi-sinh .person-actions>*{min-width:0;flex:1 1 calc(50% - 5px);}
  input,textarea,select{font-size:16px;max-width:100%;}
}
@media(max-width:340px){#thi-sinh .person-actions{flex-direction:column;}#thi-sinh .person-actions>*{width:100%;}}

#thi-sinh a.person-visual{display:block;color:inherit;cursor:pointer;}#thi-sinh a.person-visual:focus-visible{outline:3px solid #b93e6c;outline-offset:3px;}
