/* Shared by the nine generated guides; generator links this stylesheet too. */
.guide-entry{display:flex;align-items:flex-start;flex-wrap:wrap;gap:.4rem 1.5rem;margin-top:1rem}
.guide-start{display:inline-flex;align-items:center;gap:.8rem;min-height:44px;color:var(--t-accent-light);font:500 .95rem/1.4 var(--sans)}
.guide-start::after{content:'↓';font-family:var(--mono)}
.guide-contents{display:none}
/* the page's scroll-padding-top already leaves the header and 1rem; a margin with the header too put a heading 100 px under it */
.gtext h2{scroll-margin-top:.25rem}
.gtext img{max-width:100%}
@media (max-width:999px){
  .guide-entry{display:block}
  .guide-contents{display:block;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:.75rem 0 0;padding:0;counter-increment:none}
  .guide-contents summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:.6rem 0;font:500 .95rem/1.4 var(--sans);color:var(--ink)}
  .guide-contents summary::before{display:none}
  .guide-contents summary::after{content:'+';position:static;font:400 1.2rem/1 var(--mono);transform:none;background:none;width:auto;height:auto}
  .guide-contents[open] summary::after{content:'−';transform:none}
  .guide-contents ol{list-style:none;padding:0 0 .75rem;margin:0}
  .guide-contents a{display:flex;align-items:center;min-height:44px;padding:.5rem 0;color:var(--ink2);font-size:.95rem;text-decoration:none}
  @media (hover:hover){.guide-contents a:hover{color:var(--t-accent-light)}}
  .guide-contents a:focus-visible{outline-offset:0}
  .gtoc-m{display:none}
  .ghero-copy{padding-right:0}
  .ghero{padding-bottom:1.5rem}
  .groom{height:min(clamp(15rem,70vw,28rem),48svh)}
  .gtext{min-width:0}
  .gtext ol.tl>li{padding-left:2.5rem}
}
@media (min-width:2000px){
  .gmain>.gstage>.wrap,.gline>.wrap,body>footer>.wrap{max-width:min(100% - 2*var(--gutter),100rem)}
  .gtext{max-width:70ch}
}
@media (max-width:380px){.top .brand{font-size:.9rem;gap:.45rem}.top nav{gap:.35rem}.top nav>.btn-ghost{display:none}}
/* text at 200% on a phone (UI-004): the header's name and buttons no longer fit and pushed the page 663 px wide. As on the
   home, the header measures itself; when it is narrow for its text the star goes and the name keeps only the logo
   (the name stays for screen readers) */
@media (max-width:999px){
  .top>.wrap{container-type:inline-size}
  .top .brand{min-width:0}
}
@container (max-width:16rem){
  .top nav>.btn-ghost{display:none}
  .top .brand span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* the page's address to type on the PC: it breaks only after a slash (it broke in the middle of a name, "cs2-ip-" / "ban") */
.copyrow .url .nw{white-space:nowrap}
/* the phone: the related guides as the same rows as every list of links (see site-refinements.css): a hairline, 16 px
   above and below, the title at 18 px in the display face, the grey line under it, the small chevron in place of the arrow */
@media (max-width:759px){
  .gmore ul a{grid-template-columns:minmax(0,1fr) 1rem;gap:.25rem 1rem;padding:1rem 0;align-items:start}
  .gmore ul a b{grid-column:1;grid-row:1;font-size:1.125rem;line-height:1.3;letter-spacing:-.015em}
  .gmore ul a span{grid-column:1;grid-row:2;font-size:.875rem;line-height:1.45}
  .gmore ul a svg{display:none}
  .gmore ul a::after{content:"";grid-column:2;grid-row:1/span 2;align-self:center;justify-self:end;width:.5rem;height:.5rem;margin-right:.2rem;border-top:1.5px solid var(--ink3);border-right:1.5px solid var(--ink3);transform:rotate(45deg)}
  /* the readout's note under the IP is a sentence: the text face (its label and the IP stay mono) */
  .ghero .ro-foot{font-family:var(--sans);letter-spacing:0}
}
/* the card's short facts (Free, Source published...) each had a line
   under it as long as its words, five short dashes of different lengths: two equal columns, no lines; and a guide that ends
   on a list drew its last line 60 px over the FAQ's own (two rules in a row) */
@media (max-width:759px){
  .gget .checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem}
  .gget .checks li{border:0;padding:0;min-width:0}
  .gtext > :last-child > li:last-child{border-bottom:0}
}
/* the screenshots page: each screenshot of the app whole, with its caption under it; the two main pages wide,
   the four others in a grid of two */
.shotfig{margin:1.25rem 0 0;border-radius:12px;overflow:hidden;background:var(--t-surface);box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.shotfig img{display:block;width:100%;height:auto}
.shotfig figcaption{padding:.75rem .9rem .8rem;background:var(--t-side);border-top:1px solid var(--line);font:400 .875rem/1.5 var(--sans);color:var(--ink2)}
.shotgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem;margin-top:1.25rem}
.shotgrid .shotfig{margin:0}
.shotgrid figcaption{font-size:.8125rem}
/* on a phone the 3D band (.gw, with its picture until the scene is ready) sits on its room in the page (.groom). The
   page's script puts it there only once the 3D script has loaded, and only on a resize: until then the band was 0 px high (an
   empty black room while the 3D loaded on 4G), and opening "On this page" moved the room down and left the scene behind the
   list. Where the browser can anchor (Chrome and Samsung Internet 125+, Safari 26), the band follows the room by itself */
@media (max-width:999px){
  @supports (anchor-name:--a){
    .gstage .groom{anchor-name:--groom}
    .gstage .gw{top:anchor(--groom top);height:anchor-size(--groom height);position-visibility:always}
  }
}
