@font-face {
  font-family: "Chakra Petch";
  src: url("/assets/arcade-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --ink: #19244b;
  --blue: #2636a0;
  --navy: #121b57;
  --gold: #ffcf55;
  --paper: #fff5dc;
  --bone: #fff6de;
  --display: "Chakra Petch", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --page-gutter: clamp(24px, 6.15vw, 104px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a0254d; outline-offset: 5px; }
.mast :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: #fff5ac; }
main:focus { outline: none; }
.page-width { width: min(calc(100% - var(--page-gutter) * 2), 1290px); margin-inline: auto; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 20; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.sky-cover { overflow: clip; background: var(--navy); }
.mast, .hero {
  color: var(--bone);
  background-color: var(--blue);
  background-image: linear-gradient(98deg,rgba(14,19,87,.44) 4%,rgba(21,37,132,.18) 48%,rgba(72,82,188,.16) 100%), url("/assets/sky.webp");
  background-size: cover;
}
.mast { position: relative; z-index: 2; background-position: 50% 0; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; min-height: 83px; gap: 24px; border-bottom: 1px solid #c2c4f45e; }
.home-link, .foot-brand { flex-shrink: 0; }
.home-link img { width: 177px; height: auto; }
.mast nav, .foot nav { display: flex; align-items: center; }
.mast nav { gap: clamp(20px,2.8vw,44px); font-size: 15px; font-weight: 730; }
.nav-link, .foot nav a { padding-block: 9px; }
.nav-link:hover,.foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.discord-link { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; }
.discord-link img { width: 26px; height: 26px; object-fit: contain; }
.discord-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.north-arrow, .line-arrow { display: inline-block; position: relative; flex: 0 0 auto; width: 15px; height: 15px; color: inherit; }
.north-arrow::before, .north-arrow::after, .line-arrow::before, .line-arrow::after { content: ""; position: absolute; display: block; }
.north-arrow::before { width: 10px; height: 10px; right: 1px; top: 1px; border-top: 2px solid; border-right: 2px solid; }
.north-arrow::after { width: 14px; height: 2px; right: 1px; top: 1px; transform: rotate(-45deg); transform-origin: right center; background: currentColor; }
.line-arrow { width: 21px; }
.line-arrow::before { width: 10px; height: 10px; top: 2px; right: 2px; transform: rotate(45deg); border-top: 2px solid; border-right: 2px solid; }
.line-arrow::after { width: 19px; height: 2px; top: 6px; right: 2px; background: currentColor; }
.hero { position: relative; overflow: hidden; isolation: isolate; background-position: 50% 36%; border-bottom: 5px solid var(--ink); }

.hero-inner { position: relative; display: flex; align-items: center; isolation: isolate; min-height: clamp(505px,39.6vw,637px); }
.hero-copy { position: relative; z-index: 1; width: 53%; padding: 47px 0 66px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 700; }

.home-link.home-mark { display: grid; place-items: center; width: 44px; min-height: 44px; }
.home-link.home-mark img { width: 44px; height: auto; }
.hero-wordmark img { width: min(100%, clamp(330px, 36vw, 535px)); height: auto; }
.stream-feature {
  position: relative; display: flex; align-items: center; gap: clamp(15px, 1.6vw, 24px);
  margin-top: clamp(25px, 3vw, 46px); max-width: 555px;
}
.clip-still {
  flex: 0 0 auto; width: clamp(108px, 11.4vw, 170px);
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px;
}
.clip-still img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { min-width: 0; }
.feature-copy h2 {
  font: 650 clamp(21px, 2.05vw, 32px)/1.15 var(--body); letter-spacing: -.045em;
  color: var(--bone); overflow-wrap: anywhere;
}
.feature-copy #clip-note { max-width: 35ch; margin-top: 5px; color: #e4e6fa; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.4; text-wrap: balance; }
.feature-links { display: flex; align-items: center; gap: 7px 20px; flex-wrap: wrap; margin-top: 8px; }
.feature-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px;
  font: 650 15px/1.25 var(--body);
}
.feature-link:hover, .feature-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.clip-action { color: var(--gold); }
.clip-action::before { content: ""; position: absolute; inset: 0; }
.clip-runtime { color: #eee3bb; font-size: .81em; font-variant-numeric: tabular-nums; font-weight: 500; }
.small-play { width: 0; height: 0; border-left: 9px solid currentColor; border-block: 5px solid transparent; }
.channel-link { position: relative; color: #e4e6fa; font-weight: 550; }
.feature-link .north-arrow, #stream-outlet i { transform: scale(.7); }
.hero.with-stream .clip-still, .hero.with-stream .clip-action,
.hero[data-mode="live"] #clip-note, .hero[data-mode="manual"] #clip-note { display: none; }
.hero.with-stream .hero-wordmark img { width: min(100%, 400px); }
.hero.with-stream .stream-feature { margin-top: clamp(18px, 2.5vw, 38px); }
.hero.with-stream .channel-link { color: var(--gold); font-weight: 700; }
#stream-outlet { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: var(--bone); white-space: nowrap; }
#stream-outlet:hover, #stream-outlet:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.stream-console[data-mode="preview"] #stream-outlet i { order: -1; transform: rotate(180deg) scale(.7); }
.stream-console .stream-screen { border-radius: 0 0 5px 5px; }
.hero-art { position: absolute; inset: 0 -4.5% 0 46%; z-index: 0; pointer-events: none; }
.hero-art img { position: absolute; }
.hero-art .sun { width: 49%; height: auto; top: 4%; right: -2%; transform: rotate(-14deg); }
.hero-art .cloud { height: auto; width: 18%; }
.cloud-far { left: 6%; top: 24%; transform: rotate(-3deg); }
.cloud-close { right: -7%; top: 57%; transform: scaleX(-1); }
.hero-art .earth { right: -36%; bottom: -15%; width: 104%; max-width: none; height: auto; transform: rotate(-4deg); }
.hero-art .floating-island { left: 5%; top: 9%; width: 91%; max-width: none; height: auto; animation: buoy 6.4s ease-in-out infinite alternate; }
@keyframes buoy { from { transform: translateY(0) rotate(-.35deg); } to { transform: translateY(-6px) rotate(.35deg); } }
.paper { background-color: var(--paper); background-image: radial-gradient(#715b5a0b .7px, transparent .8px); background-size: 5px 5px; }
.wardrobe-section { display: grid; grid-template-columns: .87fr 1.13fr; gap: clamp(35px,7.2vw,112px); align-items: center; padding-block: clamp(57px,6.2vw,94px); }
.wardrobe-copy h2,.section-heading h2 { font-size: clamp(35px,3.8vw,63px); line-height: 1.04; letter-spacing: -.065em; }
.wardrobe-copy p { margin-top: 18px; max-width: 425px; color: #3b4056; font-size: clamp(16px,1.24vw,19px); line-height: 1.58; }

.rack-picker {
  position: relative; display: flex; align-items: center; gap: clamp(16px, 2vw, 32px);
  border-bottom: 1px solid #425a6559; margin-bottom: 8px;
}
.rack-picker button {
  min-height: 40px; padding: 0 1px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent;
  border-radius: 0; color: #36494f; background: transparent; font: 600 15px/1.1 var(--body);
}
.rack-picker button[aria-pressed="true"] { border-bottom-color: var(--ink); color: var(--ink); font-weight: 750; }
.rack-picker button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ink-link { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; line-height: 1.2; padding-block: 8px; }
.ink-link:hover span,.ink-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.wardrobe-copy .ink-link { margin-top: 13px; font-size: 16px; }
.sample-sheet { position: relative; align-self: stretch; min-height: 267px; isolation: isolate; }
.sample-sheet::before { content: ""; position: absolute; inset: 8px -3px -6px 7px; transform: rotate(1.6deg); border: 2px solid var(--ink); border-radius: 4px; background: #ebaa79; box-shadow: 3px 4px 0 var(--ink); }
.sheet-inside {
  height: 100%; position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: 4px;
  padding: 19px clamp(16px,2.2vw,38px) 24px; background-color: #c4e4cf;
  background-image: radial-gradient(#497f751d 1px, transparent 1.2px); background-size: 8px 8px;
}

.specimens { position: relative; display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; padding-top: 5px; align-items: end; }
.specimen { display: grid; justify-items: center; }
.specimen img {
  width: clamp(83px,9vw,151px); height: auto; aspect-ratio: 238 / 322; object-fit: contain;
  filter: drop-shadow(2px 0 0 #fffbdf) drop-shadow(-2px 0 0 #fffbdf) drop-shadow(0 2px 0 #fffbdf) drop-shadow(0 -2px 0 #fffbdf) drop-shadow(3px 4px 0 #43577073);
}
.specimen:nth-child(1) img { transform: rotate(-8deg); }
.specimen:nth-child(2) img { transform: translateY(-3%) rotate(4deg); }
.specimen:nth-child(3) img { transform: rotate(8deg); }

.specimen .specimen-name { color: var(--ink); padding: 0 5px; font: 650 15px/1.4 var(--body); }
.sample-sheet[data-rack="head"] .sheet-inside { background-color: #ebd9ed; }
.sample-sheet[data-rack="shirts"] .sheet-inside { background-color: #cddfee; }
.sheet-fold { position: absolute; inset: auto 0 0 auto; width: 21px; height: 21px; background: linear-gradient(135deg,transparent 47%,var(--ink) 48%,var(--ink) 53%,#faf4d3 54%,#d9cbbd); }
.specimens.arrive { animation: settle .3s cubic-bezier(.19,1.11,.44,1); }
@keyframes settle { from { transform: translateY(7px) rotate(-1deg); } to { transform: translateY(0) rotate(0); } }
.video-section { border-top: 2px solid var(--ink); padding: clamp(45px,4.7vw,76px) 0 clamp(50px,5.4vw,86px); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-heading h2 { font-size: clamp(33px,3.25vw,53px); }
.section-heading .ink-link { font-size: 15px; }
.video-shelf { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,30px); margin-top: 28px; }
.video-card { display: block; }
.thumbnail { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--ink); border-radius: 5px; box-shadow: 3px 4px 0 var(--ink); background: #303b94 url("/assets/sky.webp") center / cover; transition: transform .14s ease; }
.thumbnail img { display: block; width:100%; height:100%; object-fit:cover; }
.video-card:hover .thumbnail { transform: translateY(-3px); }
.video-card:focus-visible h3,.video-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.play-symbol { position: absolute; bottom: 9px; left: 9px; width: 32px; height: 27px; background: var(--gold); border: 1.5px solid var(--ink); border-radius: 3px; box-shadow: 2px 2px 0 var(--ink); }
.play-symbol::after { content: ""; position: absolute; top: 6px; left: 11px; border-left: 10px solid var(--ink); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.video-card h3 { margin-top: 14px; font-size: clamp(18px,1.6vw,25px); line-height: 1.21; letter-spacing: -.035em; }
.clip-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 4px 0; font-family: var(--display); font-weight: 700; font-size: 16px; }
.clip-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.clip-link img { width: 31px; height: 31px; object-fit: contain; }
.foot { border-top: 3px solid var(--ink); background: #202763; color: var(--bone); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; gap: 20px; }
.foot-brand img { width: 131px; height: auto; }
.foot nav { gap: 24px; color: #efeaff; font-weight: 650; font-size: 14px; }
#wardrobe,#videos { scroll-margin-top: 18px; }
@media (min-width: 1650px) {
  .hero-art { inset-inline-end: -8%; }
}
@media (max-width: 950px) {
  :root { --page-gutter: clamp(25px,4.7vw,48px); }
  .hero-inner { min-height: 440px; }
  .hero-copy { width: 54%; padding: 43px 0 55px; }
  .hero-art { left: 48%; right: -6%; }
  .hero-art .floating-island { top: 18%; }
  .hero-art .sun { top: 9%; }
  .wardrobe-section { gap: 36px; grid-template-columns: .93fr 1.07fr; }
  .sample-sheet { align-self: center; min-height: 220px; }
  .specimen img { width: clamp(80px,11vw,109px); }
}
@media (max-width: 720px) {
  :root { --page-gutter: clamp(20px,5.7vw,35px); }
  .mast-inner { min-height: 65px; gap: 13px; }
  .home-link img { width: 140px; }
  .mast nav { gap: 17px; font-size: 14px; }
  .discord-link { gap: 4px; padding: 4px 7px; }
  .hero-inner { display: grid; min-height: 0; }
  .hero-copy { width: 100%; padding: 34px 0 10px; }
  .hero-wordmark img { width: min(88%, 382px); }
  .stream-feature { gap: 15px; margin-top: 23px; }
  .clip-still { width: clamp(92px, 24vw, 135px); align-self: flex-start; margin-top: 3px; }
  .feature-copy h2 { font-size: 23px; }
  .feature-links { gap: 0 14px; margin-top: 3px; }
  .feature-link { min-height: 36px; font-size: 14px; }
  .hero-art { position: relative; margin: -15px calc(0px - var(--page-gutter)) 0; inset: auto; height: clamp(270px,61vw,362px); }
  .hero-art .sun { width: 36%; top: 5%; right: 1%; }
  .hero-art .floating-island { width: 66%; left: 26%; top: 3%; }
  .hero-art .earth { right: -26%; bottom: -24%; width: 91%; }
  .hero-art .cloud-far { width: 18%; left: 4%; top: 40%; }
  .hero-art .cloud-close { width: 13%; right: -4%; top: 52%; }
  .wardrobe-section { grid-template-columns: 1fr; gap: 26px; padding-block: 44px 51px; }
  .wardrobe-copy p { max-width: 510px; margin-top: 13px; }
  .wardrobe-copy .ink-link { margin-top: 9px; }
  .sample-sheet { min-height: 0; }
  .specimen img { width: clamp(87px,21vw,129px); }
  .sheet-inside { padding: 15px clamp(15px,4vw,27px) 19px; }
  .section-heading { gap: 8px 22px; }
  .video-shelf { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 17px; margin-top: 20px; }
}
@media (max-width: 480px) {
  .mast nav { gap: 13px; font-size: 13px; }
  .home-link img { width: 125px; }
  .discord-link { min-height: 36px; min-width: 36px; align-items: center; justify-content: center; padding: 2px; }
  .discord-link span,.discord-link i { display: none; }
  .hero-art { margin-top: 2px; height: clamp(249px,65vw,299px); }
  .hero-art .floating-island { width: 76%; left: 17%; top: 2%; }
  .specimens { gap: 2px; }
  .specimen .specimen-name { padding-inline: 6px; font-size: 13px; }
  .video-shelf { grid-template-columns: minmax(0,1fr); gap: 21px; }
  .video-card { display: grid; grid-template-columns: 43% 1fr; align-items: center; gap: 15px; }
  .video-card h3 { margin: 0; font-size: 18px; }
  .play-symbol { width: 23px; height: 20px; left: 5px; bottom: 5px; }
  .play-symbol::after { top: 4px; left: 7px; border-width: 5px 0 5px 8px; }
  .foot nav { gap: 13px; font-size: 13px; }
  .foot-brand img { width: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 370px) {
  .feature-links { column-gap: 10px; }
  .stream-feature { gap: 11px; }
  .clip-still { width: 78px; }
  .feature-link { font-size: 13px; }
  .mast-inner { gap: 9px; }
  .home-link img { width: 102px; }
  .mast nav { gap: 8px; }
  .foot-inner { gap: 12px; }
}

.hero.with-stream .hero-inner {
  display: grid; grid-template-columns: minmax(0, .76fr) minmax(400px, 1.24fr);
  gap: clamp(26px,4vw,67px); align-items: center; padding-block: clamp(29px,3.5vw,61px);
}
.hero.with-stream .hero-copy { width: auto; padding: 0; }
.hero.with-stream .floating-island, .hero.with-stream .cloud-far { display: none; }
.hero.with-stream .hero-art { position: absolute; inset: 0 -9% 0 47%; height: auto; margin: 0; }
.hero.with-stream .sun { right: 2%; top: -13%; }
.hero.with-stream .earth { right: -24%; bottom: -25%; }
.stream-console {
  position: relative; z-index: 1; width: 100%; align-self: center; max-width: 900px; min-width: 0;
  border: 3px solid #101a49; border-radius: 9px; background: #161d4e; color: var(--bone);
  box-shadow: 0 0 0 2px #a9a7ef, 6px 8px 0 #101646; scroll-margin-block: 16px;
}
.stream-cap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 39px;
  padding: 6px 14px; border-radius: 6px 6px 0 0; border-bottom: 2px solid #121940;
  background: linear-gradient(#404598,#343c83); box-shadow: inset 0 1px #a9aaef80;
  font: 700 13px/1.2 var(--display);
}
.broadcast-signal { display: inline-flex; align-items: center; gap: 9px; color: #fff8e3; text-transform: uppercase; letter-spacing: .085em; }
.broadcast-signal::before { content: ""; width: 9px; height: 9px; background: #d3d2f3; border-radius: 50%; box-shadow: 0 0 0 2px #151c4d; }
.stream-console[data-mode="live"] .broadcast-signal::before { background: #ff6d68; box-shadow: 0 0 0 2px #221b4d, 0 0 7px #ff7b7352; }
.stream-console[data-mode="preview"] .broadcast-signal::before { background: var(--gold); }
.stream-screen {
  width: 100%; position: relative; aspect-ratio: 16 / 9; min-height: 300px;
  background: #10153d; overflow: hidden;
}
.stream-screen iframe,.stream-screen video,.stream-screen img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
.stream-screen video { background: #0d1230; object-fit: contain; }
.stream-screen img { object-fit: cover; }
.stream-footer {
  display: flex; align-items: center; gap: 13px; justify-content: space-between;
  padding: 12px 15px; border-top: 2px solid #101638; background: #232959; border-radius: 0 0 6px 6px;
}
.stream-footer h2 { font: 700 clamp(15px,1.12vw,19px)/1.32 var(--display); letter-spacing: -.015em; overflow-wrap: anywhere; }
.stream-footer a { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: #ffdf87; padding: 4px 0; font: 700 13px/1.25 var(--body); }
.stream-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.stream-footer a .north-arrow { transform: scale(.8); }
.stream-size-note { padding: 8px 14px; font: 650 14px/1.35 var(--body); color: #fff1d1; background: #37396b; }
.stream-screen.narrow { min-height: 0; }
.stream-screen.narrow:empty { display: none; }
@media (min-width: 1800px) {
  .hero.with-stream .hero-inner { gap: 64px; }
}
@media (max-width: 950px) {
  .hero.with-stream .hero-inner { grid-template-columns: minmax(0,.68fr) minmax(406px,1.32fr); gap: 23px; }
}
@media (max-width: 760px) {
  .hero.with-stream .hero-inner { grid-template-columns: minmax(0,1fr); gap: 23px; min-height: 0; padding-block: 24px 29px; }
  .hero.with-stream .hero-wordmark img { width: min(75%, 244px); }
  .hero.with-stream .stream-feature { margin-top: 15px; }
  .hero.with-stream .hero-art { inset: 0 -13% 0 19%; }
  .hero.with-stream .sun { width: 28%; right: -3%; top: -6%; }
  .hero.with-stream .earth { width: 74%; bottom: -13%; }
}
/* Phones just over Twitch's minimum get the entire viewport for the player. */
@media (min-width: 400px) and (max-width: 475px) {
  .stream-console { width: 100vw; max-width: none; margin-inline-start: calc(0px - var(--page-gutter)); border-inline: 0; border-radius: 0; box-shadow: 0 2px 0 #a9a7ef; }
  .stream-footer,.stream-cap { border-radius: 0; }
}
@media (max-width: 510px) {
  .stream-footer { flex-wrap: wrap; gap: 5px 12px; padding: 10px 12px; }
  .stream-cap { padding-inline: 12px; }
}
@media (max-height: 510px) and (min-width: 480px) and (max-width: 950px) {
  .hero.with-stream .hero-inner { display: flex; flex-direction: column; align-items: stretch; padding-block: 15px 25px; gap: 20px; }
  .hero.with-stream .stream-console { order: -1; width: min(100%, 700px); margin: 0 auto; }
}

/* The controller and its link travel together with the original island. */
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); }
.floating-island { position: absolute; }
.island-frame { aspect-ratio: 1396 / 1602; }
.island-frame .island-picture { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; }
.island-picture.equipped { transform: translateY(-5.2071%); }
.handheld-link {
  pointer-events: auto; position: absolute; left: 63.25%; top: 24.35%; z-index: 1;
  width: max(10%, 44px); height: max(8%, 44px); transform: translate(-50%, -50%); border-radius: 7px;
}
.handheld-tag {
  position: absolute; left: 85%; bottom: 30%; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 7px; border: 1.5px solid var(--ink); border-radius: 3px;
  background: var(--paper); color: var(--ink); box-shadow: 2px 2px 0 var(--ink); white-space: nowrap;
  font: 700 clamp(10px, .85vw, 13px)/1.2 var(--display);
}
.handheld-tag i { width: 0; height: 0; border-left: 5px solid currentColor; border-block: 3.5px solid transparent; }
@media (hover: hover) and (pointer: fine) {
  .handheld-link:not(:hover, :focus-visible) .handheld-tag { opacity: 0; }
}
.handheld-link:is(:hover, :focus-visible) .handheld-tag { background: var(--gold); transform: translateY(-2px); }
.sample-link {
  display: grid; align-content: end; justify-items: center; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: inherit; font: inherit; cursor: pointer;
}
.sample-link:is(:hover, :focus-visible) .specimen-name { text-decoration: underline; text-underline-offset: 3px; }
.sample-link:is(:hover, :focus-visible) img { translate: 0 -4px; }
.sample-link img { transition: translate .15s ease-out; }

.fitting-window {
  position: fixed; inset: 0; margin: auto; width: min(560px, calc(100% - 32px)); max-width: none;
  max-height: calc(100dvh - 32px); overflow-y: auto; overflow-x: hidden; padding: 0;
  border: 3px solid var(--ink); border-radius: 6px; color: var(--ink); background: var(--paper); box-shadow: 5px 7px 0 var(--navy);
}
.fitting-window::backdrop { background: rgba(13, 19, 55, .72); }
.fitting-window[open] { animation: fit-open .17s ease-out; }
@keyframes fit-open { from { transform: translateY(8px) scale(.985); } to { transform: none; } }
.fitting-stage {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10; border-bottom: 2px solid var(--ink);
  background: var(--blue) url("/assets/sky.webp") center / cover;
}
.fitting-sun { position: absolute; width: 51%; height: auto; right: -8%; top: -12%; }
.fitting-cloud { position: absolute; width: 17%; height: auto; left: 4%; top: 33%; }
.fitting-art { position: absolute; width: 114%; left: -7%; top: 8%; }
.fitting-stage.swatch-only .fitting-art { position: absolute; width: 38%; left: 31%; top: 0; }
.fitting-close { position: absolute; right: 11px; top: 11px; margin: 0; }
.fitting-close button, .look-step button {
  display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0; border: 2px solid var(--ink);
  border-radius: 4px; color: var(--ink); background: var(--paper); box-shadow: 2px 3px 0 var(--ink);
}
.fitting-close button { font: 500 26px/1 var(--body); }
.fitting-close button:hover, .look-step button:hover { background: var(--gold); }
.fitting-controls { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 20px; padding: 16px 21px 14px; }
#look-rack { color: #4d5364; font: 650 13px/1.45 var(--body); }
.fitting-controls h2 { font: 700 clamp(27px, 3.4vw, 36px)/1.13 var(--display); letter-spacing: -.035em; }
.fitting-controls .ink-link { grid-column: 1 / -1; width: fit-content; font-size: 15px; }
.look-step { display: flex; gap: 9px; }
.look-step button:first-child .line-arrow, #back-to-videos .line-arrow { transform: rotate(180deg); }

.video-page .video-section { border-top: 0; min-height: 65vh; }
.catalog-heading h1 { font-size: clamp(46px,5.6vw,81px); line-height: 1; letter-spacing: -.065em; }
.channel-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 23px; }
.channel-links img { width: 27px; height: 27px; object-fit: contain; }
.video-shelf { list-style: none; padding: 0; }
.video-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 9px; margin-top: 14px; }
.upload-title { font-size: clamp(18px,1.6vw,25px); line-height: 1.21; letter-spacing: -.035em; overflow-wrap: anywhere; }
.upload-duration { color: #505669; font-size: 13px; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.upload-row:is(:hover, :focus-visible, [aria-current="true"]) .upload-title { text-decoration: underline; text-underline-offset: 3px; }
.watch-panel {
  width: min(100%, 910px); margin: 27px auto 36px; border: 3px solid var(--ink);
  border-radius: 8px; background: #151c49; color: var(--bone); box-shadow: 4px 6px 0 var(--ink); scroll-margin-block: 14px;
}
#back-to-videos { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; }
#back-to-videos:hover { text-decoration: underline; }
.watch-media { position: relative; aspect-ratio: 16 / 9; background: #10153d; }
.watch-media iframe, #watch-poster, #watch-poster img { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.watch-media .play-symbol { width: 42px; height: 34px; bottom: 13px; left: 13px; }
.watch-media .play-symbol::after { left: 15px; top: 8px; border-width: 8px 0 8px 12px; }

@media (max-width: 550px) {
  .catalog-heading { align-items: start; flex-direction: column; }
  .channel-links { gap: 6px 15px; }
}
@media (max-width: 480px) {
  .mast-inner { gap: 9px; }
  .home-link img { width: clamp(90px,28vw,125px); }
  .mast nav { gap: clamp(7px,2.25vw,12px); }
  .handheld-tag { left: 83%; bottom: 25%; padding: 3px 5px; }
  .video-caption { flex-direction: column; gap: 5px; margin: 0; }
  .upload-title { font-size: 18px; }
  .fitting-controls { padding: 12px 15px; }
}
@media (max-width: 370px) {
  .home-link img { width: 82px; }
  .mast nav { font-size: 12px; gap: 7px; }
  .discord-link { min-height: 32px; min-width: 32px; }
}
@media (max-height: 420px) {
  .fitting-window { width: min(480px, calc(100% - 32px)); }
  .fitting-stage { aspect-ratio: 2.45; }
}
