body.classic166 #duel-main{font:12px/1.5 Arial;color:#333}
.duel-top{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:12px;min-height:145px}
#duel-players{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:1px;align-content:start}
.duel-person{text-align:center;min-width:0}.duel-person img{display:block;width:100%;aspect-ratio:65/75;object-fit:cover;background:#edf4f9}.duel-person>a{display:block;font:bold 11px/14px Arial;color:#4682b4;overflow-wrap:anywhere}.duel-person small{display:block;color:#9bb3c3;font:10px/13px Arial}.duel-person b{display:block;font:18px/23px Arial;color:#333}.duel-person.eliminated img{opacity:.45}.duel-person.immune img{outline:2px solid #e3cc7e;outline-offset:-2px}
.duel-empty{background:#c6b199;min-height:88px;display:flex;align-items:center;justify-content:center;font:bold 19px/1 Arial;color:#907862}
.duel-title{background:#fff url('/assets/duel-title212.gif') no-repeat top left;color:#a0522d;min-width:0;padding-top:45px;position:relative}.duel-title>a{position:absolute;right:0;top:0;background:#e8eff5;color:#4682b4;padding:2px 4px}.duel-title h1{font:11px/14px 'Trebuchet MS',Arial;font-variant:small-caps;margin:0!important;color:#a0522d!important}.duel-title>strong{display:block;text-align:center;font:bold 20px/25px Arial;margin:8px 0 0}.duel-title>span{display:block;text-align:center;font-size:11px}
.duel-columns{display:grid;grid-template-columns:minmax(0,590fr) minmax(0,350fr);gap:28px;margin-top:12px}.duel-columns>*{min-width:0}.duel-columns section{margin:0 0 18px}.duel-columns aside section{border:1px solid #e3edf3;padding:8px}.duel-columns h2{color:#ff536d;font:bold 17px/22px Arial;margin:0 0 7px}.duel-tabs{display:flex;gap:7px;padding:4px 10px 0;min-height:45px;border:1px solid #c8d6df;border-radius:10px 0 0 0;background:linear-gradient(90deg,#e8f0f6,white)}.duel-tabs button{border:1px solid #ced6dc;border-radius:9px 9px 0 0;background:white;color:#6a7884;font:16px/1.1 'Comic Sans MS',cursive;padding:3px 8px}.duel-tabs button:last-child{color:#d598a6}.duel-tabs button[aria-pressed=true]{border-bottom-color:white}
#duel-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;text-align:center}#duel-winners h2{text-align:center;color:#333;font:26px/32px Arial}#duel-podium img{max-width:75px;margin:auto}#duel-podium b{font-size:21px}
#duel-notice:empty{display:none}#duel-notice{background:#fffadb;padding:6px}#duel-entry{margin:5px 0}#duel-entry a,#duel-main button{cursor:pointer;border:1px solid #e3d47c;background:#fff4a0;padding:5px 9px;color:#706338;border-radius:2px}#duel-main button:disabled{opacity:.5;cursor:default}#duel-save-list{padding:0;list-style:none}#duel-save-list li{display:flex;align-items:center;gap:6px;background:#f3f7fa;margin:2px 0;padding:3px}#duel-save-list li span{flex:1;overflow-wrap:anywhere}#duel-list-form p{font-size:11px;color:#777}#duel-whisper-form textarea{display:block;width:100%;min-height:75px;box-sizing:border-box}#duel-whisper-list p{background:#f3f7fa;padding:5px;white-space:pre-wrap}#duel-help{margin-top:20px}#duel-images{display:flex;gap:7px}#duel-images img{width:100%;max-height:110px;object-fit:contain}#duel-images a{width:30%}#duel-board{max-width:100%;overflow:hidden}.original-flash-frame{max-width:100%;overflow:hidden}#duel-main [hidden]{display:none!important}
@media(max-width:760px){.duel-top{grid-template-columns:1fr}.duel-title{min-height:95px;max-width:240px;justify-self:end;width:100%}#duel-players{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 2px}.duel-columns{grid-template-columns:1fr;gap:18px}.duel-person>a{font-size:12px}.duel-tabs button{min-height:42px;font-size:14px}#duel-main button,#duel-main select{min-height:36px}#duel-main textarea{font-size:16px}#duel-list-form button{min-width:40px}.duel-empty{min-height:85px}}

@font-face{font-family:TengagedHand;src:url('/assets/fonts/caveat-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
body #duel-main .duel-tabs{height:43px!important;padding:5px 5px 0!important;gap:6px!important;align-items:flex-end;border:1px solid #d7e0e6!important;border-bottom:1px solid #c9d4dd!important;border-radius:9px 9px 0 0!important;background:linear-gradient(90deg,#eaf3fa,#fff)!important;position:relative;box-sizing:border-box}
body #duel-main .duel-tabs button{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:0!important;width:126px;min-width:126px!important;height:36px!important;min-height:36px!important;padding:0 7px 1px!important;border:1px solid #cbd4dc!important;border-bottom:1px solid #cbd4dc!important;border-radius:9px 9px 0 0!important;background:#fff!important;box-shadow:0 -1px 1px #dce2e6!important;font:400 21px/16px TengagedHand,'Bradley Hand','Segoe Print',cursive!important;letter-spacing:0!important;color:#9fa5a7!important}
body #duel-main .duel-tabs button[aria-pressed=true]{height:38px!important;border-bottom-color:#fff!important;color:#52616a!important;margin-bottom:-1px!important;z-index:1}
body #duel-main .duel-tabs .tab-first{transform:rotate(-12deg)!important;align-self:flex-start!important;font:inherit!important;line-height:16px!important;padding:0!important}
body #duel-main .duel-tabs .tab-second{transform:none!important;align-self:flex-end!important;font:inherit!important;line-height:16px!important;padding:0!important}
body #duel-main .duel-tabs #duel-private .tab-first{color:#eca7b7!important}
body #duel-main .duel-tabs button small{position:absolute!important;top:0!important;right:4px!important;font:10px/13px Arial!important;color:#547c99!important}
body #duel-main #public-chat .game-chat{margin:0!important}
body #duel-main #public-chat .chat-pages{position:absolute!important;top:-26px!important;right:8px!important;min-height:0!important;margin:0!important;gap:10px!important}
body #duel-main #public-chat .chat-pages button{padding:0!important;border:0!important;border-radius:0!important;min-width:10px!important;min-height:20px!important;background:none!important;box-shadow:none!important;font:bold 12px/20px Arial!important;color:#4986a4!important}
body #duel-main #public-chat .chat-pages button[aria-current=page]{color:#999!important;text-decoration:underline!important}
body #duel-main .game-chat .chat-form{display:grid!important;grid-template-columns:minmax(0,1fr) 82px!important;gap:6px!important;margin:9px 0 10px!important}
body #duel-main .game-chat .chat-form textarea{min-height:74px!important;height:74px;padding:7px!important;border:1px solid #ffe342!important;border-radius:4px!important;background:#fffdf2!important;font:14px/20px Arial!important;color:#333!important;box-shadow:none!important}
body #duel-main .game-chat .chat-form textarea::placeholder{color:#aaa;opacity:1}
body #duel-main .game-chat .chat-compose-actions button{width:82px!important;min-height:33px!important;height:33px!important;padding:5px 8px!important;border:1px solid #d6dfe7!important;border-radius:4px!important;background:#f5f8fb!important;color:#859bad!important;font:13px/20px Arial!important}
body #duel-main .game-chat .chat-compose-actions button:disabled{opacity:1!important;color:#91a2b2!important}
body #duel-main .game-chat .chat-messages>article:not(.casting-key-event):not(.arena-event){margin:0 0 8px!important}
body #duel-main .game-chat .chat-messages>article:not(.casting-key-event):not(.arena-event)>header{min-height:22px!important;padding:3px 4px!important;gap:10px!important;background:#f1f6fa!important;border-top:1px solid #e3edf4!important}
body #duel-main .game-chat .chat-messages>article>header>a{font:bold 12px/15px Arial!important;color:#2784b2!important}
body #duel-main .game-chat .chat-messages>article>header>time{font:bold 10px/15px Arial!important;color:#999!important}
body #duel-main .game-chat .chat-messages>article:not(.casting-key-event):not(.arena-event)>p{font:13px/20px Arial!important;padding:4px 10px 2px!important;margin:0!important;color:#222!important}
@media(max-width:600px){body #duel-main .duel-tabs button{width:116px;min-width:116px!important}body #duel-main .duel-tabs{padding-right:4px!important}body #duel-main #public-chat .chat-pages{position:static!important;justify-content:flex-end!important;padding-top:3px;min-height:24px!important}body #duel-main .game-chat .chat-form{grid-template-columns:minmax(0,1fr) 65px!important}body #duel-main .game-chat .chat-form textarea{font-size:16px!important;height:74px;min-height:74px!important}body #duel-main .game-chat .chat-compose-actions button{width:65px!important;min-height:36px!important}}
body #duel-main button:disabled,body #duel-main button:disabled img,body .game-chat button:disabled,body .game-chat button:disabled img{opacity:1!important}
#duel-main #public-chat{position:relative}#duel-main .chat-toolbar{display:none!important}#duel-main .chat-counter{display:none}#duel-admin:has(button:not([hidden])){margin:8px 0}#duel-whisper-form label{grid-column:1/-1}

/* V214: explicit grid placement prevents the accessible label from shifting the textarea. */
body #duel-main #public-chat .chat-form>label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
body #duel-main #public-chat .chat-form>.chat-audience{grid-column:1/-1!important;grid-row:1!important;width:50%!important;min-width:0!important;justify-self:start;background:#fffdf2;border:1px solid #ffe342;border-radius:4px}
body #duel-main #public-chat .chat-form>textarea{grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
body #duel-main #public-chat .chat-form>.chat-compose-actions{grid-column:2!important;grid-row:2!important;align-self:start!important;width:100%!important;min-width:0!important}
body #duel-main #public-chat .chat-compose-actions button{width:100%!important;min-width:0!important;background:linear-gradient(#fff8ae,#ffe875)!important;border:1px solid #efdc77!important;color:#77735d!important}
body #duel-main .duel-tabs{gap:0!important;height:44px!important;min-height:44px!important;padding:5px 0 0!important;border-radius:9px 0 0 0!important}
body #duel-main .duel-tabs>button{box-sizing:border-box!important;flex:0 0 125px!important;width:125px!important;min-width:125px!important;max-width:125px!important;height:38px!important;min-height:38px!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background-size:auto!important}
body #duel-main .duel-tabs>button:first-child[aria-pressed=true]{background:transparent url('/assets/regaged/avatars/ui/master.gif') no-repeat 0 -111px!important}
body #duel-main .duel-tabs>button:first-child[aria-pressed=false]{background:transparent url('/assets/regaged/avatars/ui/master.gif') no-repeat -374px -111px!important}
body #duel-main .duel-tabs>button:nth-child(2)[aria-pressed=true]{background:transparent url('/assets/regaged/avatars/ui/master.gif') no-repeat -249px -111px!important}
body #duel-main .duel-tabs>button:nth-child(2)[aria-pressed=false]{background:transparent url('/assets/regaged/avatars/ui/master.gif') no-repeat -124px -111px!important}
body #duel-main .duel-tabs .tab-first,body #duel-main .duel-tabs .tab-second{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important}
body #duel-main .duel-tabs button small{top:10px!important;right:49px!important}
body #duel-main #public-chat .chat-pages{gap:3px!important;top:-22px!important;right:0!important}
body #duel-main #public-chat .chat-pages button{background:#e8eff5!important;min-width:18px!important;height:20px!important;text-align:center!important}
body #duel-main #public-chat .chat-pages button[aria-current=page]{background:#dce5ed!important;color:#333!important}
body #duel-main .game-chat{padding:0!important;border:0!important;background:white!important}
@media(max-width:600px){body #duel-main #public-chat .chat-form>.chat-audience{width:100%!important;font-size:16px!important}body #duel-main #public-chat .chat-pages{position:static!important}}

body #duel-main .game-chat .chat-attach{display:block!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:9px 0 16px!important;color:#999!important;text-decoration:underline!important;text-align:left!important;font:11px/16px Arial!important;min-height:0!important}

body #duel-main #duel-list-form h3{font:bold 16px/22px Arial;color:#ff536d;border-bottom:1px dotted #ffc3c3;padding-bottom:4px;margin:15px 0 6px}
body #duel-main #duel-save-list li{display:flex;gap:4px;align-items:center;min-height:34px;padding:3px 4px;background:#f0f6fa;border-bottom:1px solid #e1eaf1}
body #duel-main #duel-save-list li:nth-child(even){background:#f7fafc}
body #duel-main #duel-save-list .duel-ranked-person{display:flex;align-items:center;gap:6px;flex:1;min-width:0}
body #duel-main #duel-save-list .duel-rank-number{width:18px;flex:0 0 18px;text-align:center;color:#879fac;font:12px/18px Arial}
body #duel-main #duel-save-list img{display:block;width:26px;height:30px;object-fit:cover;border:1px solid #d2e1eb;flex:0 0 26px;background:#d5e5f1}
body #duel-main #duel-save-list .duel-ranked-name{font:bold 12px/16px Arial;color:#4682b4;overflow-wrap:anywhere;flex:1;min-width:0}
body #duel-main #duel-save-list li>button{width:23px;min-width:23px;height:25px;min-height:25px;padding:0;border:1px solid #cbdce6;background:#eaf2f8;color:#56859f;font:16px/23px Arial}
@media(pointer:coarse){body #duel-main #duel-save-list li>button{width:36px;min-width:36px;height:40px;min-height:40px}}

body #duel-main #duel-save-list .duel-drag-grip{flex:0 0 20px;order:-1;cursor:grab;touch-action:none;user-select:none;color:#8da4b3;font:22px/30px Arial}body #duel-main #duel-save-list .duel-dragging{outline:2px solid #e8d080;background:#fffbd8;opacity:.7}body #duel-main #duel-save-list li{cursor:grab}@media(pointer:coarse){body #duel-main #duel-save-list .duel-drag-grip{flex-basis:28px;line-height:40px}}

body #duel-main .duel-person{position:relative}body #duel-main .duel-person>.duel-check220{color:#91bb75;font:bold 25px/28px Arial}body #duel-main .duel-person>.duel-nominated220{color:#ff466e;font:bold 25px/28px Arial}body #duel-main .duel-person>a:first-child{position:relative}body #duel-main .duel-person img.duel-wait220{position:absolute;top:2px;left:2px;width:14px;height:14px;aspect-ratio:auto;object-fit:contain;border:0;background:none}body #duel-main .duel-result220{font:13px/23px Arial;color:#000!important}body #duel-main .duel-result220 a{color:#4682b4!important;text-decoration:none}body #duel-main .duel-result220 span{color:#000!important}

/* Exact Frookies safe tick typography and colour. */
body #duel-main .duel-person>b.fro-safe{font:bold 20px/20px Arial;color:#94bd78}
/* Puestos con el mismo aspecto que en Casting y Frookies. */
body #duel-main .duel-person>b.duel-place,body #duel-main #duel-podium .duel-person>b.duel-place{font:13px/20px Arial!important;color:#666!important}
body #duel-main #duel-podium .duel-person>small{display:none!important}
