:root{color-scheme:dark;--ink:#f7f1e8;--muted:#bab4b8;--gold:#ebc787;--line:#353036;--panel:#1d1b1f;--bg:#111114;font:16px/1.5 system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg)}html{scroll-behavior:smooth}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit;background:#242126;border:1px solid var(--line);border-radius:7px;padding:.55rem .85rem}button:hover,a:hover{filter:brightness(1.18)}:focus-visible{outline:2px solid var(--gold);outline-offset:3px}header{border-bottom:1px solid var(--line);background:#151417}.top,main{max-width:1220px;margin:auto;padding:0 2rem}.top{min-height:72px;display:flex;align-items:center;gap:3rem}.top nav{display:flex;gap:1.7rem;color:var(--muted)}.top button{margin-left:auto}.logo{font:2rem Georgia,serif;color:var(--gold)}.hero{isolation:isolate;position:relative;overflow:hidden;min-height:325px;display:flex;align-items:center;margin-top:2rem;border:1px solid #5c323d;border-radius:16px;padding:2.6rem 3.5rem;background:#35151f}.hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#171317 12%,#281820 48%,#270d1855 100%),url(assets/fundo.png) right 61%/75% auto no-repeat}.hero aside{position:absolute;z-index:-1;right:0;top:0;bottom:0;width:44%;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 40%)}.hero img{position:absolute;width:min(100%,450px);right:0;top:50%;transform:translateY(-49%)}h1,h2,h3{font-family:Georgia,serif;font-weight:400;margin:0;line-height:1.1}h1{font-size:clamp(2.75rem,6vw,5.3rem);letter-spacing:-.045em;margin:.5rem 0}h1 em{color:var(--gold);font-weight:400}h2{font-size:clamp(1.8rem,4vw,2.65rem)}h3{font-size:1.45rem}small{color:var(--gold);letter-spacing:.14em;font-weight:700;font-size:.75rem}.hero p,.muted{color:var(--muted)}.primary{display:inline-block;background:linear-gradient(115deg,#f3d595,#d5a66c);color:#221611;border:0;border-radius:7px;padding:.65rem 1.1rem;font-weight:700}.hero .primary{margin-top:.45rem}section:not(.hero){margin-top:2.8rem;scroll-margin-top:1rem}.section-title,.day-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;flex-wrap:wrap}.badge{font-size:.875rem;background:#2b1d28;border:1px solid #534353;border-radius:30px;color:var(--gold);padding:.32rem .75rem}#days{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:.45rem;margin:1.2rem 0 1.8rem}.date{padding:.5rem .1rem;min-height:47px;font-variant-numeric:tabular-nums}.date[data-locked=true]{color:#a69da6;background:#19171b}.date[aria-pressed=true]{border-color:var(--gold);color:#261811;background:var(--gold);font-weight:750}.day-heading{border-top:1px solid var(--line);padding-top:1.55rem;margin-bottom:1.05rem}.grid,.modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card,.notice{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:1rem}.card h3{min-height:2.4em}.clips,.actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}.clip{position:relative;min-height:95px;overflow:hidden;isolation:isolate;background:#38202f;color:#fff;display:grid;place-items:center;padding:.4rem}.clip:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#160d17cc,#21101b30),var(--cover) center 47%/cover}.clip strong{font-size:.85rem;text-shadow:0 1px 6px #000}.play{border-radius:50%;background:#191219e0;color:#f6d495;padding:.28rem .55rem}.actions{margin-top:.75rem}.actions>*{font-size:.875rem;padding:.45rem .25rem;text-align:center;border:1px solid #534353;border-radius:6px;color:var(--gold)}.caption{color:var(--muted);margin:.8rem 0 .25rem;font-size:.9rem}.url{display:block;color:var(--gold);font-size:.82rem;overflow-wrap:anywhere;margin:.45rem 0}.modules{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:1rem}.modules img{width:100%;border-radius:10px;border:1px solid var(--line)}footer{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding:1.5rem 0;margin-top:3rem;color:var(--muted);font-size:.85rem}dialog{width:min(460px,calc(100% - 2rem));background:var(--panel);color:var(--ink);border:1px solid #634355;border-radius:14px;padding:1.75rem}dialog::backdrop{background:#0b080dcf}.close{float:right;padding:.12rem .6rem}dialog label{display:block;margin-top:.8rem}dialog select,dialog input{width:100%;padding:.6rem;background:#17151a;border:1px solid #534353;color:var(--ink);border-radius:6px;margin:.3rem 0 .7rem}dialog video{width:100%;max-height:65vh;margin-top:1rem}#toast:not(:empty){position:fixed;right:1rem;bottom:1rem;max-width:calc(100% - 2rem);background:#f3d595;color:#201513;padding:.75rem 1rem;border-radius:8px;z-index:2}@media(max-width:850px){#days{grid-template-columns:repeat(8,minmax(0,1fr))}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{padding:2rem}.hero aside{opacity:.7}}@media(max-width:560px){.top,main{padding-inline:1rem}.top{gap:.8rem;min-height:60px}.top nav{gap:.7rem;font-size:.85rem}.top button{font-size:.8rem;padding:.4rem}.hero{padding:1.2rem;min-height:265px;margin-top:1rem}.hero aside{opacity:.38;width:73%}.grid{grid-template-columns:1fr}.modules{grid-template-columns:repeat(2,minmax(0,1fr))}#days{gap:.25rem}}

/* Keep the clapperboard artwork and hide the lettering printed below it. */
.hero img { mask-image: linear-gradient(#000 68%, transparent 74%); }
.modules img[src="assets/modulo-2.png"] { mask-image: linear-gradient(#000 69%, transparent 75%); }

.clip-option { min-width: 0; display: grid; gap: .35rem; }
.clip-option .clip { width: 100%; }
.clip-download, .product-actions > a, .copy-actions button {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: .45rem .55rem;
  border-radius: 7px;
  text-align: center;
  font-size: .875rem;
  line-height: 1.25;
}
.clip-download { color: var(--gold); background: #19171c; border: 1px solid var(--line); }
.product-actions { display: grid; gap: .45rem; margin-top: .9rem; }
.shop-link { background: linear-gradient(115deg, #f3d595, #d5a66c); color: #221611; font-weight: 750; }
.telegram-link { background: #1c2933; border: 1px solid #3e5767; color: #d2e9f7; font-weight: 650; }
.copy-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: .45rem; }
.copy-actions button { color: var(--ink); background: #252229; }
.clip-download:hover, .copy-actions button:hover { border-color: var(--gold); }

[data-imported="true"] .caption { white-space: pre-line; }
[data-imported="true"] .clip { min-height: 130px; }

.login-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
#password-hint { margin: 0 0 .75rem; font-size: .875rem; }

.text-button { display: block; margin-top: .6rem; padding: .25rem 0; color: var(--gold); border: 0; background: transparent; text-decoration: underline; text-underline-offset: .18em; }
.recovery-panel { margin: 1rem 0; padding: .9rem; border: 1px solid #534353; border-radius: 8px; }
.recovery-panel label { margin-top: 0; color: var(--gold); }
.recovery-panel p { margin: .35rem 0; color: var(--muted); }

.notice p { margin: 0; }


.date { display: flex; align-items: center; justify-content: center; gap: .18rem; }
.date .lock { display: block; width: .9rem; height: .9rem; flex: 0 0 .9rem; color: #b7956b; }
.date[aria-pressed="true"] .lock { color: currentColor; }
@media (max-width: 380px) {
  .date { gap: .05rem; font-size: .875rem; }
  .date .lock { width: .75rem; height: .75rem; flex-basis: .75rem; }
}

[hidden] { display: none !important; }
.access-page {
  margin: 0 !important;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr);
  align-items: stretch;
  max-width: 1180px;
  margin-inline: auto !important;
  padding: clamp(1rem, 5vw, 4rem);
  align-content: center;
}
.access-brand, .access-card { min-height: 560px; }
.access-brand {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  background: radial-gradient(ellipse at 53% 39%, #47202b 0%, #29181f 48%, #1a1519 79%);
  border: 1px solid #55303b;
  border-radius: 20px 0 0 20px;
}
.access-brand::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, #161215 4%, #1c1116d9 27%, #28171b44 78%), linear-gradient(105deg, #1b1419a8, #321b2366);
}
.access-art {
  position: absolute;
  z-index: 0; top: 39%;
  left: 50%; width: min(82%, 470px);
  height: auto;
  transform: translate(-50%, -50%);
}
.access-brand-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.access-edition { color: #ebc787; font-size: .73rem; font-weight: 700; letter-spacing: .18em; }
.access-brand h1 { margin: .3rem 0; font-size: clamp(3.35rem, 6vw, 5.2rem); line-height: .96; letter-spacing: -.075em; }
.access-brand h1 em { color: #ebc787; }
.access-brand p { color: #d8c5c5; margin: .7rem 0 0; }
.access-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1b191b;
  border: 1px solid #393039;
  border-left: 0;
  border-radius: 0 20px 20px 0;
  padding: clamp(1.6rem, 5vw, 3.6rem);
}
.access-card h2 { margin-top: 1.65rem; letter-spacing: -.045em; }
#license-detail { color: var(--muted); margin: .55rem 0 1.3rem; min-height: 1.5em; }
.access-card label { display: block; margin: .8rem 0 .3rem; font-size: .875rem; font-weight: 650; }
.access-card input { width: 100%; min-height: 47px; padding: .65rem .8rem; background: #151315; color: var(--ink); border: 1px solid #443a44; border-radius: 8px; }
.access-card input::placeholder { color: #928792; }
.access-card .login-actions { margin-top: 1.15rem; }
.access-card .primary { width: 100%; min-height: 46px; }
.access-card .text-button { margin: .8rem auto 0; font-size: .875rem; color: #cbb9c4; }
.access-modes { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; background: #151315; border: 1px solid #393039; border-radius: 10px; padding: .25rem; }
.access-modes button { position: relative; background: transparent; border: 1px solid transparent; border-radius: 7px; padding: .5rem .4rem; font-size: .875rem; color: var(--muted); }
.access-modes button[aria-pressed="true"] { color: var(--gold); background: #2a2028; border-color: #765744; }
#continue-library { margin-bottom: .55rem; }
@media (max-width: 760px) {
  .access-page { grid-template-columns: 1fr; max-width: 530px; }
  .access-brand { min-height: 250px; border-radius: 17px 17px 0 0; }
  .access-card { min-height: 0; border: 1px solid #393039; border-top: 0; border-radius: 0 0 17px 17px; }
  .access-art { top: 36%; left: 50%; width: min(76%, 325px); }

  .access-brand::after { background: linear-gradient(0deg, #170e12 2%, #1c0c1399 56%, #1c0c1333); }
}





