/* Shared content; a separate browsing layout for phones. */
.resource-title-mobile,.resource-mobile-arrow,.resource-tab-icon,.resource-action-mobile{display:none}
.resource-v26 .resource-page-head{padding-bottom:0}
.resource-v26 .resource-controls{padding:0 0 24px}
.resource-category-anchor{height:0;scroll-margin-top:var(--review-toolbar-height,66px)}
.resource-category-nav .download-tab:focus-visible{outline:3px solid #253E9D;outline-offset:3px}
#resource-browser-panel:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}

@container site (max-width:720px){
  .resource-v26 .resource-page-head{padding:20px 0 4px}
  .resource-v26 .resource-page-head>.container>.eyebrow{display:none}
  .resource-v26 .resource-title-row{display:block}
  .resource-v26 .resource-title-row h1{font-size:32px;line-height:1.15;margin:0}
  .resource-v26 .resource-title-row>div:first-child>p{display:none}
  .resource-v26 .resource-utility-links{margin-top:10px;gap:6px 18px;padding:0}
  .resource-v26 .resource-utility-links a{font-size:16px;min-height:44px}
  .resource-v26 .resource-theme-download{border:0;background:transparent;padding:0;color:var(--accent);font-weight:600}

  /* A full-width, persistent set of three choices, never a hidden dropdown. */
  .resource-v26 .resource-category-nav{position:sticky;top:var(--review-toolbar-height,66px);z-index:35;background:#F5F5F3;padding:8px 0 12px;border-bottom:1px solid #E0E3E8}
  .resource-v26 .download-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0;padding:5px;border:1px solid #CFD8EC;border-radius:15px;background:#E9EDF7;box-shadow:0 3px 12px #283B6F0A}
  .resource-v26 .download-tab{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:10px 5px;min-height:82px;border:1px solid #D9DFEC;border-radius:10px;background:#FFF;color:#334361;font-size:16px;line-height:1.2;font-weight:600;text-align:center;white-space:normal;text-wrap:balance;min-width:0}
  .resource-v26 .download-tab>span{display:block}
  .resource-v26 .download-tab.active{background:#354FAE;border-color:#354FAE;color:#FFF;box-shadow:0 3px 8px #253C9026;font-weight:700}
  .resource-v26 .resource-tab-icon{display:block;flex:none;width:23px;height:23px;max-width:none}
  .resource-v26 .download-tab:hover:not(.active){background:#F7F9FD;border-color:#8298D1}

  .resource-v26 .resource-controls{padding:14px 0 16px}
  .resource-v26 .resource-category-download{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin:0 0 14px;padding:14px;border-radius:12px;background:#FFF}
  .resource-v26 .resource-category-download>div:first-child{min-width:0;flex-basis:auto}
  .resource-v26 .resource-category-download h2{font-size:17px;line-height:1.35}
  .resource-v26 .resource-category-download p{font-size:16px;line-height:1.4;margin-top:5px}
  .resource-v26 .resource-category-download>.btn{width:106px;min-width:0;min-height:52px;padding:10px 8px;font-size:16px;line-height:1.3;border-radius:9px;align-self:center}
  .resource-v26 .resource-category-download>.note{grid-column:1/-1}
  .resource-v26 .resource-action-full{display:none}
  .resource-v26 .resource-action-mobile{display:block}
  .resource-v26 .resource-search-bar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0}
  .resource-v26 .resource-search-bar .search-field,.resource-v26 .resource-search-bar select{min-height:48px;width:100%;margin:0;font-size:16px}
  .resource-v26 .resource-owner-hint{display:flex;flex-direction:row;justify-content:flex-end;margin-top:4px}
  .resource-v26 .resource-owner-hint>span{display:none}
  .resource-v26 .resource-owner-hint>a{font-size:16px;min-height:44px;align-items:center}
  .resource-v26 .resource-results-heading{margin:0 0 14px;gap:8px;align-items:center}
  .resource-v26 .resource-results-heading h2{font-size:21px;line-height:1.3}
  .resource-v26 .resource-results-heading>span{font-size:16px}

  /* Cover above title: the source image is never squeezed into a tall side rail. */
  .resource-v26 .resource-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;align-items:stretch}
  .resource-v26 .resource-game-card{border-radius:12px;min-width:0;border-color:#DCE0E6}
  .resource-v26 .resource-game-card>a{display:flex;flex-direction:column;grid-template-columns:none;padding:0;height:100%;min-width:0}
  .resource-v26 .resource-game-cover{display:block;flex:none;width:100%;height:auto;min-height:0;aspect-ratio:16/9;border:0;border-bottom:1px solid #E0E3E8;background:#ECEEEA}
  .resource-v26 .resource-game-cover>img{display:block;width:100%;height:100%;max-width:100%;max-height:none;min-height:0;aspect-ratio:auto;object-fit:contain;object-position:center}
  .resource-v26 .resource-game-copy{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-content:start;align-items:start;gap:7px;padding:13px 11px;min-width:0;flex:1}
  .resource-v26 .resource-game-copy>.resource-category,.resource-v26 .resource-game-copy>p,.resource-v26 .resource-card-bottom{display:none}
  .resource-v26 .resource-game-card h3{font-size:16px;line-height:1.4;letter-spacing:-.015em;margin:0;font-weight:650;overflow-wrap:break-word;word-break:normal}
  .resource-v26 .resource-title-full{display:none}
  .resource-v26 .resource-title-mobile{display:block}
  .resource-v26 .resource-mobile-arrow{display:block;font-size:20px;line-height:1.2;color:#4966D3}
  .resource-v26 .resource-game-card>a:focus-visible,.resource-v26 .resource-series-card:focus-visible{outline:3px solid #354FAE;outline-offset:-3px}

  /* A single representative image makes each series readable at phone size. */
  .resource-v26 .resource-series-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
  .resource-v26 .resource-series-card{border-radius:12px;border-color:#DCE0E6}
  .resource-v26 .resource-series-card .resource-series-composition{height:auto;aspect-ratio:1;display:flex;align-items:center;justify-content:center;padding:14px;background:#ECEEEA}
  .resource-v26 .resource-series-card .resource-series-composition>img{display:none}
  .resource-v26 .resource-series-card .resource-series-composition>img:first-child{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:none;box-shadow:none;border-radius:4px}
  .resource-v26 .resource-series-card>div:last-child{align-items:flex-start;gap:7px;padding:13px 11px}
  .resource-v26 .resource-series-card h3{font-size:16px;line-height:1.4;font-weight:650;margin:0}
  .resource-v26 .resource-series-card>div:last-child>span{font-size:20px;line-height:1.2}
  .resource-v26 .resource-results-section{padding-bottom:32px}
}

@container site (max-width:350px){
  .resource-v26 .download-tab{padding-inline:2px;font-size:16px}
  .resource-v26 .resource-game-grid,.resource-v26 .resource-series-grid{gap:10px}
  .resource-v26 .resource-game-copy{grid-template-columns:minmax(0,1fr);padding:12px 10px}
  .resource-v26 .resource-mobile-arrow{display:none}
  .resource-v26 .resource-category-download{grid-template-columns:minmax(0,1fr) 92px;padding:12px;gap:9px}
  .resource-v26 .resource-category-download>.btn{width:92px}
}
