@import url("video-play.css");
@font-face{font-family:Source;src:url(../font/SourceSans3-Regular.ttf)}@font-face{font-family:Source;src:url(../font/SourceSans3-SemiBold.ttf);font-weight:600 900}
*{box-sizing:border-box}body{margin:0;color:#202e40;background:#f6f8fb;font:17px/1.5 Source,system-ui,sans-serif}header{position:relative;background:white;border-bottom:1px solid #dce4eb}.bar,main{max-width:1200px;margin:auto;padding:0 24px}.bar{min-height:66px;display:flex;align-items:center;justify-content:space-between}.logo{width:142px;display:block}main{padding-block:30px 58px}h1{font-size:clamp(32px,4vw,48px);line-height:1.1;margin:8px 0 18px;letter-spacing:-.035em}h2{font-size:23px;margin:28px 0 12px}.intro,.tile p,.book-head p{color:#526378}.intro{margin:-6px 0 22px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:26px;align-items:start}.left{min-width:0}a{color:#075fb5;text-decoration:none}a:hover strong,a.app:hover span{text-decoration:underline}.back,small{font-weight:600;font-size:14px}.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(205px,100%),1fr));gap:16px}.tiles.shelf{grid-template-columns:repeat(auto-fill,minmax(min(160px,100%),1fr))}.tile,aside,.paper,.game,.chat,.app-list{background:white;border:1px solid #dee5ed;border-radius:12px}.tile{overflow:hidden;color:inherit}.tile-text{padding:12px 14px}.tile strong{display:block;font-size:20px;line-height:1.18}.tile p{font-size:15px;margin:6px 0 0}.tile small,.book-head small{color:#466380}.art,.symbol{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.shelf .art{aspect-ratio:2/3}.shelf .tile p{display:none}.symbol{background:linear-gradient(135deg,var(--tint),#e8f3fc);display:grid;place-items:center;font-size:46px}.app-list{display:grid;padding:4px 14px}.app{display:flex;gap:12px;align-items:center;padding:11px 0;color:inherit;font-weight:600}.app+.app{border-top:1px solid #e8edf2}.app img{width:40px;height:40px;object-fit:cover;background:#eef3f8;border-radius:10px}aside{padding:16px}aside h2{margin:0 0 8px}aside .app-list{padding:0;border:0}.paper,.game,.chat{padding:clamp(18px,3vw,38px)}.paper>p{font:19px/1.75 Georgia,serif;max-width:64ch;margin:1em auto}.book-head{display:flex;gap:20px;align-items:center}.book-head img{width:90px;border-radius:6px}.book-head p{margin:4px 0}.paper .lede{font-style:italic;border-bottom:1px solid #dde4ec;padding-bottom:18px}video,.tool{display:block;width:100%;border-radius:12px;border:0}video{background:#192b44;aspect-ratio:16/9}.tool{height:690px;background:white}form{display:grid;gap:12px}label{font-weight:600}textarea,select,button{font:inherit;border:1px solid #bbc8d5;border-radius:8px;padding:10px}button{cursor:pointer;background:#006bc5;color:white;border:0;font-weight:600}form button,#restart{justify-self:start;padding-inline:24px}#reply{white-space:pre-wrap;overflow-wrap:anywhere}#reply:not(:empty){border-top:1px solid #dee5ed;margin-top:20px;padding-top:16px}#reply a{display:block}.game{text-align:center;background:#f4faff}.board{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;max-width:360px;margin:14px auto}.board button{background:#183d69;min-height:54px;font-size:20px}.board button:disabled{background:#d7e8f4;color:#123c63}.game p{min-height:26px}
@media(max-width:820px){.layout{grid-template-columns:minmax(0,1fr)}main,.bar{padding-inline:16px}.tiles,.tiles.shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.tile-text{padding:10px}.tile strong{font-size:17px}.tool{height:840px}.bar{min-height:56px}}
body {
  background-color: #fff;
}
.tiles.tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
@media (min-width:601px) { .tiles.tool-grid { grid-auto-rows: 1fr; } }
main > .tiles.tool-grid { grid-auto-rows: auto; }
.tile.tool-card {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  grid-template-rows: 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px #20344b12;
}
.tool-card .tile-text { padding: 0; }
.tool-card .tile-text p { display: block; line-height: 1.4; color: #9f9f9f; }
.tool-open {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid #adc7e4;
  border-radius: 24px;
  padding: 6px 14px;
  color: #075fb5;
  font-size: 15px;
  font-weight: 600;
}
.tool-card:is(:focus-visible,:hover) .tool-open { background: #edf5ff; }
@media(max-width:950px) { .tiles.tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .tiles.tool-grid { grid-template-columns: minmax(0,1fr); } }
.tiles.video-grid {
  grid-template-columns: repeat(auto-fill,minmax(min(300px,100%),1fr));
  gap: 24px;
}
.video-card { border: 0; border-radius: 0; }
.video-preview { position: relative; overflow: hidden; border-radius: 12px; }
.video-card .tile-text { padding: 10px 0; }
.video-card small { display: block; margin-top: 4px; }
body > header { height: 50px; }
header > .bar { height: 100%; min-height: 0; }
main:has(.watch-caption) { padding-top: 14px; }
main:has(.watch-caption) > .back { display: inline-block; margin-bottom: 8px; }
.watch-caption h1 { margin: 12px 0 4px; font-size: clamp(20px,2vw,24px); line-height: 1.25; }
.watch-caption .intro { margin: 0; font: 400 15px/1.5 Source, sans-serif; }
.watch-caption .video-like { display:inline-grid; place-items:center; width:44px; height:44px; margin:3px 0; padding:0; border:0; border-radius:50%; background:#edf2f5; color:#526573; cursor:pointer; }
.watch-caption .video-like[aria-pressed="true"] { background:#e2effc; color:#155a9c; }
.video-like[aria-pressed="true"] svg { fill:currentColor; }
.video-like:focus-visible { outline:2px solid #155a9c; outline-offset:2px; }
.watch-caption + details { margin-top: 8px; font-size: 14px; color: #526378; }
.video-card strong { font: 600 17px/1.3 Source, sans-serif; color: #172331; }
.video-card small { font: 400 13px/1.45 Arial, sans-serif; color: #646d76; }
.video-card .tile-text { padding: 9px 0 0; }
@media (min-width:768px) {
main:has(iframe.tool, .game) {
  padding-top: 12px;
  & > .back { display:inline-block; font-size:13px; }
  & > h1 { margin:0 0 10px; font-size:clamp(20px,2vw,26px); line-height:1.25; }
}
}
.tool-guide { margin:20px 0 24px; }
.left .tool-guide h2 { margin:0 0 12px; font-size:20px; }
.tool-guide ol { margin:0; padding:0; counter-reset:guide-step; }
.tool-guide li { display:grid; grid-template-columns:2ch minmax(0,1fr); column-gap:10px; align-items:baseline; counter-increment:guide-step; font-size:16px; line-height:1.55; }
.tool-guide li + li { margin-top:8px; }
.tool-guide li::before {
  content:counter(guide-step, decimal-leading-zero);
  color:#416974;
  font-size:14px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
main:has(iframe.tool) {
  & .tool-grid { grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr)); gap:10px; }
  & .tool-card { grid-template: auto / 38px 1fr; align-items:center; padding:12px; gap:10px; box-shadow:none; }
  & .tool-card:is(:hover,:focus-visible) { background:#f5f9fc; border-color:#a9c2d6; }
  & .tool-icon { width:38px; height:38px; }
  & .tool-card p { font-size:14px; margin:3px 0 0; }
  & .tool-open { display:none; }
  & .app-initial { flex:none; display:grid; place-items:center; width:40px; height:40px; border-radius:10px; background:#eaf1f7; color:#3f627d; font-size:15px; }
}
main:has(iframe[src$="/name-picker.html"]) > .layout { column-gap: 16px; }
@media (min-width:768px) {
main:has(iframe:is([src$="/calendar.html"], [src$="/screenshot-stitch.html"])) > h1 {
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 8px;
}
}
.layout .left .app-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
}
.layout .left .app-list > .app {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #f4f7fa;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.layout .left .app-list > .app img { flex: none; width: 64px; height: 64px; border-radius: 14px; }
.app .app-score {
  display: flex;
  align-items: center;
  justify-content: inherit;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: #526477;
}
.app-score b {
  flex: none;
  white-space: nowrap;
  background: linear-gradient(to right, var(--rating-color) var(--filled), #c5cdd5 var(--filled));
  width:65px;
  height:13px;
  mask:url("/static/rating-star-rounded.svg") left center / 20% 100% repeat-x;
  color: transparent;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}
@media (max-width: 600px) {
  .app .app-score { justify-content: center; }
}
.layout .left .app-list > .app:is(:hover, :focus-visible) { background: #eaf1f6; }
.layout :is(.app-list, aside) a.app:hover,
.layout :is(.app-list, aside) a.app:hover :is(span, strong) { text-decoration: none; }
@media (max-width: 600px) {
  .layout .left .app-list > .app {
    flex-direction: column;
    gap: 8px;
    padding: 12px 6px;
    text-align: center;
    font-size: 14px;
  }
}
main:has(iframe.tool) .tool-grid .tool-card {
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 6px;
  grid-template-rows: max-content;
  grid-auto-rows: max-content;
  align-content: center;
}
main:has(iframe.tool) .tool-grid .tool-icon {
  contain: size;
  justify-self: start;
  height: 100%;
  width: auto;
  aspect-ratio: 1;
  max-width: 100%;
  object-fit: contain;
}
main:has(iframe.tool) .tool-grid .tile-text {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.layout aside .app {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}
.layout aside .app :is(img, .app-initial, .studio-cover) {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
}
.layout aside .app-list .app > span:last-child {
  min-width: 0;
}
.layout :is(.tool-card strong, .shelf .tile strong, .video-grid .tile-text strong, .arcade-name, .pick-name, .related-name) {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.layout aside .related-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.layout aside .related-category {
  display:block;
  margin-top:3px;
  color:#596b79;
  font-size:13px;
  line-height:1.4;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.layout aside .app::after {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf3f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23385870' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h11m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.layout aside .app:is(:hover, :focus-visible)::after { background-color: #d9e8f3; }
@media(min-width:768px) { main:has(> .video-grid) > h1 { display:flex; align-items:baseline; gap:14px; margin:0 0 14px; font-size:clamp(30px,4vw,42px); } }
@font-face { font-family:Oxygen; src:url("../font/Oxygen-Regular.ttf") format("truetype"); font-display:swap; }
body:has(main > .video-grid), body:has(main > .video-grid) :is(a,summary,button,strong,small,.duration) { font-family:Oxygen,Arial,sans-serif; }
.video-filters button { display:inline-flex; align-items:center; gap:6px; }
.video-filters svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.video-filters { display:flex; gap:6px; overflow-x:auto; margin-bottom:18px; padding:3px 2px 7px; }
.video-category-menu { display:none; }
.video-filters button { flex:none; color:#465463; background:#f1f4f6; padding:7px 14px; border-radius:24px; font:400 15px/1.35 Source,sans-serif; }
.video-filters button[aria-pressed="true"] { background:#21374a; color:white; }
.video-spotlight { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:repeat(2,minmax(0,1fr)); gap:10px; height:clamp(280px,32vw,400px); margin-bottom:28px; }
.video-spotlight[hidden] { display:none; }
.video-spotlight .video-card { position:relative; border-radius:12px; background:#182332; }
.video-spotlight .video-card:first-child { grid-row:span 2; }
.video-spotlight .video-preview,.video-spotlight img { height:100%; }
.video-spotlight .video-preview::after { content:""; position:absolute; inset:35% 0 0; background:linear-gradient(transparent,#0e1927ed); }
.video-spotlight .duration { bottom:9px; right:9px; z-index:1; }
.video-spotlight .tile-text { position:absolute; inset:auto 16px 12px; padding-right:42px; }
.video-spotlight .video-card:first-child .play-mark {
  width:clamp(78px,8vw,110px);
}
.watch-trail { display:flex; align-items:center; gap:10px; margin-bottom:12px; font:400 13px/1.4 Oxygen,Arial,sans-serif; }
.watch-trail a { flex:none; padding:5px 10px; border-radius:6px; background:#edf3f7; color:#28485c; }
.watch-trail span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#566777; }
.watch-trail span::before { content:"›"; margin-right:10px; }
.watch-source { margin-top:28px; border-top:1px solid #e3e8ed; padding-top:10px; font-size:14px; color:#526378; }
.watch-source summary { cursor:pointer; }
.watch-caption ~ .tiles.video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.watch-caption ~ .video-grid .video-card { border:1px solid #e0e6eb; border-radius:12px; background:white; }
.watch-caption ~ .video-grid .video-preview { border-radius:0; }
.watch-caption ~ .video-grid .video-card { display:flex; flex-direction:column; }
.watch-caption ~ .video-grid .tile-text { display:flex; flex:1; flex-direction:column; gap:4px; padding:12px 14px; }
.video-card .tile-text strong,
.watch-caption h1 {
  display:block;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.watch-caption ~ .video-grid .tile-text small { margin-top:auto; }
.video-card .tile-text, .watch-caption ~ .video-grid .tile-text {
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  column-gap:9px;
  row-gap:3px;
}
.video-card .tile-text::before {
  content:"";
  grid-row:1 / span 2;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#e1e7e8 url("video-avatars.jpg") var(--avatar-position, 0% 0%) / 400% 400% no-repeat;
}
.video-card .tile-text > :is(strong,small) { grid-column:2; }
.watch-caption ~ .video-grid .video-card:is(:hover,:focus-visible) { border-color:#a5b8c8; }
@media(max-width:700px) {
  .watch-trail, main:has(.watch-caption) > .back { display:none; }
  main:has(.watch-caption) { padding-top:0; }
  main:has(.watch-caption) > .layout { margin-top:0; }
  .left:has(.watch-caption) > :is(.watch-player,video) { margin-inline:calc(50% - 50vw); width:100vw; }
  .left:has(.watch-caption) video { border-radius:0; object-fit:contain; }
  .watch-caption ~ .tiles.video-grid { grid-template-columns:minmax(0,1fr); }
}
.video-spotlight strong { color:white; font-size:20px; }
.video-spotlight .video-card:first-child strong { font-size:clamp(24px,3vw,34px); }
.video-spotlight small { color:#e1e7ed; }
main > .tiles.video-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px 16px; }
@media(max-width:900px) { main > .tiles.video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:767px) {
  main:has(> h1) { padding-top:10px; }
  main:has(> h1) > h1 { font-size:20px; line-height:24px; margin:0 0 10px; }
  main:has(> h1) > .back { display:none; }
  main:has(> h1) > h1 + .layout { margin-top:0; }
  main:has(> .video-grid) { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:8px; }
  main:has(> .video-grid) > h1 { margin:0; }
  .video-category-menu {
    display:block;
    justify-self:end;
    align-self:center;
    field-sizing:content;
    max-width:100%;
    height:28px;
    padding:0 5px;
    border:0;
    border-radius:5px;
    background:#f2f5f7;
    color:#43576a;
    font-size:13px;
    line-height:1.2;
  }
  .video-filters { display:none; }
  .video-spotlight, main > .tiles.video-grid { grid-column:1/-1; }
  .video-spotlight, main > .tiles.video-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .video-spotlight { height:auto; grid-template-rows:auto; margin-bottom:18px; }
  .video-spotlight .video-card { background:white; border-radius:0; }
  .video-spotlight .video-card:first-child { grid-row:auto; }
  .video-spotlight .video-preview { height:auto; aspect-ratio:16/9; }
  .video-spotlight .video-preview::after { display:none; }
  .video-spotlight .tile-text { position:static; padding:8px 0 0; }
  main:has(> .video-grid) .video-card strong { font-size:17px; line-height:1.35; color:#172331; }
  main .video-spotlight .video-card:first-child strong { font-size:16px; line-height:1.35; }
  main:has(> .video-grid) .video-card .tile-text { row-gap:1px; align-content:start; }
  main:has(> .video-grid) .video-card .tile-text::before { align-self:center; }
  main:has(> .video-grid) .video-card small { margin:0; line-height:1.25; color:#646d76; }
}
.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #101820df;
  color: white;
  font: 600 14px/1.5 Source,system-ui,sans-serif;
  font-variant-numeric: tabular-nums;
}
main:has(iframe.tool) > a.back[href="/tools.html"] { display: none; }
.watch-player { position:relative; }
.watch-player video { display:block; width:100%; }
.watch-player .watch-play {
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:clamp(56px,6vw,82px); aspect-ratio:1; padding:0; border:0;
  border-radius:50%; background:transparent url("video-play.png") center/contain no-repeat;
}
.watch-play[hidden] { display:none; }
@media(max-width:600px) {
  main .layout :is(.left, aside, .additional-picks) > h2 { font-size:20px; line-height:1.3; }
}
.app-list .pick-name {
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  overflow:hidden; line-height:1.35; height:2.7em;
}
.discover-footer {
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
  gap:12px 24px; max-width:1200px; margin:32px auto 0; padding:20px 24px;
  border-top:1px solid #dce4eb; color:#41586c;
}
.discover-footer img { display:block; height:auto; }
.discover-footer nav { display:flex; flex-wrap:wrap; gap:6px 18px; }
.discover-footer nav a { color:inherit; font-size:14px; padding-block:6px; }
.video-feedback { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin:8px 0 12px; }
.video-feedback #video-feedback-title { margin:0 6px 0 0; font-size:15px; line-height:1.4; font-weight:600; color:#405362; }
@media (max-width: 600px) {
  .watch-caption .video-feedback { column-gap: 0; }
  .watch-caption .video-feedback .video-like {
    box-sizing: border-box;
    border: 5px solid transparent;
    background-clip: padding-box;
  }
  .watch-caption .video-like svg { width: 16px; height: 16px; }
}
.video-dislike svg { transform:rotate(180deg); }
