:root{font-family:Arial,Helvetica,sans-serif;color:#2e165c;background:#f9efff;font-synthesis:none}*{box-sizing:border-box}body{margin:0}.app{max-width:1600px;margin:auto;min-height:100vh;background:linear-gradient(180deg,#f0d5ff,#fdf7ff 56%)}button{font:inherit;cursor:pointer;border:0}button:focus-visible,.card:focus-visible{outline:4px solid #ffb129;outline-offset:3px}[hidden]{display:none!important}.hero{height:250px;background:linear-gradient(115deg,#b45bff 0%,#c47df5 52%,#ce77f5 100%);position:relative;overflow:hidden;display:flex;align-items:center;padding:18px 5%;gap:22px;color:white}.maya-avatar{font-size:110px;align-self:end;line-height:1.2;filter:drop-shadow(0 5px 2px #65209b55)}.brand{z-index:2;align-self:center}.brand h1{font-size:clamp(60px,7vw,100px);margin:0;line-height:1;font-weight:1000;letter-spacing:-5px;color:white;text-shadow:-5px -5px 0 #56219d,5px -5px 0 #56219d,-5px 5px 0 #56219d,5px 5px 0 #56219d,0 8px 0 #56219d}.spark{font-size:38px;color:#ffeb4c;vertical-align:top;text-shadow:none}.brand p{font-size:20px;font-weight:bold;margin:14px 0 0;text-shadow:0 2px 3px #6d3298}.rainbow{position:absolute;right:15%;bottom:25px;width:240px;height:140px;border-radius:180px 180px 0 0;border:22px solid #ff6a9b;border-bottom:0;box-shadow:inset 0 20px #ffb75c,inset 0 40px #ffe36c,inset 0 60px #44d6ce,inset 0 80px #7e80ef}.cloud{position:absolute;background:#eed3ff;border-radius:50px;width:145px;height:50px;opacity:.9}.cloud:before,.cloud:after{content:'';position:absolute;background:inherit;border-radius:50%}.cloud:before{width:65px;height:65px;top:-25px;left:25px}.cloud:after{width:80px;height:70px;top:-30px;right:14px}.c1{right:32%;top:85px}.c2{right:10%;bottom:15px;background:#f8e6ff}.tv-icon{position:absolute;right:5%;top:40px;font-size:78px;color:white}main{background:linear-gradient(180deg,#f3ddff,#fdf8ff);min-height:calc(100vh - 250px);border-radius:72px 72px 0 0;margin-top:-22px;position:relative;padding:25px 3.5% 15px}.tabs{display:flex;align-items:center;gap:8px;margin:0 auto 30px;width:min(850px,100%);background:#ffffff8a;padding:8px;border-radius:40px;box-shadow:0 5px 18px #9b5bc51f}.tabs button{border-radius:40px;padding:14px 25px;background:transparent;color:#63309b;font-size:20px;font-weight:800;white-space:nowrap}.tabs button.active,.filters button.active{background:linear-gradient(120deg,#9a3cde,#7630c6);color:white;box-shadow:0 3px 12px #8c3cc347}.tabs .search-button{margin-left:auto;font-size:30px;padding:10px 20px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0 25px;flex-wrap:wrap}.heading h2{font-size:clamp(22px,2.3vw,34px);margin:0;color:#491a88}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{padding:13px 18px;background:white;border:2px solid #e6cdfa;border-radius:30px;font-size:17px;color:#381b68;font-weight:800}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.card{border-radius:22px;overflow:hidden;background:white;box-shadow:0 4px 0 #e5cdfa,0 10px 25px #5e269c15;cursor:pointer;position:relative;transition:transform .18s}.card:hover{transform:translateY(-3px)}.poster{aspect-ratio:1.78;position:relative;background:var(--bg);overflow:hidden;display:flex;align-items:center;justify-content:center}.poster img{width:100%;height:100%;object-fit:cover;display:block}.poster .placeholder{font-size:clamp(25px,3vw,46px);font-weight:1000;color:white;text-align:center;padding:10px;text-shadow:0 3px 0 #542c9c66}.poster .play-overlay{position:absolute;left:12px;bottom:12px;color:white;background:#f02531;border-radius:9px;padding:5px 10px;font-weight:900}.card-content{padding:12px 14px 16px}.card-content h3{margin:0 42px 4px 0;font-size:19px}.card-content p{margin:0;font-size:15px;color:#624b83}.favorite{position:absolute;bottom:13px;right:12px;font-size:27px;background:transparent;color:#65319c;padding:3px 8px}.favorite.on{color:#ec4a93}.back{background:white;color:#6f2ab0;padding:13px 20px;border-radius:25px;font-weight:800;font-size:18px;margin:0 0 25px}.catalog-title{display:flex;align-items:center;gap:22px;background:#fff9;border-radius:28px;padding:16px;margin-bottom:24px}.catalog-title #catalog-art{width:155px;height:95px;flex-shrink:0;border-radius:18px;overflow:hidden;background:#c3a1ff}.catalog-title img{width:100%;height:100%;object-fit:cover}.catalog-title h2{font-size:32px;margin:5px 0}.catalog-title p{margin:3px 0}.eyebrow{color:#a043d2;font-weight:800}.section-title{font-size:25px}.video-grid .card-content h3{font-size:17px;margin-right:0}.player-frame{width:min(100%,1050px);aspect-ratio:16/9;background:#201335;border-radius:22px;overflow:hidden;margin:auto}.player-frame iframe{width:100%;height:100%;border:0}.player-hint{text-align:center;color:#725c8b;font-size:14px}#player-title{text-align:center}#search-area{max-width:900px;margin:0 auto 20px}#search{width:100%;border:2px solid #d9b8f4;border-radius:24px;padding:16px;font-size:20px}footer{text-align:center;color:#b18ac7;padding:40px 0 12px}@media(max-width:1000px){.grid{grid-template-columns:repeat(3,1fr)}.hero{height:220px}.brand h1{font-size:70px}.rainbow{right:8%;transform:scale(.8)}}@media(max-width:680px){.hero{height:180px;padding:15px 4%;gap:8px}.maya-avatar{font-size:67px}.brand h1{font-size:48px;letter-spacing:-2px}.brand p{font-size:12px}.rainbow{right:-40px;transform:scale(.42);transform-origin:right bottom}.cloud,.tv-icon{display:none}main{margin-top:-18px;padding:18px 14px;border-radius:40px 40px 0 0}.tabs{gap:0;margin-bottom:20px}.tabs button{padding:12px 8px;font-size:14px}.tabs .search-button{font-size:20px;padding:8px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-content h3{font-size:15px}.card-content p{font-size:12px}.favorite{font-size:22px}.filters button{font-size:13px;padding:10px}.heading h2{font-size:21px}.catalog-title #catalog-art{width:100px;height:70px}.catalog-title h2{font-size:22px}}

/* Fidelity pass: original approved tablet composition */
:root{font-family:"Trebuchet MS",Arial,sans-serif;color:#2b145e;background:#ead4f7}
body{background:#ead4f7}
.app{max-width:1600px;background:#f8efff}
.hero{height:274px;background:linear-gradient(112deg,#a957f1 0%,#b46df4 55%,#c782f7 100%);padding:0 4%;align-items:flex-start}
.maya-avatar{width:244px;height:244px;flex:0 0 244px;align-self:end;position:relative;z-index:3;line-height:normal;filter:none}
.maya-avatar img{width:100%;height:100%;object-fit:contain;object-position:bottom}
.brand{align-self:flex-start;margin-top:49px;margin-left:4px}
.brand h1{font-size:clamp(64px,7vw,102px);letter-spacing:-5px;text-shadow:-4px -4px 0 #56219d,4px -4px 0 #56219d,-4px 4px 0 #56219d,4px 4px 0 #56219d,0 7px 0 #56219d}
.brand .spark{font-size:39px;position:relative;top:-9px;margin-left:5px}
.rainbow{right:15%;bottom:39px;width:260px;height:151px;border-width:22px;box-shadow:inset 0 19px #ffb65b,inset 0 38px #ffe56e,inset 0 57px #40d4d2,inset 0 76px #817cf1}
.tv-icon{width:92px;height:92px;right:4.5%;top:44px;font-size:0}
.tv-icon svg{width:100%;height:100%}
main{margin-top:-60px;min-height:calc(100vh - 214px);border-radius:70px 70px 0 0;background:linear-gradient(180deg,#f0d8fb 0%,#fbf5ff 60%,#f9f0ff 100%);padding:22px 3.4% 18px}
.tabs{width:min(870px,76%);margin:0 auto 35px;padding:8px;gap:8px;background:#f7eaffd9;border:1px solid #ead4fa;border-radius:45px;box-shadow:0 4px 14px #7034a119}
.tabs button{font-size:20px;padding:13px 24px}
.tabs button.active{min-width:210px}
.tabs .nav-symbol{font-size:29px;line-height:0;vertical-align:-3px;margin-right:8px}
.tabs .search-button{position:absolute;right:4%;top:20px;color:white;background:linear-gradient(120deg,#8439c5,#5d2c9f);border-radius:50%;width:62px;height:62px;display:grid;place-items:center;font-size:42px;padding:0}
.heading{margin:14px 0 24px}
.heading h2{font-weight:900;color:#44167e;letter-spacing:-.6px}
.filters button{background:#fffafc;border:2px solid #e8d4f8;padding:12px 20px;border-radius:28px;box-shadow:0 2px 7px #7c36aa0d}
.grid{gap:17px}
.card{border-radius:22px;box-shadow:0 3px 0 #e4c9fa,0 9px 19px #5e269c14}
.poster{aspect-ratio:1.82;background:var(--bg)}
.poster img{object-fit:cover}
.card-content{padding:12px 16px 17px}
.card-content h3{font-size:19px;font-weight:900;letter-spacing:-.3px}
.card-content p{font-size:15px;font-weight:700}
.favorite{bottom:11px;right:10px;font-size:32px}
@media(min-width:1100px) and (max-height:850px){.hero{height:220px}.maya-avatar{width:205px;height:205px;flex-basis:205px}.brand{margin-top:34px}.brand h1{font-size:76px}.rainbow{transform:scale(.8);transform-origin:bottom right}.tv-icon{width:75px;height:75px}main{margin-top:-48px;padding-top:15px}.tabs{margin-bottom:22px}.heading{margin:8px 0 16px}.grid{gap:14px}.card-content{padding:9px 13px 12px}}
@media(min-width:681px) and (max-width:1099px){.hero{height:230px}.maya-avatar{width:190px;height:190px;flex-basis:190px}.brand{margin-top:44px}.brand h1{font-size:65px}.rainbow{right:7%;transform:scale(.67);transform-origin:bottom right}.tv-icon{width:65px;height:65px}.tabs{width:80%}.tabs button{font-size:16px;padding:11px 13px}.tabs button.active{min-width:130px}.tabs .search-button{width:49px;height:49px;right:3%;top:24px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.card-content h3{font-size:15px}.card-content p{font-size:12px}.heading h2{font-size:24px}.filters button{font-size:13px;padding:9px 12px}}
@media(max-width:680px){.hero{height:177px;padding:0 3%}.maya-avatar{width:100px;height:135px;flex-basis:100px}.brand{margin-top:34px}.brand h1{font-size:49px;letter-spacing:-3px}.brand .spark{font-size:21px}.rainbow{right:-25px;bottom:12px;transform:scale(.37);transform-origin:bottom right}.tv-icon{display:none}main{margin-top:-23px;border-radius:35px 35px 0 0;padding:16px 12px}.tabs{width:100%;margin-bottom:20px;gap:0}.tabs button{font-size:13px;padding:12px 9px}.tabs button.active{min-width:0}.tabs .nav-symbol{font-size:19px;margin-right:2px}.tabs .search-button{position:static;margin-left:auto;width:37px;height:37px;font-size:25px}.heading{margin:12px 0 16px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-content{padding:10px 12px 13px}.card-content h3{font-size:15px}.card-content p{font-size:12px}.favorite{font-size:24px}.filters button{padding:9px 11px;font-size:12px}}


/* Screenshot fidelity revision: tablet landscape */
@media(min-width:1100px){
.hero{height:286px;padding-left:3.2%;gap:10px}
.maya-avatar{width:276px;height:255px;flex-basis:276px;align-self:flex-end}
.brand{margin-top:46px;margin-left:0}
.maya-logo{font-family:"Trebuchet MS",Arial,sans-serif;font-size:100px!important;font-weight:1000;letter-spacing:-7px!important;color:#fff;paint-order:stroke fill;-webkit-text-stroke:5px #5825a0;text-shadow:0 7px 0 #56219d,0 1px 0 #fff}
main{margin-top:-70px;padding-top:23px;border-radius:90px 90px 0 0}
.tabs{width:min(805px,72%);margin:0 auto 37px;min-height:66px;gap:0}
.tabs button{font-size:21px;padding:14px 23px;flex:1}
.tabs button.active{min-width:0}
.tabs .search-button{position:absolute;top:22px;right:3.2%;width:62px;height:62px;flex:none}
.heading{margin:17px 0 26px}
.heading h2{font-size:32px}
.grid{gap:17px}
.poster{aspect-ratio:1.8}
.card-content{min-height:67px}
}
.heading h2{display:flex;align-items:center;gap:12px}
.heading-tv{width:56px;height:56px;flex:none}
.tabs .search-button svg{width:30px;height:30px}
.card-content{display:flex;align-items:flex-start;gap:10px;position:relative;padding:11px 52px 14px 16px}
.card-copy{min-width:0}
.card-copy h3{margin:0 0 4px;font-weight:900;line-height:1.1}
.card-copy p{line-height:1.2}
.youtube-mark{width:33px;height:26px;flex:none;margin-top:1px}
.youtube-mark svg{width:100%;height:100%}
.favorite{bottom:15px;right:9px}
.filters button{display:inline-flex;align-items:center;justify-content:center;min-height:48px}
@media(min-width:1100px) and (max-height:850px){
.hero{height:245px}.maya-avatar{height:223px;width:235px;flex-basis:235px}.brand{margin-top:36px}.maya-logo{font-size:83px!important}main{margin-top:-54px;padding-top:15px}.tabs{margin-bottom:23px}.heading{margin:9px 0 17px}.poster{aspect-ratio:1.8}.card-content{min-height:59px;padding-top:8px;padding-bottom:10px}
}
@media(max-width:1099px){.heading-tv{width:37px;height:37px}.card-content{padding:10px 35px 12px 10px;gap:6px}.youtube-mark{width:24px;height:21px}.favorite{right:4px;bottom:8px}}


/* Header asset integration: artwork is decorative, controls stay live HTML. */
.hero{background:#ad5af2 url("./assets/header/maya-header.png") center top / 100% auto no-repeat;min-height:0}
.hero>.maya-avatar,.hero>.brand,.hero>.rainbow,.hero>.cloud,.hero>.tv-icon{display:none}
.ui-icon{display:inline-block;width:1.45em;height:1.45em;vertical-align:-.28em;fill:currentColor;stroke:currentColor;flex-shrink:0}
.tabs button{display:inline-flex;align-items:center;justify-content:center;gap:10px}
.tabs .search-button .ui-icon{width:30px;height:30px}
@media(min-width:1100px){.hero{height:286px;background-size:100% auto}main{margin-top:-70px}}
@media(min-width:1100px) and (max-height:850px){.hero{height:245px}main{margin-top:-54px}}
@media(min-width:681px) and (max-width:1099px){.hero{height:230px;background-size:auto 230px}main{margin-top:-50px}}
@media(max-width:680px){.hero{height:175px;background-size:auto 175px;background-position:left top}main{margin-top:-23px}.tabs button{gap:4px}.ui-icon{width:19px;height:19px}}


/* Header v5 — intended for the NEW 2172 × 724 artwork.
   The image must be replaced at assets/header/maya-header.png before validation.
   Keep the character and hands visible; do not use background-size: cover. */
.hero{
  display:block;
  width:100%;
  height:clamp(220px,22vw,352px);
  padding:0;
  overflow:hidden;
  background-color:#b451f0;
  background-image:url("./assets/header/maya-header.png");
  background-repeat:no-repeat;
  background-position:center top;
  background-size:100% auto;
}
main{
  margin-top:-1px;
  border-radius:clamp(34px,5vw,78px) clamp(34px,5vw,78px) 0 0;
  background:linear-gradient(180deg,#f0d8fb 0%,#fbf5ff 65%,#f9f0ff 100%);
}
@media(min-width:1100px) and (max-height:850px){
  .hero{height:clamp(220px,20vw,320px)}
  main{margin-top:-1px}
}
@media(min-width:681px) and (max-width:1099px){
  .hero{height:clamp(180px,23vw,250px);background-size:100% auto}
  main{margin-top:-1px}
}
@media(max-width:680px){
  .hero{height:clamp(145px,31vw,205px);background-size:auto 100%;background-position:13% top}
  main{margin-top:-1px}
}


/* Tablet polish — 2026-11-13 */
@media(min-width:1100px){
  main{padding-top:12px}
  .tabs{margin-bottom:19px}
  .heading{margin:9px 0 18px}
  .card-copy h3{font-size:20px;line-height:1.18}
  .card-copy p{font-size:16px}
}
@media(min-width:681px) and (max-width:1099px){
  main{padding-top:12px}
  .tabs{margin-bottom:18px}
  .heading{margin:10px 0 16px}
  .card-copy h3{font-size:16px}
  .card-copy p{font-size:13px}
}
.card{isolation:isolate}
.card .favorite{z-index:2;min-width:44px;min-height:44px;display:grid;place-items:center;padding:0}
.channel-fallback{height:100%;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;overflow:hidden}
.bita-fallback{background:radial-gradient(circle at 75% 20%,#ffb9ed 0,#ed7de8 35%,#a95aef 100%);color:white}
.bita-hat{font-size:clamp(35px,5vw,72px);filter:drop-shadow(0 4px 2px #662a9866)}
.bita-title{font-size:clamp(25px,3vw,49px);font-weight:1000;letter-spacing:-1.5px;line-height:1.05;text-shadow:0 3px 0 #7b329d}
.bita-title strong{color:#ffeaf8}
.bita-stars{position:absolute;top:12%;right:12%;font-size:26px;color:#fff1a1}
@media(max-width:680px){.bita-title{font-size:24px}.bita-hat{font-size:39px}}


/* Seam correction: the header PNG already contains the illustrated wave.
   Do not draw a second rounded lavender panel on top of it. */
.app{background:#f1ddfa}
.hero{background-color:#f1ddfa}
main{
  margin-top:-1px;
  border-radius:0;
  background:linear-gradient(180deg,#f1ddfa 0%,#f8efff 42%,#faf3ff 100%);
}
@media(min-width:1100px) and (max-height:850px){main{margin-top:-1px;border-radius:0}}
@media(min-width:681px) and (max-width:1099px){main{margin-top:-1px;border-radius:0}}
@media(max-width:680px){main{margin-top:-1px;border-radius:0}}


/* Seam v2: fade the photographic lower edge into the same lavender surface.
   The wave belongs to the image; the main does not draw a second wave. */
.app{background:#f1ddfa}
.hero{
  position:relative;
  z-index:1;
  background-color:#f1ddfa;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%);
}
main{
  position:relative;
  z-index:0;
  margin-top:-38px;
  padding-top:calc(12px + 38px);
  border-radius:0;
  background:linear-gradient(180deg,#f1ddfa 0%,#f8efff 45%,#faf3ff 100%);
}
@media(min-width:681px) and (max-width:1099px){main{margin-top:-38px;padding-top:50px}}
@media(max-width:680px){
  .hero{
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 22px),transparent 100%);
    mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 22px),transparent 100%);
  }
  main{margin-top:-22px;padding-top:38px}
}

/* ===== v6: capas oficiais, busca, player interno blindado ===== */
.poster.cover{position:relative;overflow:hidden;display:grid;place-items:center;background:var(--bg)}
.poster.cover .cover-bg{position:absolute;inset:-20%;width:140%;height:140%;object-fit:cover;filter:blur(18px) saturate(1.2);opacity:.75}
.poster.cover .cover-avatar{position:relative;height:74%;width:auto;aspect-ratio:1;border-radius:50%;border:4px solid #fff;object-fit:cover;box-shadow:0 5px 14px #3c156b44;background:#fff}
.poster.cover .placeholder{position:relative}
.poster{position:relative;overflow:hidden}
.poster>img:not(.cover-bg):not(.cover-avatar){width:100%;height:100%;display:block}
.catalog-title #catalog-art .poster{height:100%;aspect-ratio:auto}
.video-info .card-copy p{opacity:.75}
.video-grid .card-content h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#search-area{position:relative;display:flex;gap:8px;align-items:center}
#search-area:not([hidden]){display:flex}
#search{flex:1;min-height:48px;padding:0 18px;border-radius:26px;border:2px solid #d9b8f5;font-size:18px}
#search-clear{min-width:48px;min-height:48px;border-radius:50%;background:#fff;color:#6f2ab0;font-size:20px}
#empty{text-align:center;font-size:20px;font-weight:700;color:#6f2ab0;padding:30px 10px}
.player-frame{position:relative;background:#000}
#player-slot,#player-slot iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.player-shield{position:absolute;inset:0;z-index:2;cursor:pointer;background:transparent}
.player-cover{position:absolute;inset:0;z-index:3;display:grid;place-items:center;background:#201335}
.player-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45;filter:blur(2px)}
.player-cover-box{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;padding:16px;text-align:center;color:#fff}
.player-cover-box p{margin:0;font-size:clamp(18px,2.6vw,28px);font-weight:900;text-shadow:0 2px 6px #0008}
.big-btn{min-width:72px;min-height:72px;border-radius:40px;background:#fff;color:#6f2ab0;font-size:34px;font-weight:900;padding:0 24px;box-shadow:0 5px 16px #0005}
.big-btn.small{min-height:56px;font-size:19px;min-width:44px}
.player-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.player-controls{position:absolute;left:0;right:0;bottom:0;z-index:4;display:flex;align-items:center;gap:10px;padding:8px 12px;background:linear-gradient(transparent,#000b);color:#fff}
.player-controls[hidden]{display:none}
.player-controls button{min-width:48px;min-height:48px;border-radius:50%;background:#ffffff26;color:#fff;font-size:22px}
.player-controls input[type=range]{flex:1;min-height:44px;accent-color:#c76ef3}
#player-time{font-size:15px;font-weight:700;min-width:80px;text-align:center}
.player-frame:fullscreen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}
@media(max-width:680px){#player-time{display:none}}
.poster.cover .cover-avatar{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:76%;width:auto;max-width:none}
.player-frame{width:min(100%,1050px,calc((100vh - 190px) * 16 / 9));min-width:min(100%,320px)}
