@font-face {
  font-family: "RB Display"; src: url("/assets/rb90-space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "RB Text"; src: url("/assets/rb90-inter-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
.portal {
  --ink: #141417; --paper: #f7f6f1; --orange: #ff6b47; --quiet: #59595d;
  --display: "RB Display", Arial, sans-serif;
  --text: "RB Text", Arial, sans-serif;
  margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text);
}
.portal *, .portal *::before, .portal *::after { box-sizing: border-box; }
.portal { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.portal > main { flex: 1 0 auto; }
.portal [hidden] { display: none !important; }
.portal :where(h1,h2,h3,p,figure) { margin: 0; }
.portal :where(h1,h2,h3) { font: 700 2rem/1 var(--display); letter-spacing: -.055em; }
.portal a { color: inherit; text-decoration: none; }
.portal button { color: inherit; cursor: pointer; font: inherit; }
.portal :focus-visible { outline: 3px solid #f08745; outline-offset: 4px; }
.shell { width: min(1380px, calc(100% - clamp(40px, 8vw, 140px))); margin-inline: auto; }
.rb-portal-header { background: #111115; color: #f7f7f8; border-bottom: 1px solid #ffffff19; }
.topbar { min-height: 72px; display: flex; align-items: center; gap: clamp(20px,4vw,72px); }
.wordmark { display: inline-flex; align-items: center; flex: none; min-height: 44px; width: clamp(108px, 11vw, 158px); }
.wordmark img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(22px, 3vw, 52px); margin-left: auto; }
.site-nav a { display: flex; align-items: center; color: #c2c1c6; font-size: 14px; font-weight: 600; position: relative; }
.site-nav a:hover, .site-nav a[aria-current] { color: #fff; }
.site-nav a[aria-current]::after { content: ""; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; background: var(--orange); }
.contact-link { display: inline-flex; align-items: center; gap: 14px; border: 1px solid #ff987d; background: #ff987d; color: #271913 !important; padding: 7px 15px; min-height: 38px; border-radius: 22px; font-size: 14px; font-weight: 650; }
.contact-link .diagonal { color: inherit; }
.contact-link:hover { background: #ffc9b8; border-color: #ffc9b8; }
.diagonal, .period { color: var(--orange); }
.diagonal { font-size: 19px; line-height: 1; }
.sr-only,.rb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 50; left: 12px; top: 8px; background: #fff; padding: 9px 15px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.kicker,.news-meta { font: 700 11px/1.4 var(--text); letter-spacing: .105em; text-transform: uppercase; }
.text-action span { font-size: 19px; line-height: 1; }

/* The journal is printed on a lighter surface to mark the shift from play to reading. */
.journal-section,.updates-index { padding-block: clamp(38px,4.5vw,69px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: clamp(12px,1.3vw,21px); }
.section-head h2,.studio-copy h2,.game-related h2 { font-size: clamp(35px,4vw,60px); }
.section-heading h1,.game-summary h1,.article-shell h1 { font-size: clamp(40px,5.1vw,78px); }
.section-heading { margin-bottom: 36px; }
.text-action { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex: none; font-size: 14px; font-weight: 650; }
.text-action:hover,.backlink:hover,.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,32px); }
.news-card { display: block; min-width: 0; }
.news-picture { display: block; aspect-ratio: 1.6; overflow: hidden; border-radius: 5px; background: #e8e2d7; }
.news-picture img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .24s ease; }
.news-card:hover .news-picture img { transform: scale(1.025); }
.news-info { display: block; padding-block: 16px 12px; }
.news-meta,.kicker { display: block; color: var(--quiet); }
.news-title { display: block; margin-top: 8px; font: 700 clamp(20px,1.95vw,30px)/1.14 var(--display); letter-spacing: -.045em; text-wrap: pretty; }
.news-card:hover .news-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.news-meta span { color: #8c8981; margin-inline: .32em; }
.news-deck { color: #53504d; font-size: clamp(14px,1.12vw,17px); line-height: 1.48; margin-top: 8px !important; max-width: 60ch; text-wrap: pretty; }
.news-spread { grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); gap: 0 clamp(22px,3vw,48px); border-top: 1px solid #bcb9af; padding-top: 22px; }
.news-spread > .news-card:first-child { grid-row: span 2; }
.news-spread > .news-card:first-child .news-picture { aspect-ratio: 1.93; }
.news-spread > .news-card:first-child .news-title { font-size: clamp(28px,2.75vw,42px); line-height: 1.06; }
.news-spread > .news-card + .news-card { display: grid; grid-template-columns: minmax(125px,.78fr) minmax(0,1fr); gap: clamp(15px,1.65vw,26px); align-items: center; }
.news-spread > .news-card + .news-card .news-picture { aspect-ratio: 1.28; }
.news-spread > .news-card + .news-card .news-info { padding: 0; }
.news-spread > .news-card:nth-child(2) { border-bottom: 1px solid #d0cbc1; padding-bottom: 17px; }
.news-spread > .news-card:nth-child(3) { padding-top: 17px; }
.news-archive { margin-top: 35px; padding-top: 25px; border-top: 1px solid #bcb9af; }
.studio-section { background: #211f24; color: #fff5e6; }
.studio-split { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: clamp(24px,5vw,76px); padding-block: clamp(28px,3vw,48px); }
.studio-art { justify-self: end; width: min(100%,610px); }
.studio-art img { display: block; width: 100%; height: auto; border-radius: 5px; }
.studio-copy p { color: #d3d1d7; max-width: 46ch; margin-block: 17px 20px; }
.studio-contacts { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.studio-contacts a { display: inline-flex; align-items: center; min-height: 44px; gap: 9px; font-size: 14px; font-weight: 650; border-bottom: 1px solid #76747b; }
.studio-contacts a:hover { border-color: var(--orange); }
.rb-portal-footer { background: #111115; color: #f5f4f6; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.footer-inner .wordmark { width: 105px; }
.footer-inner nav { display: flex; gap: 8px 21px; flex-wrap: wrap; }
.footer-inner nav a,.footer-inner nav button { display: inline-flex; align-items: center; padding: 0; min-height: 32px; background: none; border: 0; color: #d1d0d3; font: 500 12px var(--text); }
.footer-inner nav :is(a,button):hover { color: #fff; text-decoration: underline; }
.footer-inner small { white-space: nowrap; font-size: 11px; color: #b8b7bb; }

.backlink,.back-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; }
.game-page { padding-top: 17px; }
.game-spread { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.1fr); gap: clamp(26px,5.4vw,85px); align-items: center; padding-block: 19px clamp(40px,5vw,80px); }
.game-summary .kicker { margin-bottom: 15px; }
.kicker span { margin-inline: 7px; }
.game-summary h1 { max-width: 12ch; }
.game-lead { font-size: clamp(18px,1.6vw,23px); line-height: 1.4; margin-top: 19px !important; max-width: 37ch; }
.game-details { color: var(--quiet); max-width: 44ch; margin-top: 13px !important; }
.device-panel {
  --game-spotlight: #b197f54d; --game-art-shadow: #1709244a; position: relative; isolation: isolate;
  background: linear-gradient(135deg,#553779,#2a1d43); border-radius: 10px; padding: clamp(16px,2.1vw,35px); min-width: 0;
}
[data-game-id="duckshelf"] .device-panel { --game-spotlight:#fff4ad; --game-art-shadow:#7b4f1444; background: linear-gradient(120deg,#ffd248,#ffed9e); }
[data-game-id="findchibi"] .device-panel { --game-spotlight:#87aeff55; --game-art-shadow:#0c18334d; background: linear-gradient(120deg,#346ca9,#173866); }
.rb-game-art { min-width: 0; }
.default-game-art { width: 100%; display: block; border-radius: 4px; }
.rb-stores { display: flex; gap: 8px; margin-top: 21px; flex-wrap: wrap; }
.rb-store { display: inline-flex; align-items: center; gap: 8px; background: #151519; border-radius: 6px; padding: 9px 11px; color: #fff !important; }
.rb-store:hover { background: #36363c; }
.rb-store-icon { width: 21px; height: 24px; }
.rb-store small,.rb-store strong { display: block; font-family: Arial,sans-serif; line-height: 1.15; }
.rb-store small { font-size: 9px; }
.rb-store strong { font-size: 15px; }
.game-related { padding: 32px 0 50px; border-top: 1px solid #ceccc5; }
.game-related h2 { font-size: clamp(28px,3vw,39px); }
.related-item { display: grid; grid-template-columns: clamp(140px,19vw,240px) minmax(0,1fr) auto; align-items: center; gap: clamp(16px,2.5vw,38px); padding-block: 16px; margin-top: 13px; border-block: 1px solid #c8c4ba; }
.related-item img { display: block; width: 100%; height: auto; border-radius: 4px; }
.related-item h3 { font-size: clamp(23px,2.6vw,36px); }
.related-item p { max-width: 59ch; color: var(--quiet); font-size: 15px; margin-top: 8px; }
.related-arrow { font-size: 22px; padding-inline: 7px; }
.related-item:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.article-shell { max-width: 1272px; padding-block: 16px clamp(48px,6vw,90px); }
.article-opening { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.14fr); align-items: center; gap: clamp(22px,4.8vw,77px); border-block: 1px solid #c9c5bb; padding-block: clamp(22px,2.4vw,38px); margin-block: 12px clamp(27px,3vw,48px); }
.article-opening header { max-width: 620px; }
.article-opening .news-meta { margin-bottom: 13px; }
.article-shell h1 { font-size: clamp(39px,4.5vw,71px); text-wrap: balance; }
.article-intro { font: 400 clamp(19px,1.6vw,25px)/1.44 Georgia, "Times New Roman", serif; margin-top: 17px !important; color: #4b4743; text-wrap: pretty; }
.article-byline { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.article-byline:hover { text-decoration: underline; }
.article-cover img { display: block; width: 100%; height: auto; border-radius: 5px; }
.article-body { max-width: 65ch; margin-inline: auto; font: 400 clamp(18px,1.5vw,22px)/1.7 Georgia, "Times New Roman", serif; color: #292624; }
.article-body p + p { margin-top: 1em; }
.article-related { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.article-related a { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid #a9a7a2; border-radius: 4px; font: 650 14px var(--text); min-height: 44px; }
.article-related a::after { content: "→"; }
.article-related a:hover { background: #e8e5df; }

/* Game-page device showcases. */
.rb-device-lineup {
  position: relative;
  container-type: inline-size;
  width: min(100%, 565px);
  aspect-ratio: 1.34;
  isolation: isolate;
}
.rb-device-lineup::before {
  position: absolute;
  z-index: -1;
  inset: 11% 3% 5%;
  border-radius: 46% 46% 32% 32%;
  background: radial-gradient(ellipse at 46% 49%, var(--game-spotlight), transparent 70%);
  content: "";
}
.rb-device {
  position: absolute;
  border: 1px solid #696a75;
  background: #19191e;
  box-shadow: 0 12px 25px var(--game-art-shadow);
}
.rb-device--tablet {
  inset: 7% auto auto 1%;
  width: 76%;
  padding: clamp(4px, 1.35cqw, 8px);
  aspect-ratio: 4 / 3;
  border-radius: clamp(8px, 2.65cqw, 16px);
}
.rb-device--phone {
  z-index: 2;
  right: 1%;
  bottom: 5%;
  width: 24%;
  padding: clamp(3px, .9cqw, 5px);
  border-radius: clamp(9px, 2.9cqw, 17px);
}
.rb-device > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: clamp(4px, 1.4cqw, 8px);
  object-fit: contain;
  background: #101014;
}
[data-game-id="duckshelf"] .rb-device--tablet {
  top: 10%;
  left: 70%;
  width: 28%;
  aspect-ratio: 3 / 4;
  background: #282423;
}
[data-game-id="duckshelf"] .rb-device--tablet img {
  background: linear-gradient(#fef5d8 0 8%, #e7dac5 8% 83%, #fef1cf 83% 91%, #fef5d8 91%);
}
[data-game-id="duckshelf"] .rb-device--phone {
  right: 0;
  bottom: 9%;
  width: 18%;
  aspect-ratio: 9 / 16;
}
.rb-duckshelf-cabinet {
  position: absolute;
  top: 19%;
  left: 0;
  width: 70%;
  height: auto;
  transform: scaleX(-1);
  filter: drop-shadow(0 10px 13px var(--game-art-shadow));
}
[data-game-id="findchibi"] .rb-device--tablet { top: 7%; width: 82%; aspect-ratio: 3 / 2; }
[data-game-id="findchibi"] .rb-device--phone { bottom: 2%; width: 53%; aspect-ratio: 20 / 9; }
.rb-findchibi-friend {
  position: absolute;
  top: 21%;
  right: 0;
  width: 17%;
  height: auto;
  z-index: -1;
  transform: rotate(9deg);
  filter: drop-shadow(0 7px 8px var(--game-art-shadow));
}
/* Gameplay video stays in the SudoMort phone. */
.phone-screen{position:relative;aspect-ratio:630 / 1284;border-radius:clamp(5px,1.7cqw,10px);overflow:hidden;background:#101014;isolation:isolate}
.phone-preview{display:block;position:relative;z-index:1;width:100%;height:100%;object-fit:cover;pointer-events:none}
.phone-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0;background:#101014}
.phone-mockup.is-video-playing .phone-preview{visibility:hidden}
.phone-mockup.is-video-playing .phone-video{z-index:2}
.phone-play{display:none;position:absolute;inset:0;z-index:3;width:100%;padding:3px;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:0;background:#21123e1a;color:#fff}
.has-phone-player .phone-play{display:flex}
.phone-play-icon{display:grid;place-items:center;width:clamp(29px,8.7cqw,47px);aspect-ratio:1;border:1px solid #fff8;border-radius:50%;background:#ffd45e;color:#21113e;box-shadow:0 0 0 4px #20113e88}
.phone-play-icon svg{width:53%;height:53%;margin-left:2px;fill:currentColor;stroke:none}
.phone-play-label{padding:4px 5px;border:1px solid #ffffff6e;border-radius:5px;background:#21123eeb;font:600 clamp(8px,2.1cqw,12px)/1.15 var(--text);color:#fff}
.phone-play:hover .phone-play-icon{background:#ffe18c}
.phone-play:focus-visible{outline-offset:-4px;border-radius:inherit}
.phone-loading{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;z-index:4;color:#fff;background:#20113e99;font:500 14px var(--text);pointer-events:none}
.phone-video-close{position:absolute;z-index:6;top:-16px;right:-10px;width:44px;height:44px;padding:0;border:0;background:transparent url('/assets/rb84-close-button-native.svg') center/44px 44px no-repeat}
.phone-video-close>*{display:none}
.phone-video-close:hover{filter:brightness(1.08)}
.phone-video-status:not(:empty){position:static!important;width:auto;height:auto;clip:auto;white-space:normal;margin:12px 0 0;padding:8px 12px;max-width:32ch;border-radius:5px;background:#fff;color:#421c78;font:400 14px/1.5 var(--text)}

.device-panel .rb-device-lineup { margin-inline: auto; }

@media (max-width: 1000px) {
  .footer-inner nav { gap: 4px 13px; }
}
@media (min-width: 721px) and (max-width: 970px) {
  .news-spread { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
  .news-spread > .news-card:first-child { display: grid; grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1.12fr 1fr; gap: 25px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid #d0cbc1; }
  .news-spread > .news-card:first-child .news-picture { aspect-ratio: 1.6; }
  .news-spread > .news-card + .news-card { display: block; padding: 0; border: 0; }
  .news-spread > .news-card + .news-card .news-picture { aspect-ratio: 1.77; }
  .news-spread > .news-card + .news-card .news-info { padding-top: 13px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .topbar { min-height: 62px; gap: 19px; }
  .wordmark { width: 102px; }
  .site-nav { gap: 17px; }
  .site-nav a { font-size: 13px; }
  .journal-section,.updates-index { padding-block: 33px; }
  .news-grid { gap: 16px; }
  .news-meta { font-size: 10px; }
  .studio-split { gap: 24px; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; gap: 12px 24px; }
  .footer-inner nav { flex: 1 1 65%; }
  .game-spread { grid-template-columns: 1fr; gap: 24px; }
  .device-panel { width: 100%; }
  .article-opening { grid-template-columns: 1fr; gap: 21px; }
  .news-spread { grid-template-columns: 1fr; }
  .news-spread > .news-card:first-child { grid-row: auto; }
  .news-spread > .news-card:first-child .news-picture { aspect-ratio: 1.7; }
  .news-spread > .news-card + .news-card { grid-template-columns: minmax(92px,30%) minmax(0,1fr); }
  .news-spread > .news-card:nth-child(2),.news-spread > .news-card:nth-child(3) { border-bottom: 0; border-top: 1px solid #d0cbc1; padding: 16px 0; }
  .news-spread > .news-card:first-child .news-info { padding-bottom: 19px; }
}
@media (max-width: 570px) {
  .news-grid,.studio-split { grid-template-columns: 1fr; }
  .related-item { grid-template-columns: minmax(90px,32%) minmax(0,1fr) auto; gap: 12px; }
  .related-item h3 { font-size: 22px; }
  .related-item p { display: none; }
  .related-arrow { padding: 0; font-size: 19px; }
  .studio-split { gap: 20px; }
  .news-spread { padding-top: 15px; gap: 0; }
  .news-spread > .news-card + .news-card .news-title { margin-top: 5px; font-size: 21px; line-height: 1.12; }
  .news-spread > .news-card + .news-card .news-deck { display: none; }
  .contact-link { min-height: 37px; padding-inline: 9px; justify-content: center; font-size: 12px; }
  .contact-link .diagonal { display: none; }
  .topbar { gap: 14px; }
  .footer-inner { align-items: flex-start; }
  .footer-inner nav { flex: 1 1 100%; }
}
@media (max-width: 440px) {
  .shell { width: calc(100% - 24px); }
  .topbar { gap: 10px; min-height: 57px; }
  .wordmark { width: 86px; }
  .site-nav { gap: clamp(9px,3vw,15px); }
  .site-nav a { font-size: 12px; }
  .section-head { gap: 9px; }
  .section-head h2 { font-size: 34px; }
  .text-action { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-picture img { transition: none; }
}
@media (max-width: 360px) {
  .topbar { gap: 7px; }
  .topbar .wordmark { width: 71px; }
  .site-nav { gap: 9px; }
  .contact-link { padding-inline: 6px; }
  .section-head h2 { font-size: 28px; }
}

