/* TdO Reborn — mobile adaptation, iPhone 15 Pro (393 CSS px), SE and tablets.
   Desktop intentionally untouched. */
.tdo-mobile-menu{display:none}
/* WoW Forever launch countdown — at the very top of the TN hub. */
.tn-page .tn-launch{position:absolute;z-index:35;top:112px;right:4%;left:auto;transform:none;width:min(410px,30vw);isolation:isolate;background:#131d26;border:1px solid #a27b42;border-radius:9px;padding:9px 12px;color:#f1d59a;box-shadow:0 7px 18px rgba(0,0,0,.38)}
@media(min-width:691px){.tn-page .tn-launch__inner{flex-direction:column;align-items:center;gap:5px;text-align:center}.tn-page .tn-launch__heading{flex:none}.tn-page .tn-launch__heading h2{font-size:15px;margin-bottom:2px}.tn-page .tn-launch__heading p{font-size:10px}.tn-page .tn-launch__eyebrow{font-size:8px;margin-bottom:3px;letter-spacing:.08em}.tn-page .tn-launch__clock{flex:none;width:100%;gap:5px}.tn-page .tn-launch__unit{padding:4px 3px}.tn-page .tn-launch__unit strong{font-size:19px}.tn-page .tn-launch__unit span{font-size:7px;margin-top:1px}}
.tn-page{position:relative}
@media(max-width:690px){.tn-page .tn-launch{position:relative;top:auto;left:auto;transform:none;width:100%;border-radius:0;box-shadow:none}}
.tn-launch__inner{max-width:1160px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;flex-wrap:wrap}
.tn-launch__heading{flex:1 1 340px}
.tn-launch__eyebrow{display:block;color:#d9ad58;font-size:10px;letter-spacing:.19em;font-weight:700;margin-bottom:8px}
.tn-launch__heading h2{color:#f1d59a;font-size:clamp(19px,2.2vw,27px);line-height:1.2;margin:0 0 7px;font-family:Georgia,serif}
.tn-launch__heading p{color:#d5c5a7;font-size:12px;margin:0}
.tn-launch__clock{display:grid;grid-template-columns:repeat(4,minmax(65px,1fr));gap:8px;flex:0 1 380px}
.tn-launch__unit{background:#392a19;border:1px solid #92703c;border-radius:6px;padding:9px 8px 7px;text-align:center;min-width:0;box-shadow:0 3px 12px #0003}
.tn-launch__unit strong{display:block;color:#f1d59a;font-size:clamp(21px,2.7vw,32px);line-height:1.2;font-variant-numeric:tabular-nums}
.tn-launch__unit span{display:block;color:#cdb78c;font-size:9px;letter-spacing:.1em;margin-top:4px}
.tn-launch__open{width:100%;color:#f1d59a;font-weight:700;text-align:center;margin:5px 0 0}
.tn-launch__open[hidden]{display:none!important}
.tn-launch--opened .tn-launch__clock{display:none}
@media(max-width:690px){.tn-page .tn-launch{padding:19px 15px 21px}.tn-launch__inner{gap:16px}.tn-launch__heading{text-align:center;flex-basis:100%}.tn-launch__clock{flex:1 1 100%;gap:6px}.tn-launch__unit{padding:10px 4px 8px}.tn-launch__unit strong{font-size:25px}.tn-launch__unit span{font-size:8px}.tn-launch__eyebrow{font-size:9px;letter-spacing:.11em}}
/* Community-wide view counter. */
.tdo-visits__number{display:block!important;color:#e4c57d!important;font-size:clamp(19px,2vw,26px)!important;font-weight:600!important;letter-spacing:.09em!important;font-variant-numeric:tabular-nums;line-height:1.3;margin-top:7px!important}
.tdo-visits strong{color:#d9c28d}
@media(max-width:900px){.tdo-visits__number{font-size:24px!important}}
/* Release indicator — TdO, TN and RDE share one version. */
.tdo-version-heading{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.tdo-version-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b99a59;border-radius:4px;padding:3px 8px;color:#e4c57d!important;font-size:10px;line-height:1.3;letter-spacing:.035em;text-decoration:none!important;background:#071827;white-space:nowrap}
.tdo-version-badge:hover,.tdo-version-badge:focus-visible{background:#26394b;border-color:#e4c57d}
.tdo-version-status{font-size:10px;color:#a9b9c9;margin-top:6px}
.tdo-release-notes{display:none;background:#071827;color:#dce7f1;border-top:1px solid #b99a5966;padding:26px 22px}
.tdo-release-notes:target{display:block}
.tdo-release-notes__inner{max-width:1080px;margin:auto}
.tdo-release-notes__top{display:flex;justify-content:space-between;gap:15px;color:#e4c57d;font-size:11px;letter-spacing:.14em}
.tdo-release-notes__top a{color:#e4c57d}
.tdo-release-notes h2{color:#f0d9a5;font-size:24px;margin:18px 0 8px}
.tdo-release-notes h2 span{font-size:16px;color:#e4c57d}
.tdo-release-notes p,.tdo-release-notes li{font-size:14px;line-height:1.7}
.tdo-release-notes ul{padding-left:21px;margin:15px 0}
.tdo-release-notes li{margin-bottom:8px}
.tdo-release-notes__hint{color:#a9b9c9}
@media(max-width:900px){
 html{overflow-x:clip}
 body.tdo-site{overflow-x:clip;-webkit-text-size-adjust:100%}
 body.tdo-site img,body.tdo-site video,body.tdo-site iframe{max-width:100%}
 body.tdo-site .prose img,body.tdo-site .tdo-world-article--wow img,body.tdo-site .tdo-world-article--sc img{height:auto}
 body.tdo-site main,body.tdo-site section,body.tdo-site article,body.tdo-site .tdo-meta-container{min-width:0}
 body.tdo-site h1,body.tdo-site h2,body.tdo-site h3{overflow-wrap:break-word}
 body.tdo-site p,body.tdo-site li{overflow-wrap:break-word}
 .tdo-header{position:relative!important;top:auto!important;height:96px!important;min-height:96px;z-index:160!important;background:#061522!important}
 .tdo-nav{height:96px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 65px 8px 12px!important;gap:0!important}
 .tdo-nav__side{display:none!important}
 .tdo-brand{position:static!important;transform:none!important;width:auto!important;min-width:0!important;max-width:calc(100% - 5px)!important;display:flex!important;flex-direction:row!important;gap:9px!important;justify-content:center!important;align-items:center!important}
 .tdo-brand__crest-wrap{width:64px!important;height:64px!important;margin:0!important;flex:0 0 64px!important}
 .tdo-brand__crest{width:100%!important;height:100%!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important}
 .tdo-brand__text{display:flex!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;line-height:1.2!important}
 .tdo-brand__text strong{font-size:clamp(10px,2.8vw,15px)!important;white-space:normal!important;letter-spacing:.025em!important}
 .tdo-brand__text em{font-size:11px!important;letter-spacing:.18em!important}
 .tdo-mobile-menu{display:block;position:absolute;right:10px;top:23px;z-index:190}
 .tdo-mobile-menu summary{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:1px;width:54px;min-height:50px;border:1px solid #b99656;border-radius:8px;background:#0e2c40;color:#f0d18b;list-style:none;cursor:pointer;font:700 10px/1.3 "Source Sans 3",sans-serif;letter-spacing:.08em}
 .tdo-mobile-menu summary::-webkit-details-marker{display:none}
 .tdo-mobile-menu summary span:first-child{font-size:23px;line-height:1}
 .tdo-mobile-menu[open] summary{background:#1b4056}
 .tdo-mobile-menu__links{position:absolute;top:57px;right:0;width:min(320px,calc(100vw - 20px));max-height:min(72vh,590px);overflow-y:auto;display:flex;flex-direction:column;padding:9px;background:#061c2b;border:1px solid #b99656;border-radius:10px;box-shadow:0 20px 50px #000b}
 .tdo-mobile-menu__links a{display:flex;align-items:center;min-height:46px;padding:11px 15px;color:#f0e6d5!important;border-bottom:1px solid #ffffff18;font-size:15px;letter-spacing:.025em;text-decoration:none}
 .tdo-mobile-menu__links a:last-child{border-bottom:0}
 .tdo-mobile-menu__links a:focus-visible,.tdo-mobile-menu summary:focus-visible{outline:2px solid #f0d18b;outline-offset:2px}
 .tdo-share-rail{right:7px!important;top:auto!important;bottom:calc(10px + env(safe-area-inset-bottom,0px))!important;transform:none!important;gap:5px!important;z-index:125!important}
 .tdo-share-button{width:35px!important;height:35px!important;border-radius:9px!important}
 .tdo-share-button svg{width:17px!important;height:17px!important}
 .tdo-share-button--copy{font-size:9px!important}
 .tdo-footer__inner{grid-template-columns:1fr!important;padding:14px 18px!important}
 .tdo-footer__brand,.tdo-footer__item,.tdo-footer__motto{border-right:0!important;border-bottom:1px solid #d5a62a30!important;padding:14px 8px!important}
 .tdo-footer__brand strong{font-size:14px!important}
 /* Long-form content and landing pages */
 .tdo-worlds-page,.tdo-wow-story,.tdo-meta,.tdo-pub-wrap,.tdo-rules-page,.tdo-community-page{padding-top:36px!important}
 body.single-post:has(.tdo-world-article--sc) main>article{padding-top:42px!important}
/* Articoli TdO/RDE: evita lo spazio vuoto sotto l'header fisso sui telefoni. */
body.single-post:has(.tdo-return-article) main>article{padding-top:42px!important}
 .tdo-worlds-intro h1,.tdo-wow-story h1{font-size:clamp(26px,7vw,38px)!important}
 .tdo-worlds-pair{grid-template-columns:1fr!important}
 .tdo-world-tile{min-height:250px!important}
 .tdo-world-article--sc,.tdo-world-article--wow{font-size:16px!important;line-height:1.75!important}
 .tdo-world-article--sc h2,.tdo-world-article--wow h2{font-size:1.3rem!important}
 .tdo-pub-wrap{padding-left:15px!important;padding-right:15px!important}
 .tdo-pub-row{grid-template-columns:1fr auto!important;gap:5px 12px!important}
 .tdo-pub-description{grid-column:1/-1!important}
 .tdo-meta-container{width:calc(100% - 28px)!important}
 .tdo-meta-grid,.tdo-lit-list,.tdo-lit-layout,.tdo-lit-placeholder{grid-template-columns:1fr!important}
 .tdo-lit-aside{position:static!important;max-height:none!important}
 .tdo-lit-paper{padding:25px 19px!important}
 .tdo-lit-facts{grid-template-columns:1fr!important}
 .tdo-lit-toolbar{flex-direction:column!important;align-items:stretch!important}
 .tdo-lit-search,.tdo-lit-filter-wrap,.tdo-lit-filter{width:100%!important;min-width:0!important}
 .tdo-nerd-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))!important}
 .tdo-nerd-card{max-width:none!important}
 .tdo-nerd-dialog{width:calc(100vw - 18px)!important;max-height:90dvh!important;padding:12px!important}
 .tdo-nerd-dialog figure img{max-height:58dvh!important}
 .tdo-nerd-nav button{min-height:44px!important}
 /* RDE: maintain its tricolour, but use a real compact mobile header. */
 body.tdo-site:has(.rde-home) .tdo-header{position:relative!important;top:auto!important;height:96px!important}
 body.tdo-site:has(.rde-home) .tdo-nav{height:96px!important;padding:8px 65px 8px 12px!important}
 body.tdo-site:has(.rde-home) .tdo-brand{position:static!important;left:auto!important;top:auto!important;transform:none!important;max-width:calc(100% - 5px)!important}
 body.tdo-site:has(.rde-home) .tdo-brand__crest-wrap{width:64px!important;height:64px!important;flex-basis:64px!important}
 body.tdo-site:has(.rde-home) .tdo-brand__crest{width:64px!important;height:64px!important}
 body.tdo-site:has(.rde-home) .tdo-brand__text strong{font-size:12px!important;white-space:normal!important}
 body.tdo-site:has(.rde-home) .tdo-brand__text em{font-size:11px!important}
 body.tdo-site:has(.rde-home) .rde-hero{padding-top:25px!important;min-height:0!important}
 .rde-home .rde-wrap{width:calc(100% - 28px)!important}
 .rde-home .rde-headingline{flex-wrap:wrap!important}
 .rde-home .rde-section-title{letter-spacing:.07em!important}
 .rde-home .rde-organization{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important;margin:12px auto!important;white-space:normal!important}
 .rde-home .rde-hero__logo{transform:none!important;max-height:220px!important}
 .rde-home .rde-logowrap{min-height:220px!important}
 /* RDE: content, media, fleet and crew */
 .rde-home,.rde-home.rde-subpage{max-width:100%!important;overflow-x:clip!important}
 .rde-home .rde-shell,.rde-home .rde-container{max-width:100%!important}
 .rde-home .rde-archive__grid,.rde-home .rde-flotta-grid{grid-template-columns:1fr!important}
 .rde-home .rde-pilotgrid>.rde-pilot{flex-basis:calc((100% - 9px)/2)!important}
 .rde-home .rde-pilotarrow--prev{left:0!important}.rde-home .rde-pilotarrow--next{right:0!important}
 .rde-home .rde-archive__filters{gap:7px!important}
 .rde-home .rde-archive__filters a{min-height:44px!important;display:inline-flex!important;align-items:center!important}
 /* TN: keep the WoW emblem and guild title inside the first mobile screen. */
 .tn-hero{min-height:630px!important}
 .tn-hero__inner{min-height:630px!important;padding-top:265px!important;padding-bottom:38px!important}
 .tn-hero__game{top:45px!important;left:50%!important;transform:translateX(-50%)!important;width:min(290px,75vw)!important}
 .tn-hero__guild{gap:12px!important}
 .tn-guild-emblem{width:82px!important;height:82px!important}
 .tn-chronicles{padding-top:70px!important;min-height:0!important}
 .tn-hero__copy h1{line-height:1.08!important}
 /* TN history: mobile-only opaque reading surface, clear of illustrated backdrop. */
 .tn-story{background-position:center top!important;background-size:auto 100%!important;padding:30px 0 50px!important}
 .tn-story::before{content:"";position:absolute;inset:0;background:rgba(248,226,176,.79);pointer-events:none;z-index:0}
 .tn-story__grid{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:22px!important;min-height:0!important;position:relative;z-index:2}
 .tn-story__intro{padding:16px 17px!important;margin:0!important;background:rgba(255,240,203,.94)!important;border:1px solid rgba(112,72,13,.35)!important;border-radius:10px!important;box-shadow:0 5px 18px #3d270b30}
 .tn-story__intro h2{font-size:clamp(25px,7vw,34px)!important;line-height:1.15!important;color:#322313!important;text-shadow:none!important}
 .tn-story__intro p,.tn-story__intro .tn-eyebrow{color:#332719!important;text-shadow:none!important}
 .tn-story__intro .tn-btn{width:100%!important;margin-top:12px!important}
 .tn-story__wow-logo{position:relative!important;top:auto!important;left:auto!important;display:block!important;width:84px!important;max-width:84px!important;height:auto!important;margin:14px auto 12px!important;z-index:2}
 .tn-timeline{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:0 0 0 26px!important;min-width:0!important}
 .tn-timeline__line{top:12px!important;bottom:15px!important;left:9px!important;right:auto!important;width:3px!important;height:auto!important;background:#976a20!important}
 .tn-milestone{padding:12px 14px 13px 17px!important;background:rgba(255,241,209,.96)!important;border:1px solid rgba(126,83,25,.32)!important;border-radius:9px!important;box-shadow:0 4px 12px #50330f24;color:#302317!important}
 .tn-milestone__dot{left:-26px!important;top:17px!important;background:#f1c759!important;border-color:#70480d!important}
 .tn-milestone strong,.tn-milestone h3,.tn-milestone p{color:#302317!important;text-shadow:none!important}
 .tn-milestone strong{font-size:19px!important}
 .tn-milestone h3{font-size:18px!important;line-height:1.3!important;margin:5px 0!important}
 .tn-milestone p{font-size:15px!important;line-height:1.55!important;margin:6px 0 0!important}
 .tn-story__wow-logo{max-width:84px!important}
 /* TN: readability, buttons and images */
 .tn-shell{width:calc(100% - 28px)!important}
 .tn-hero__inner{grid-template-columns:1fr!important}
 .tn-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 .tn-btn{width:100%!important;min-height:44px!important}
 .tn-article-grid,.tn-story__grid,.tn-media-row,.tn-video-row{grid-template-columns:1fr!important}
 .tn-shot-grid,.tn-gallery{grid-template-columns:1fr!important}
 .tn-shot:first-child{grid-column:auto!important}
 .tn-recruit__badge{max-width:100%!important}
 .tn-media-row__visual,.tn-video-row__thumb{min-height:180px!important}
}
@media(max-width:430px){
 .tdo-header,.tdo-nav{height:88px!important;min-height:88px!important}
 .tdo-nav{padding-right:62px!important}
 .tdo-brand__crest-wrap{width:54px!important;height:54px!important;flex-basis:54px!important}
 .tdo-brand__crest{max-width:54px!important;max-height:54px!important}
 .tdo-brand__text strong{font-size:11px!important}
 .tdo-mobile-menu{top:19px!important}
 .tdo-hero{min-height:500px!important}
 .tdo-worlds{padding:12px!important}
 .tdo-card{min-height:225px!important}
 .rde-home .rde-flotta-heading h1{font-size:26px!important;letter-spacing:.08em!important}
 .tn-hero__copy h1{font-size:clamp(32px,10vw,44px)!important}
}

/* Mobile refinement audit 24/10/2026 — keep desktop and established artwork intact. */
@media(max-width:900px){
 body.tdo-site{width:100%;max-width:100%;overflow-wrap:anywhere}
 body.tdo-site .tdo-hero__image,body.tdo-site .tdo-hero__logo,body.tdo-site .tdo-brand__crest{object-fit:contain}
 body.tdo-site .tdo-hero__image{object-fit:cover}
 body.tdo-site .tn-article-single__content{font-size:16px;line-height:1.8}
 body.tdo-site .tn-article-single__content h2,body.tdo-site .tn-article-single__content h3{line-height:1.35;overflow-wrap:break-word}
 body.tdo-site .tn-article-single__content p{margin-bottom:1.1em}
 body.tdo-site .tn-article-single__content iframe,body.tdo-site .tdo-youtube-slot,body.tdo-site .tdo-audio-embed iframe{width:100%;max-width:100%;aspect-ratio:16/9;height:auto}
 body.tdo-site .tdo-youtube-slot{min-height:0}
 body.tdo-site .tn-shot-dialog,body.tdo-site .rde-lightbox,body.tdo-site dialog{max-width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}
 body.tdo-site .tn-shot-dialog img,body.tdo-site .rde-lightbox img{max-height:75dvh;object-fit:contain}
 body.tdo-site .tdo-mobile-menu__links{overscroll-behavior:contain;max-height:min(70dvh,600px)}
 body.tdo-site .tdo-mobile-menu__links a,body.tdo-site .tn-btn,body.tdo-site .rde-archive__filters a{min-height:44px}
 body.tdo-site .tdo-contact-page__cards{grid-template-columns:1fr}
 body.tdo-site .tdo-contact-page__card{min-width:0}
 body.tdo-site .tdo-community-page img,body.tdo-site .tdo-pub-wrap img,body.tdo-site .tn-article-single__content img{max-width:100%;height:auto}
}
@media(max-width:430px){
 body.tdo-site .tdo-nav{justify-content:flex-start!important;padding-left:10px!important}
 body.tdo-site .tdo-brand{gap:7px!important}
 body.tdo-site .tdo-brand__text strong{font-size:clamp(10px,2.8vw,12px)!important}
 body.tdo-site .tdo-brand__text em{font-size:10px!important}
 body.tdo-site .tn-article-single{padding:28px 0 45px}
 body.tdo-site .tn-article-single__content{font-size:16px}
 body.tdo-site .tdo-contact-page{padding:32px 14px 60px}
 body.tdo-site .tdo-contact-page__card{padding:23px 18px}
}

/* WPVibe draft preview banner: compact and usable on narrow phones. */
@media(max-width:900px){
 #wpvibe-preview-banner{box-sizing:border-box!important;width:100%!important;max-width:100vw!important;min-height:0!important;height:auto!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:9px 12px!important;overflow:visible!important}
 #wpvibe-preview-banner .wpvibe-badge{flex:0 1 auto!important;min-width:0!important;width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;font-size:12px!important;line-height:1.3!important}
 #wpvibe-preview-banner .wpvibe-info{display:none!important}
 #wpvibe-preview-banner .wpvibe-btn{flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;font-size:12px!important;line-height:1.3!important;padding:8px 10px!important;margin:0!important}
}
@media(max-width:430px){
 #wpvibe-preview-banner{gap:6px!important;padding:7px 8px!important}
 #wpvibe-preview-banner .wpvibe-badge{font-size:11px!important}
 #wpvibe-preview-banner .wpvibe-btn{font-size:11px!important;padding:7px 8px!important}
}
@media(prefers-reduced-motion:reduce){.tdo-site *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
