/* Doggyfide Top Dog: photography-led, aqua-led, coral only for Vote. */
.td-app{padding:8px 0 64px}
.td-app .shell{max-width:1120px}
.td-app[aria-busy=true]{min-height:560px}
.td-skel{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.td-skel i{display:block;aspect-ratio:4/5;border-radius:24px;background:linear-gradient(90deg,#eef7f8,#f8fcfc,#eef7f8);background-size:200% 100%;animation:td-sh 1.4s linear infinite}
@keyframes td-sh{to{background-position:-200% 0}}
.td-lead{background:radial-gradient(120% 90% at 50% 0%,#0c4b57 0%,#071f24 55%,#0a0a0a 100%);color:#fff;border-radius:32px;padding:28px 20px 30px;margin-bottom:44px;box-shadow:0 30px 60px -30px #00708a88}
.td-lead-head{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:22px}
.td-lead h2{color:#fff;margin:0;font-size:clamp(24px,4vw,34px)}
.td-live{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#5fd6e6}
.td-live i{width:8px;height:8px;border-radius:50%;background:#5fd6e6;box-shadow:0 0 0 0 #5fd6e6;animation:td-pulse 1.8s infinite}
@keyframes td-pulse{70%{box-shadow:0 0 0 8px #5fd6e600}100%{box-shadow:0 0 0 0 #5fd6e600}}
.td-podium{list-style:none;margin:0 auto;padding:0;display:flex;align-items:flex-end;justify-content:center;gap:clamp(10px,3vw,28px);max-width:720px}
.td-pod{flex:1;max-width:210px}
.td-pod-btn{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;text-align:center}
.td-pod-btn:focus-visible{outline:3px solid #5fd6e6;outline-offset:6px;border-radius:24px}
.td-pod-img{position:relative;display:block;width:100%;aspect-ratio:1;border-radius:50%;padding:4px;background:linear-gradient(135deg,#5fd6e6,#00708a)}
.td-pod-1 .td-pod-img{background:linear-gradient(135deg,#ffe39a,#f2b84b);transform:translateY(-14px);box-shadow:0 0 40px -6px #f2b84b88}
.td-pod-img img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
.td-pod-place{position:absolute;left:50%;bottom:-10px;transform:translateX(-50%);min-width:34px;height:34px;padding:0 6px;border-radius:17px;display:grid;place-items:center;background:#fff;color:#0a0a0a;font-weight:800;font-size:15px;box-shadow:0 6px 14px #0005}
.td-pod-1 .td-pod-place{background:#f2b84b;transform:translateX(-50%) translateY(-14px)}
.td-pod-place svg{width:18px;height:18px}
.td-pod-name{margin-top:12px;font-weight:700;font-size:clamp(15px,2.4vw,19px)}
.td-pod-1 .td-pod-name{margin-top:0}
.td-pod-votes{font-size:14px;color:#ffffffc2}
.td-empty-podium{text-align:center;color:#ffffffd0;margin:0}
.td-gallery-head{text-align:center;margin:0 auto 22px;max-width:560px}
.td-gallery-head h2{margin:0 0 6px}
.td-gallery-head p{margin:0;color:#4a5a5e}
.td-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:20px}
.td-card{background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 1px 0 #00afc422,0 18px 40px -26px #00405066;display:flex;flex-direction:column}
.is-first .td-card{animation:td-in .5s var(--ease-smooth-out,ease) both;animation-delay:calc(min(var(--i),8) * 40ms)}
@keyframes td-in{from{transform:translateY(12px)}}
.td-card-photo{all:unset;cursor:zoom-in;display:block;aspect-ratio:1/1.1;overflow:hidden;background:#eaf7f8}
.td-card-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block;transition:transform .6s var(--ease-smooth-out,ease)}
.td-card-photo:hover img{transform:scale(1.04)}
.td-card-photo:focus-visible{outline:3px solid var(--aqua);outline-offset:-3px}
.td-card-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.td-card h3{margin:0;font-size:20px}
.td-card-body>p{margin:0;color:#4a5a5e;font-size:15px;line-height:1.4}
.td-card-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.td-count{font-weight:700;color:#00708a;font-variant-numeric:tabular-nums}
.td-count.is-bump{animation:td-bump .5s var(--ease-bounce,ease)}
@keyframes td-bump{40%{transform:scale(1.18)}}
.td-vote:focus-visible,.td-share-btn:focus-visible{outline:3px solid var(--aqua);outline-offset:3px}
.td-vote{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border:0;border-radius:999px;background:var(--coral,#F46F61);color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer;transition:transform .15s,background .25s}
.td-vote svg{width:18px;height:18px}
.td-vote:active{transform:scale(.97)}
.td-vote:disabled{cursor:default;background:#e7eef0;color:#6b7a7e}
.td-vote.is-voted,.td-vote.is-voted:disabled{background:#00708a;color:#fff}
.td-burst{position:absolute;inset:0;pointer-events:none}
.td-burst i{position:absolute;left:50%;top:50%;width:8px;height:8px;border-radius:50%;background:var(--coral,#F46F61);animation:td-b .8s var(--ease-smooth-out,ease) forwards}
.td-burst i:nth-child(even){background:#5fd6e6}
@keyframes td-b{to{transform:rotate(var(--a)) translateY(-46px) scale(.4);opacity:0}}
.td-between{text-align:center;padding:48px 20px;border-radius:28px;background:#eaf7f8}
.td-between-icon svg{width:44px;height:44px;color:#00708a}
.td-between h2{margin:10px 0 8px}
.td-between p{margin:0;color:#4a5a5e}
.td-sheet{border:0;padding:0;margin:auto;width:min(560px,100vw);max-height:92vh;border-radius:28px;background:#fff;overflow:auto;box-shadow:0 30px 80px #0006}
.td-sheet::backdrop,.td-share-panel::backdrop{background:#041417b3;backdrop-filter:blur(4px)}
.td-sheet[open]{animation:td-up .35s var(--ease-smooth-out,ease)}
@keyframes td-up{from{transform:translateY(24px) scale(.98)}}
.td-sheet-in{position:relative}
.td-close{position:absolute;top:12px;right:12px;z-index:2;width:42px;height:42px;border-radius:50%;border:0;background:#ffffffe6;color:#0a0a0a;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 4px 12px #0003}
.td-sheet-photo{aspect-ratio:4/5;max-height:60vh;overflow:hidden;background:#eaf7f8}
.td-sheet-photo img{width:100%;height:100%;object-fit:cover;display:block}
.td-sheet-body{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px}
.td-eyebrow{margin:0;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#00708a}
.td-sheet h2{margin:0;font-size:32px}
.td-owner,.td-blurb{margin:0;color:#4a5a5e}
.td-story summary{cursor:pointer;font-weight:700;color:#00708a}
.td-story p{margin:8px 0 0;color:#2a3a3e;line-height:1.5}
.td-sheet-count{margin:4px 0 0;font-weight:800;font-size:20px;color:#0a0a0a}
.td-sheet-actions{display:grid;gap:10px;margin-top:6px}
.td-vote-lg{min-height:56px;font-size:18px}
.td-share-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:999px;border:0;background:#eaf7f8;color:#00708a;font:inherit;font-weight:700;cursor:pointer}
.td-share-btn svg{width:19px;height:19px}
.td-all{all:unset;cursor:pointer;text-align:center;padding:10px;color:#4a5a5e;text-decoration:underline;text-underline-offset:3px}
.td-toast{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translate(-50%,140%);z-index:60;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:12px 12px 12px 18px;border-radius:999px;background:#0a0a0a;color:#fff;box-shadow:0 16px 40px #0005;transition:transform .35s var(--ease-smooth-out,ease)}
.td-toast.is-on{transform:translate(-50%,0)}
.td-toast button{display:inline-flex;align-items:center;gap:6px;flex:none;border:0;border-radius:999px;padding:9px 14px;background:#5fd6e6;color:#0a0a0a;font:inherit;font-weight:700;cursor:pointer}
.td-toast button svg{width:16px;height:16px}
.td-share-panel{border:0;padding:0;margin:auto;width:min(440px,calc(100vw - 24px));border-radius:26px;background:#fff;box-shadow:0 30px 80px #0006}
.td-panel-in{position:relative;padding:24px 22px}
.td-panel-in h2{margin:0 40px 16px 0;font-size:24px}
.td-share-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.td-share-grid>*{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:16px;border:0;background:#eaf7f8;color:#00708a;font:inherit;font-weight:700;text-decoration:none;cursor:pointer;text-align:center}
.td-story-kit{margin-top:16px}
.td-story-kit ol{margin:12px 0;padding-left:20px;color:#2a3a3e;line-height:1.6}
.td-story-preview{display:block;width:120px;margin:0 auto;border-radius:12px;box-shadow:0 10px 24px #0003}
.td-prizes{margin-top:10px}
.td-prizes summary{cursor:pointer;font-weight:700;color:#00708a}
.td-prizes ol{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px}
.td-prizes span{color:#4a5a5e}
.td-countdown{display:inline-block;margin-top:10px;font-weight:700;color:#00708a;font-variant-numeric:tabular-nums}
.td-fame{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.td-fame a{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:inherit!important}
.td-fame img{width:56px;height:56px;border-radius:50%;object-fit:cover}
.td-fame span{display:flex;flex-direction:column}
@media (max-width:640px){
  .td-grid{grid-template-columns:1fr;gap:20px}
  .td-card-photo{aspect-ratio:auto;height:min(78vw,62svh)}
  .td-card{border-radius:20px}
  .td-card-body{padding:10px 12px 12px}
  .td-card h3{font-size:20px}
  .td-card-body{padding:14px 16px 14px}
  .td-card-body>p{display:none}
  .td-vote{min-height:44px;font-size:15px}
  .td-lead{border-radius:24px;padding:22px 12px 26px;margin-bottom:32px}
  .td-sheet{width:100vw;max-width:100vw;margin:auto 0 0;max-height:94vh;border-radius:28px 28px 0 0}
  .td-sheet[open]{animation:td-sheet .38s var(--ease-smooth-out,ease)}
}
@keyframes td-sheet{from{transform:translateY(40%)}}
@media (prefers-reduced-motion:reduce){.td-card,.td-sheet[open],.td-count.is-bump{animation:none}.td-live i{animation:none}}
.td-sheet,.td-share-panel,.td-toast{font-family:Inter,system-ui,sans-serif;color:#0a0a0a}
.td-sheet h2,.td-share-panel h2{font-family:Quicksand,sans-serif;font-weight:700}
.td-toast{color:#fff}
@media (min-width:641px){.td-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
@media (min-width:1000px){.td-app .shell{max-width:1200px}.td-grid{gap:32px}}

.topdog-dog.is-custom img{object-fit:contain;height:auto;border-radius:28px;box-shadow:0 24px 50px -24px rgba(0,60,70,.45);border:5px solid #fff;background:#fff}
.td-preview-bar{position:sticky;top:0;z-index:60;margin:0;padding:10px 16px;text-align:center;font:600 14px/1.3 Inter,sans-serif;background:#0a0a0a;color:#fff}
.td-last-winner{display:inline-flex;align-items:center;gap:12px;margin-top:18px;padding:10px 18px 10px 10px;border-radius:999px;background:#fff;box-shadow:0 8px 24px -12px rgba(0,0,0,.25);text-decoration:none;color:inherit;text-align:left}
.td-last-winner img{width:56px;height:56px;border-radius:50%;object-fit:cover}
.td-last-winner span{display:grid;font-size:14px;line-height:1.25}
.td-last-winner small{color:#008DA5;font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.td-last-winner b{font-size:16px}

/* Month theme pill + ended-contest card for older dog links */
.td-theme{display:inline-flex;align-items:center;margin:10px auto 0;padding:6px 14px;border-radius:999px;background:rgba(0,141,165,.1);border:1px solid rgba(0,141,165,.28);color:#006d80;font-weight:700;font-size:.86rem;letter-spacing:.02em}
.td-past{display:flex;gap:16px;align-items:center;margin:0 0 28px;padding:16px;border-radius:22px;background:#fff;border:1px solid rgba(0,141,165,.22);box-shadow:0 14px 36px -20px rgba(10,30,40,.35)}
.td-past-img{flex:0 0 88px;width:88px;height:88px;border-radius:18px;overflow:hidden;background:#eef8fa}
.td-past-img img{width:100%;height:100%;object-fit:cover}
.td-past-body h2{margin:2px 0 2px;font-size:1.35rem}
.td-past-body p{margin:0;color:#4b5a61}
.td-past-body .td-eyebrow{color:#006d80;font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.06em}
.doggyfide-root .td-past-cta,.td-past-cta{display:inline-flex;margin-top:10px;padding:10px 18px;border-radius:999px;background:#008DA5;color:#fff;font-weight:700;text-decoration:none}
.doggyfide-root .td-past-cta.is-quiet,.td-past-cta.is-quiet{background:transparent;color:#006d80;padding:0}
@media (max-width:480px){.td-past{gap:12px;padding:14px}.td-past-img{flex-basis:72px;width:72px;height:72px}.td-past-cta{padding:9px 14px;font-size:.9rem;white-space:nowrap}}

/* Prize stack, details pop-over, rules */
.td-prize-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.td-prize-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#ffffff14;border:1px solid #5fd6e655;color:#fff;font-size:13px;font-weight:600;line-height:1.2}
.td-prize-chip b{color:#5fd6e6;font-weight:800}
.td-prize-info,.td-rules-link{all:unset;cursor:pointer;display:inline-block;margin-top:8px;font-weight:700;font-size:14px;color:#5fd6e6;text-decoration:underline;text-underline-offset:3px}
.td-rules-link{color:#00708a;margin-top:4px}
.td-prize-info:focus-visible,.td-rules-link:focus-visible{outline:3px solid var(--aqua);outline-offset:3px;border-radius:4px}
.td-pop ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.td-pop li{display:grid;gap:4px}
.td-pop li span,.td-rules p,.td-rules-std{color:#2a3a3e;line-height:1.55;margin:0 0 10px}
.td-rules-std{font-size:14px;color:#4a5a5e;border-top:1px solid #e3eef0;padding-top:12px;margin-top:6px}
.td-pop .td-panel-in{max-height:80vh;overflow:auto}
.doggyfide-root .topdog-prize:has(.td-prize-chips,.td-prize-info){border-radius:28px}

/* Whole photo, never cropped: contain over a soft blurred copy */
.td-card-photo,.td-sheet-photo{position:relative;isolation:isolate}
.td-card-photo{aspect-ratio:1/1}
.td-card-photo::before,.td-sheet-photo::before{content:"";position:absolute;inset:-24px;z-index:-1;background:var(--td-bg) center/cover no-repeat;filter:blur(22px) saturate(1.1);opacity:.55}
.td-card-photo img,.td-sheet-photo img{object-fit:contain;object-position:50% 50%}
.td-sheet-photo{aspect-ratio:auto;height:min(62vh,560px);max-height:none;display:flex;align-items:center;justify-content:center}
.td-sheet-photo img{width:100%;height:100%;margin:0 auto}
.td-card-owner{margin:-2px 0 4px;font-size:13px;font-weight:600;color:#00708a}
.td-grid .td-card[hidden]{display:none}
.td-search{max-width:520px;margin:0 auto 26px;text-align:center}
.td-search-field{position:relative;display:flex;align-items:center;background:#fff;border:1.5px solid #d6ecef;border-radius:999px;padding:0 16px;box-shadow:0 14px 34px -22px rgba(0,60,70,.45);transition:border-color .2s,box-shadow .2s}
.td-search-field:focus-within{border-color:#00708a;box-shadow:0 0 0 4px #5fd6e633,0 14px 34px -22px rgba(0,60,70,.45)}
.td-search-field svg{width:20px;height:20px;color:#00708a;flex:none}
.td-search-field input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;padding:14px 10px;color:#102a2e}
.td-search-field input::-webkit-search-cancel-button{display:none}
.td-search-clear{all:unset;cursor:pointer;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:20px;color:#4a5a5e;background:#eef7f8}
.td-search-count{margin:10px 0 0;font-size:14px;color:#4a5a5e;min-height:1em}
.td-search-reset{all:unset;cursor:pointer;color:#00708a;font-weight:700;text-decoration:underline}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.doggyfide-root .topdog-prize[hidden]{display:none}

/* Prize ladder: centered, 1st on top, 2nd/3rd split below */
.doggyfide-root .topdog-prize{flex-direction:column!important;align-items:center;text-align:center;gap:8px;padding:18px 28px 18px!important;border-radius:28px!important;width:min(100%,460px)!important;box-sizing:border-box}
.doggyfide-root .topdog-prize .topdog-prize-icon{width:40px;height:40px}
.doggyfide-root .topdog-prize .topdog-prize-icon svg{width:22px;height:22px}
.doggyfide-root .topdog-prize-text{align-items:center;gap:4px}
.doggyfide-root .topdog-prize strong{font-size:1.5rem;line-height:1.2}
.doggyfide-root .td-prize-chips{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:0;margin-top:10px;padding-top:12px;border-top:1px solid #ffffff22;width:100%}
.doggyfide-root .td-prize-chip{all:unset;display:flex;flex-direction:column;align-items:center;gap:2px;padding:0 12px;color:#fff;font-size:14px;font-weight:600;line-height:1.25}
.doggyfide-root .td-prize-chip+.td-prize-chip{border-left:1px solid #ffffff22}
.doggyfide-root .td-prize-chip b{color:#5fd6e6;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:800}
.doggyfide-root .td-prize-info{margin-top:10px}
@media (max-width:600px){.doggyfide-root .topdog-prize strong{font-size:1.25rem}.doggyfide-root .topdog-prize{padding:16px 18px!important}}
@media (max-width:340px){.doggyfide-root .td-prize-chip+.td-prize-chip{border-left:0;border-top:1px solid #ffffff22;padding-top:10px;margin-top:10px}}
.doggyfide-root .topdog-prize-text,.doggyfide-root [data-td-more-prizes]{width:100%;display:flex;flex-direction:column;align-items:center}

.td-card{position:relative}
.td-card.is-mine{box-shadow:0 0 0 3px #00708a,0 12px 30px rgba(0,112,138,.18)}
.td-mine-tag{position:absolute;top:10px;left:10px;z-index:2;padding:4px 10px;border-radius:999px;background:#00708a;color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em;pointer-events:none}
.td-vote.is-pop{animation:td-pop .45s ease-out}
@keyframes td-pop{0%{transform:scale(1)}40%{transform:scale(1.08)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.td-vote.is-pop{animation:none}}
.td-vote.is-voted,.td-vote.is-voted:disabled{opacity:1;background:#00708a;color:#fff}

.td-notice{margin:0 auto 20px;max-width:640px;padding:12px 18px;border-radius:16px;background:#fff6e5;color:#6b4a00;font-weight:600;text-align:center;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.td-notice.is-next{background:#e6f5f8;color:#00566a}
html.td-pending .topdog-dog img,html.td-pending .topdog-prize{opacity:0}
.topdog-dog img,.topdog-prize{transition:opacity .35s ease}
/* Centered notes + square podium frames that any photo shape can't stretch */
.td-notice{display:block;width:fit-content;max-width:min(640px,100%);margin-inline:auto;box-sizing:border-box}
.td-pod{flex:0 0 auto;max-width:none;width:clamp(96px,28vw,150px)}
.td-pod-1{width:clamp(136px,40vw,200px)}
.td-pod-img{width:100%;height:auto;aspect-ratio:1;padding:0;overflow:visible;border-radius:22%;box-sizing:border-box}
.td-pod-img img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:cover;object-position:center;border-radius:calc(22% - 2px)}
.td-pod-name,.td-pod-votes{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-notice{align-self:center;justify-self:center}
.td-pod{width:clamp(84px,24vw,150px)}
.td-pod-1{width:clamp(116px,34vw,200px)}
@media (max-width:640px){.td-pod{width:22vw}.td-pod-1{width:30vw}.td-podium{gap:10px}}
/* Detail card: fits the screen; photo yields, buttons always visible */
.td-sheet{overflow:hidden;max-height:92dvh}
.td-sheet-in{display:flex;flex-direction:column;max-height:inherit;height:100%}
.td-sheet[open] .td-sheet-in{max-height:92dvh}
.td-sheet-photo{flex:0 1 auto;height:auto;aspect-ratio:auto;min-height:30dvh;max-height:45dvh;height:45dvh}
.td-sheet-body{flex:1 1 auto;min-height:0;padding:0;gap:0;display:flex;flex-direction:column}
.td-sheet-scroll{overflow:auto;min-height:0;flex:1 1 auto;padding:18px 22px 8px;display:flex;flex-direction:column;gap:8px}
.td-sheet-foot{flex:0 0 auto;padding:10px 22px calc(8px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -10px 18px -12px #0003}
.td-sheet-actions{grid-template-columns:1.35fr 1fr;margin:0;gap:10px}
.td-sheet-actions.is-single{grid-template-columns:1fr}
.td-sheet-actions .td-vote-lg,.td-sheet-actions .td-share-btn{min-height:52px;font-size:16px;line-height:1.2;padding:6px 14px;text-align:center}
.td-sheet-foot .td-all{display:block;margin:4px auto 0;padding:6px 10px;font-size:14px}
@media (min-width:900px) and (orientation:landscape){
  .td-sheet,.td-sheet[open] .td-sheet-in{width:min(920px,94vw);max-height:88dvh}
  .td-sheet-in{display:grid;grid-template-columns:56% 44%;height:min(88dvh,640px)}
  .td-sheet-photo{height:100%;min-height:0;max-height:none}
  .td-sheet-scroll{padding:28px 26px 8px}
  .td-sheet-foot{padding:12px 26px 14px}
}
.td-sheet-actions .td-share-btn{white-space:nowrap;padding:6px 10px}.td-sheet-actions{grid-template-columns:1.25fr 1fr}

/* Compact content-sized dog sheet (2026-11-13) */
.td-sheet,.td-sheet[open] .td-sheet-in{max-height:94dvh}
.td-sheet-in{height:auto}
.td-sheet-photo{height:auto;min-height:0;max-height:55dvh;aspect-ratio:var(--td-ar,auto)}
.td-sheet-photo img{width:100%;height:auto;max-height:55dvh;object-fit:contain}
.td-sheet-scroll{flex:0 1 auto;padding:16px 20px 6px;gap:6px}
.td-sheet-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0}
.td-sheet-head h2{font-size:28px;line-height:1.1;min-width:0;overflow-wrap:anywhere}
.td-sheet-head .td-sheet-count{margin:0;flex-shrink:0;font-size:18px;color:#00708a}
.td-sheet-foot{padding:8px 20px calc(14px + env(safe-area-inset-bottom));box-shadow:none}
.td-sheet-actions{grid-template-columns:1fr 56px}
.td-sheet-actions.is-single{grid-template-columns:1fr}
.td-sheet-actions .td-vote-lg{white-space:nowrap}
.td-sheet-actions .td-share-btn{padding:0;white-space:nowrap}
.td-sheet-actions:not(.is-single) .td-share-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.td-sheet-actions .td-share-btn.is-copied{background:#00708a;color:#fff}
.td-back{margin:6px 0 0;text-align:center;font-size:13px;color:#5b6b6f}
.td-share-row{display:none}
@media (min-width:800px){
  .td-sheet,.td-sheet[open] .td-sheet-in{width:min(880px,94vw);max-height:88dvh}
  .td-sheet-in{grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr);height:auto;align-items:stretch}
  .td-sheet-photo{max-height:78dvh;min-height:380px;aspect-ratio:auto}
  .td-sheet-photo img{max-height:78dvh}
  .td-sheet-body{justify-content:center;padding:36px 0}
  .td-sheet-scroll{flex:0 1 auto;max-height:52dvh;padding:0 32px}
  .td-sheet-head{flex-direction:column;align-items:flex-start;gap:4px}
  .td-sheet-head h2{font-size:34px}
  .td-sheet-head .td-sheet-count{font-size:22px}
  .td-sheet-foot{padding:18px 32px 0}
  .td-sheet-actions{grid-template-columns:1fr auto}
  .td-sheet-actions .td-share-btn{padding:0 20px}
  .td-sheet-actions:not(.is-single) .td-share-btn span{position:static;width:auto;height:auto;clip:auto}
}
@media (min-width:800px) and (pointer:fine){
  .td-share-row{display:flex;gap:14px;margin-top:12px;font-size:13px}
  .td-share-row a{color:#4a5a5e;text-decoration:underline;text-underline-offset:3px}
  .td-share-row::before{content:"Or share to";color:#7a8a8e}
}

/* Sheet share icons (2026-11-13b) */
.td-share-row,.td-sheet-actions .td-share-btn{display:none!important}
.td-sheet-actions,.td-sheet-actions.is-single{grid-template-columns:1fr!important}
.td-share-icons{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:12px}
.td-share-lbl{font-size:13px;font-weight:700;color:#5b6b6f;margin-right:2px}
.td-si{all:unset;box-sizing:border-box;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#eaf7f8;color:#00708a;cursor:pointer;transition:background .2s,color .2s,transform .15s}
.td-si:hover{background:#d3eff2}.td-si:active{transform:scale(.92)}
.td-si:focus-visible{outline:3px solid var(--aqua);outline-offset:2px}
.td-si.is-done{background:#00708a;color:#fff}.td-si.is-busy{opacity:.55}
.td-si-note{margin:6px 0 0;min-height:16px;text-align:center;font-size:13px;color:#00708a;opacity:0;transition:opacity .2s}
.td-si-note.is-on{opacity:1}
@media (min-width:800px){.td-share-icons{justify-content:flex-start}.td-si-note{text-align:left}}

/* Share row on grid cards (same component as the detail card) */
.td-card .td-share-icons{margin-top:4px;gap:8px;flex-wrap:wrap;justify-content:center}
.td-card .td-share-lbl{display:none}
.td-card .td-si{width:40px;height:40px;background:transparent;box-shadow:inset 0 0 0 1.5px #cdebef}
.td-card .td-si:hover{background:#eaf7f8}
.td-card .td-si.is-done{background:#00708a;box-shadow:none}
.td-card .td-si svg{width:18px;height:18px}
.td-card .td-si-note{margin:0;min-height:0;height:0;overflow:visible;font-size:12px;text-align:center}
.td-card .td-si-note.is-on{height:auto;min-height:16px}
.td-card .td-vote{width:100%}

/* Vote counts: number in aqua, word neutral */
.td-n{font-weight:800;font-variant-numeric:tabular-nums}
.td-w{font-weight:500}
.td-count .td-n,.td-sheet-count .td-n{color:#00708a}
.td-count .td-w,.td-sheet-count .td-w{color:#1a2426}
.td-pod-votes .td-n{color:#5fd6e6}
.td-pod-votes .td-w{color:#ffffffb3}
.td-count.is-bump{animation:none}.td-count.is-bump .td-n{display:inline-block;animation:td-bump .5s var(--ease-bounce,ease)}
@media (max-width:340px){.td-podium{flex-direction:column;align-items:center}.td-pod{order:0!important;transform:none!important}.td-pod-1{order:-1!important}.td-pod,.td-pod-1{width:55vw}}

/* Hall of Fame strip */
.td-hof-band{background:radial-gradient(1200px 520px at 50% 0%,rgba(2,120,140,.22),transparent 70%),linear-gradient(180deg,#0b1416,#0a0a0a);color:#f4fbfc;padding:44px 0 40px!important;margin-top:56px;min-height:0!important}
.td-hof-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.td-hof-eyebrow{margin:0 0 4px;color:#5fd6e6;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.75rem}
.td-hof-head h2{margin:0;color:#fff;font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.02em}
.td-hof-arrows{display:flex;gap:8px}
.td-hof-arrows[hidden]{display:none}
.td-hof-arrows button{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:1.3rem;cursor:pointer}
.td-hof-arrows button:hover{background:rgba(95,214,230,.18)}
.td-hof-rail{list-style:none;margin:0;padding:6px 2px 10px;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.td-hof-rail::-webkit-scrollbar{display:none}
.td-hof-rail li{flex:0 0 170px;scroll-snap-align:start}
.td-hof-rail li.is-spot{flex:0 0 min(440px,86vw)}
.td-hof-rail a{display:block;text-decoration:none!important;color:inherit!important;transition:transform .25s ease}
.td-hof-rail li:not(.is-spot) a:hover{transform:translateY(-4px)}
.is-spot a{display:flex;gap:18px;align-items:center;padding:12px;border-radius:22px;background:rgba(95,214,230,.06);border:1px solid rgba(95,214,230,.25)}
.td-hof-photo,.td-hof-card-img{position:relative;display:block;overflow:hidden;background:#0a1416}
.td-hof-photo{flex:0 0 auto;width:clamp(120px,30vw,200px);aspect-ratio:1;border-radius:16px;box-shadow:0 0 0 2px #00afc4,0 16px 40px -14px rgba(0,175,196,.55)}
.td-hof-card-img{aspect-ratio:3/4;border-radius:14px;border:1px solid rgba(255,255,255,.12)}
.td-hof-photo::before,.td-hof-card-img::before{content:"";position:absolute;inset:-20px;background:var(--td-bg) center/cover;filter:blur(16px) brightness(.55)}
.td-hof-photo img,.td-hof-card-img img{position:relative;width:100%;height:100%;object-fit:contain;display:block}
.td-hof-photo i{position:absolute;top:8px;left:8px;width:30px;height:30px;border-radius:50%;background:#00afc4;color:#0a0a0a;display:grid;place-items:center}
.td-hof-photo i svg{width:17px;height:17px}
.td-hof-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.td-hof-info small{color:#5fd6e6;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem}
.td-hof-info em{font-style:normal;color:rgba(244,251,252,.75);font-size:.9rem}
.td-hof-info strong{font-size:clamp(1.5rem,4vw,2.2rem);line-height:1.05;color:#fff;letter-spacing:-.02em;overflow-wrap:anywhere}
.td-hof-votes .td-n{color:#5fd6e6}.td-hof-votes .td-w{color:rgba(244,251,252,.85)}
.td-hof-cta{margin-top:8px;font-weight:700;font-size:.9rem;color:#fff;border-bottom:2px solid #00afc4;align-self:flex-start}
.td-hof-card-txt{display:flex;flex-direction:column;padding:8px 2px 0}
.td-hof-card-txt small{color:#5fd6e6;font-weight:700;font-size:.8rem}.td-hof-card-txt b{color:#fff}
.td-hof-empty{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 20px;border-radius:18px;border:1px solid rgba(95,214,230,.25);background:rgba(95,214,230,.06)}
.td-hof-empty p{margin:0;color:rgba(244,251,252,.85)}.td-hof-empty b{color:#fff}
.td-steps{list-style:none;display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:0 auto 26px;padding:0;position:relative}
.td-steps li{display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.9);font-size:.92rem}
.td-steps li span{width:22px;height:22px;border-radius:50%;background:#00afc4;color:#0a0a0a;display:grid;place-items:center;font-weight:700;font-size:.78rem}
.td-rules-std{margin:0 0 12px;padding-left:1.2em;line-height:1.6}
@media (max-width:640px){.td-hof-band{padding:32px 0 28px!important;margin-top:40px}.td-hof-rail li{flex-basis:140px}}
@media (prefers-reduced-motion:reduce){.td-hof-rail a{transition:none}}
/* Vote toast: fixed width so it never shrink-wraps to half the screen */
.td-toast{width:min(560px,calc(100vw - 24px));justify-content:space-between;line-height:1.35;border:1px solid #5fd6e633;box-shadow:0 16px 40px #0006,0 0 24px #5fd6e622}
.td-toast>span{flex:1;min-width:0;font-size:15px}
@media (max-width:640px){.td-toast{border-radius:20px;padding:14px 14px 14px 18px}}
@media (max-width:360px){.td-toast{flex-direction:column;align-items:stretch;gap:10px}.td-toast button{justify-content:center}}
a.td-vote{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
