.contest-nav,.contest-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border:1px solid #9a7c32;border-radius:10px;background:#17180f;color:#e1c77d;text-decoration:none;font:600 15px Georgia,serif;cursor:pointer}
.contest-nav{padding:8px 12px;font-size:13px;white-space:nowrap}.contest-button.primary{background:linear-gradient(110deg,#e3c56e,#bd9428);color:#171208}.contest-button:disabled{opacity:.5;cursor:wait}
.contest-button:focus-visible,.contest-nav:focus-visible,.contest-result-card:focus-visible{outline:3px solid #ffe7a7;outline-offset:3px}
.contest-result-card{display:block;border:1px solid #6d592c;border-radius:12px;background:linear-gradient(115deg,#26220f,#0d1110);padding:13px 16px;margin:0 0 16px;color:#e2c67b;text-decoration:none;line-height:1.45}
.contest-result-card strong{display:block;font-size:17px}.contest-result-card small{display:block;color:#ccc4ac;font-size:13px}
[hidden].contest-nav,[hidden].contest-result-card,[hidden].contest-panel,[hidden].contest-button{display:none!important}
.contest-dialog{position:fixed;inset:0;margin:auto;width:min(530px,calc(100% - 30px));max-height:90vh;overflow:auto;padding:0;border:1px solid #9d803e;border-radius:18px;background:#101310;color:#e8deca;box-shadow:0 20px 90px #000c;font-family:Georgia,serif}
.contest-dialog::backdrop{background:#000b}.contest-dialog .contest-inner{padding:28px}.contest-dialog h2{font-size:30px;color:#dfc47b;margin:0 0 16px;line-height:1.15}.contest-dialog p{line-height:1.6;margin:12px 0}.contest-close{position:absolute;right:12px;top:10px;background:#090b09cc;border:1px solid #8f7a47;color:#f4e8c4;font-size:25px;width:36px;height:36px;border-radius:50%;cursor:pointer}
.contest-dialog label{display:block;margin:18px 0;line-height:1.5}.contest-dialog input,.contest-dialog select{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:11px;background:#080b09;color:#eee0c2;border:1px solid #776133;border-radius:7px;font:18px Georgia,serif}
.contest-hero{height:135px;background:linear-gradient(0deg,#101310,transparent),url('/static/song-radio-oro-v1.jpg') center 48%/cover}
.contest-panel{border:1px solid #8a7131;border-radius:12px;padding:16px;margin:14px 0;background:#17190f;color:#dfc47b;line-height:1.5}
.contest-panel label{display:block;margin:10px 0}.contest-panel select,.contest-panel input{box-sizing:border-box;max-width:100%;padding:9px;background:#0b0d0b;border:1px solid #73653e;color:#ede3cb;border-radius:6px;font:inherit}
.contest-panel a{color:#e0c376}.contest-feedback{white-space:pre-wrap;line-height:1.5;padding:15px;border:1px solid #796733;border-radius:10px;margin-top:16px;color:#e8d9b5;background:#141711}.contest-feedback:empty{display:none}
.contest-page{background:#080b09;color:#d9d1bd;font:18px/1.6 Georgia,serif;margin:0;padding:28px 20px;min-height:100vh}.contest-page main{max-width:1120px;margin:0 auto}.contest-page h1,.contest-page h2{color:#dfc47b;line-height:1.2}.contest-page a{color:#e2c57b}.contest-page .contest-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.contest-page section,.contest-page article{border:1px solid #51462b;background:#11150f;border-radius:14px;padding:22px;margin:18px 0;min-width:0}.contest-page ol{padding-left:26px}.contest-page li{margin:15px 0}.contest-page small{color:#b9b3a0}.contest-page input{padding:9px;color:#e8dfc9;background:#080b09;border:1px solid #766235;border-radius:6px;font:inherit;max-width:100%;box-sizing:border-box}.contest-page label{display:block;margin:12px 0}.contest-page pre{white-space:pre-wrap;overflow-wrap:anywhere;font:16px/1.65 Georgia,serif}.contest-page .contest-score{font-size:25px;color:#e8cb77}.contest-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}.contest-profile-actions{margin:20px 0}.contest-entry-meta{overflow-wrap:anywhere}.contest-status{color:#d4bf87}
@media(max-width:680px){.contest-page .contest-grid{grid-template-columns:1fr}.contest-nav{padding:7px;font-size:11px}.contest-page{padding:20px 12px}.contest-dialog .contest-inner{padding:22px}.contest-page section,.contest-page article{padding:16px}.contest-hero{height:110px}}
@media(max-width:640px){.header-inner:has(.contest-nav:not([hidden])){flex-wrap:wrap}.header-actions:has(.contest-nav:not([hidden])){margin-left:auto;flex-wrap:wrap;justify-content:flex-end;max-width:100%;gap:6px}.header-actions:has(.contest-nav:not([hidden])) .user-pill{width:auto;min-width:38px}}
