/* Torre Infinita V0.8 — horizontal mobile */
.ti08-orientation-button{display:none;align-items:center;justify-content:center;min-height:35px;
 border:1px solid #af8dc6;border-radius:10px;padding:6px 9px;background:#352345;color:#fbe7c3;
 font-size:11px;font-weight:800;white-space:nowrap}
#ti08-orientation-message{position:fixed;z-index:11500;left:50%;bottom:max(15px,env(safe-area-inset-bottom));
 transform:translateX(-50%);max-width:91vw;min-width:min(270px,91vw);text-align:center;
 border:1px solid #c9a279;border-radius:11px;background:#23172eea;color:#f5dfc7;
 box-shadow:0 10px 25px #04030bc4;padding:11px;font-size:12px;pointer-events:none}
#ti08-orientation-message[hidden]{display:none!important}
.ti08-turn-hint{display:none;position:absolute;z-index:100;left:50%;top:65px;transform:translateX(-50%);
 background:#21162ae9;border:1px solid #bea0bd;border-radius:9px;padding:6px;
 align-items:center;gap:6px;box-shadow:0 12px 25px #090415b9;color:#f4e3cf;font-size:11px}
.ti08-turn-hint button{display:inline-flex;padding:5px 8px;min-height:29px;font-size:10px}
.ti08-turn-hint .ti08-dismiss{min-width:26px}
.ti08-member-hp{height:5px;background:#633a46;display:block;overflow:hidden;width:88%;
 border-radius:8px;margin-top:3px}
.ti08-member-hp i{height:100%;display:block;background:linear-gradient(90deg,#5cb67a,#b6e4a6);
 transition:width .23s ease}
.ti08-live-battle .ti07-battle-team button.is-dead{filter:grayscale(1);opacity:.5}
.ti08-empty{padding:16px 7px;border:1px solid #695c79;border-radius:12px;
 background:#28203a;color:#eadaca;font-size:12px}
.ti07-notification-drawer{margin-top:14px;border:1px solid #67577c;border-radius:11px;
 background:#211d36;overflow:hidden}
.ti07-notification-drawer>summary{padding:9px;color:#f0cf91;font-size:12px;font-weight:800;cursor:pointer}
#ti07-root .ti07-notification-drawer .v065-notification-panel{margin:0;padding:9px;border:0;border-top:1px solid #67577c;border-radius:0}
#ti07-root .ti07-notification-drawer .v065-notification-panel .eyebrow,
#ti07-root .ti07-notification-drawer .v065-notification-panel h3{display:none}
#ti07-root .ti07-notification-drawer .v065-notification-list{max-height:180px;margin:0 0 8px}
#ti07-root .ti07-notification-drawer .v065-notification-panel .row{gap:5px;margin:6px 0 0}
#ti07-root .ti07-notification-drawer .v065-notification-panel .row button{min-height:31px;padding:5px;font-size:10px}
.ti08-guild-actions{display:flex;justify-content:space-evenly;gap:6px}
.ti08-guild-actions button{padding:8px 10px;min-height:34px;white-space:nowrap;flex:1}
@media(pointer:coarse) and (max-width:1200px){
 .ti08-orientation-button{display:inline-flex}
 .top{flex-wrap:wrap}
}
@media(pointer:coarse) and (orientation:portrait) and (max-width:750px){
 #ti07-root .ti08-turn-hint{display:flex;max-width:94vw}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:700px){
 main{width:min(100%,1120px);padding:5px 10px 12px}
 .top{gap:6px;padding:1px 0 5px}
 .brand-mark{width:34px;height:34px;font-size:19px;border-radius:10px}
 .brand-title{font-size:18px}.tagline{font-size:10px}
 .save-action,#ti07-open,.ti08-orientation-button{min-height:33px;font-size:10px;padding:5px 8px}
 .hud{gap:5px;margin-bottom:6px}
 .hud-pill{padding:3px 8px;min-height:35px}
 .hud-label{font-size:9px}.hud strong{font-size:13px}
 nav{position:static;left:auto;right:auto;bottom:auto;margin:4px 0 9px;padding:3px;
  gap:3px;box-shadow:none;backdrop-filter:none}
 nav button{flex-direction:row;gap:5px;min-height:33px;padding:4px 6px;font-size:11px}
 nav .nav-icon{font-size:16px}
 .hero-banner{min-height:160px;padding:12px 20px}
 .hero-copy h2{font-size:clamp(20px,3vw,30px)}
 .hero-copy p{font-size:11px}.tower-art{transform:scale(.63);transform-origin:bottom right}
 .zone{min-height:70px;padding:8px;flex-direction:row}
 .grid{grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:8px}
 .arena{min-height:150px}
 .arena .side{flex-wrap:nowrap;max-width:74%;gap:4px}
 .arena .side .u{flex:0 1 66px;min-width:0;width:auto}
 .arena .side .u svg{max-width:55px;max-height:85px}
 /* Cena principal ocupa o máximo da altura do aparelho. */
 #ti07-root{overflow:hidden}
 #ti07-root .ti07-shell{height:100dvh;min-height:0;max-width:none;overflow:hidden}
 #ti07-root .ti07-header{min-height:42px;height:42px;gap:8px;padding:3px 9px}
 #ti07-root .ti07-brand{min-width:130px;font-size:17px}
 #ti07-root .ti07-brand-icon{font-size:23px}
 #ti07-root .ti07-brand small{font-size:8px;margin-top:1px}
 #ti07-root .ti07-world b{font-size:12px}
 #ti07-root .ti07-world small{font-size:9px}
 #ti07-root .ti07-close{height:31px;width:31px}
 #ti07-root .ti07-layout{display:grid;grid-template-columns:122px minmax(0,1fr) 148px;flex:1;min-height:0;overflow:hidden}
 #ti07-root .ti07-roster{display:block;padding:5px;overflow-y:auto}
 #ti07-root .ti07-roster .ti07-section-title{font-size:9px;margin:3px 0 5px}
 #ti07-root .ti07-roster .ti07-section-title small{display:none}
 #ti07-root .ti07-hero-card{min-width:0;width:100%;padding:3px;min-height:46px;margin:3px 0;gap:3px}
 #ti07-root .ti07-hero-icon{height:40px;width:30px;flex:0 0 30px}
 #ti07-root .ti07-hero-icon svg{width:36px;height:56px}
 #ti07-root .ti07-hero-copy b{font-size:8px}
 #ti07-root .ti07-hero-copy small{font-size:8px}
 #ti07-root .ti07-roster .ti07-help{display:none}
 #ti07-root .ti07-map-wrap{flex:1;min-height:0;padding:4px;overflow:hidden}
 #ti07-root .ti07-map{height:100%;min-height:0}
 #ti07-root .ti07-details{display:flex;flex-direction:column;grid-column:auto;min-height:0;
  border-left:1px solid #54406a;overflow-y:auto;padding:7px}
 #ti07-root .ti07-details .ti07-section-title{display:block;font-size:9px;margin:2px 0}
 #ti07-root .ti07-selected-portrait{height:95px;min-height:95px;width:100%;margin-bottom:4px}
 #ti07-root .ti07-selected-portrait svg{height:96px}
 #ti07-root .ti07-selected-info b{font-size:12px}
 #ti07-root .ti07-selected-info small{font-size:9px}
 #ti07-root .ti07-details .ti07-genes,#ti07-root .ti07-details .ti07-swatch-row,#ti07-root .ti07-details .ti07-help{display:none}
 #ti07-root .ti07-primary{font-size:10px;min-height:32px;padding:5px;margin-top:auto}
 #ti07-root .ti07-footer{min-height:35px;padding:4px 10px;gap:5px;font-size:10px}
 #ti07-root .ti08-guild-actions button{padding:5px;font-size:10px;min-height:30px}
 #ti07-root .ti07-battle-hud{flex:0 0 auto;min-height:39px;padding:4px 9px;gap:7px;flex-wrap:nowrap}
 #ti07-root .ti075-biome-picker{order:0;flex:0 1 auto;min-width:150px;padding:2px}
 #ti07-root .ti075-biome-picker button{padding:5px;min-height:28px;font-size:10px}
 #ti07-root .ti07-boss{order:1;flex:1 1 170px;width:auto;font-size:10px;gap:5px}
 #ti07-root .ti07-bossbar{min-width:70px;max-width:180px}
 #ti07-root .ti07-controls{order:2}
 #ti07-root .ti07-battle-stage{height:auto;flex:1 1 0;min-height:0}
 #ti07-root .ti07-battle-bottom{flex:0 0 73px;min-height:0;display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,30%);gap:6px;padding:4px 8px;overflow:hidden}
 #ti07-root .ti07-battle-team{gap:3px;min-height:0}
 #ti07-root .ti07-battle-team button{flex:1 1 19%;min-width:0;max-width:none;padding:2px}
 #ti07-root .ti07-tiny-face{height:30px}
 #ti07-root .ti07-tiny-face svg{height:46px;width:33px}
 #ti07-root .ti07-battle-team b{font-size:9px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 #ti07-root .ti07-battle-team small{display:none}
 #ti07-root .ti07-battle-events{min-height:0;padding:4px;overflow:hidden}
 #ti07-root .ti07-battle-events>b{font-size:9px}
 #ti07-root .ti07-battle-events p{font-size:9px;min-height:0;margin:2px 0;max-height:32px;overflow:hidden}
 #ti07-root .ti07-battle-events small{font-size:8px}
 #ti07-root .ti07-footer span{display:none}
 #ti07-root .ti07-sheet-scrim{padding:5px}
 #ti07-root .ti07-character-sheet{max-height:98dvh;max-width:min(710px,94vw)}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:360px){
 #ti07-root .ti07-brand{font-size:14px}
 #ti07-root .ti07-header{height:36px;min-height:36px}
 #ti07-root .ti07-footer{min-height:30px}
 #ti07-root .ti07-battle-bottom{flex-basis:57px}
 #ti07-root .ti07-tiny-face{height:20px}
 #ti07-root .ti07-hero-card{min-height:38px}
}

/* Conta Google e navegação do jogador na nova guilda */
.ti08-account{border:1px solid #be9eac;border-radius:10px;background:#372747;color:#f5d8ae;
 padding:6px 12px;min-height:34px;font-size:11px;white-space:nowrap}
.ti08-account:hover{background:#57395e}
.ti08-guild-actions button:disabled{opacity:.5;cursor:not-allowed}
@media(pointer:coarse) and (orientation:landscape) and (max-height:700px){
 #ti07-root .ti08-account{font-size:10px;padding:5px 8px;min-height:30px}
 #ti07-root .ti07-roster .ti07-hero-card{width:100%}
}
