/* ---- fonts.css ---- */
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-0-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-1-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-2-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-3-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-4-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-5-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-6-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-7-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-8-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-9-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-10-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-11-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-12-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-13-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-14-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-15-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-16-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-17-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-18-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-19-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-20-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-21-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2JL7SUc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-22-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa0ZL7SUc.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-23-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2ZL7SUc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-24-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1pL7SUc.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-25-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa2pL7SUc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-26-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa25L7SUc.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-27-UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/sg-28-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/sg-29-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/sg-30-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/sg-31-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/sg-32-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/sg-33-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sg-34-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sg-35-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/sg-36-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sg-37-V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sg-38-V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/sg-39-V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- app.css ---- */
/* wallpaper.news — premium dark gallery. Space Grotesk (display) + Inter (UI). */
:root{
  --bg:#08080a; --bg2:#0e0e11; --panel:#141418; --panel2:#1b1b21;
  --ink:#f5f5f7; --mut:#a1a1aa; --dim:#71717a;
  --line:rgba(255,255,255,.09); --line2:rgba(255,255,255,.06);
  --accent:#6d6cff; --accent2:#8f7bff;
  --r:16px; --r-sm:10px;
  --wrap:1440px;
  /* single refined hue, not a rainbow — reads premium, lets photos carry colour */
  --grad:linear-gradient(135deg,var(--accent),var(--accent2));
  --ease:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
  font:400 15px/1.6 "Inter",-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:inherit;text-decoration:none}
img{display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.wrap.wide{max-width:var(--wrap)} /* same width everywhere → header/footer/content align on all pages */
h1,h2,h3,.brand{font-family:"Space Grotesk","Inter",sans-serif;letter-spacing:-.02em}
h1{font-size:clamp(1.8rem,4vw,3rem);font-weight:700;margin:0 0 .3rem;line-height:1.05}
h2{font-size:1.35rem;font-weight:600;margin:0}
h3{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--mut);margin:1.2rem 0 .6rem}
.lead{color:var(--mut);font-size:1.02rem;margin:.2rem 0 0}
.cat-intro{max-width:820px;color:var(--mut);font-size:.98rem;line-height:1.8;margin:.55rem 0 .3rem}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .45rem;font-size:.8rem;line-height:1.5;color:var(--dim);margin:1.1rem 0 .4rem}
.crumbs a{color:var(--mut);transition:color .2s}.crumbs a:hover{color:var(--ink)}
.crumbs i{font-style:normal;color:var(--dim)}
.crumbs span{max-width:min(60vw,520px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
[dir=rtl] .crumbs i{display:inline-block;transform:scaleX(-1)}
.side .crumbs{margin-top:0}

/* ---------- Header ---------- */
header.site{position:sticky;top:0;z-index:50;
  background:color-mix(in srgb,var(--bg) 78%,transparent);
  backdrop-filter:saturate(160%) blur(18px);border-bottom:1px solid var(--line2)}
header.site .wrap{display:flex;align-items:center;gap:26px;height:64px}
.brand{font-size:1.3rem;font-weight:700;letter-spacing:-.03em;white-space:nowrap;flex-shrink:0}
.brand::after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--grad);margin-left:2px;vertical-align:baseline}
nav.main{display:flex;gap:22px}
nav.main a{color:var(--mut);font-weight:500;font-size:.92rem;transition:color .2s}
nav.main a:hover{color:var(--ink)}
/* Partner links right of "Journal": set apart by a hairline, gradient label, ↗ mark.
   Full label on wide screens, short label as the bar narrows — never wraps. */
nav.main{align-items:center;min-width:0}
nav.main a{white-space:nowrap}
nav.main .nav-sep{width:1px;height:16px;background:var(--line);flex:0 0 auto}
nav.main a.ext{display:inline-flex;align-items:center;gap:3px;font-weight:600;
  background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
nav.main a.ext i{font-style:normal;font-size:.72em;opacity:.85;-webkit-text-fill-color:var(--accent)}
nav.main a.ext:hover{filter:brightness(1.25)}
nav.main a.ext .l-short{display:none}
/* Header fit levels. Brand and labels differ a lot in length between the 19
   languages, so app.js measures the bar and steps down until nothing overflows:
   .compact (short partner labels) → .tight (smaller gaps / search) → .stack (nav
   moves to a second, horizontally scrollable row). The media queries below are
   only the no-JS / first-paint defaults. */
header.site.compact nav.main a.ext .l-full{display:none}
header.site.compact nav.main a.ext .l-short{display:inline}
header.site.tight .wrap{gap:16px}
header.site.tight nav.main{gap:14px}
header.site.tight nav.main a{font-size:.86rem}
header.site.tight .search input{width:150px}
header.site.tight .search input:focus{width:180px}
@media (min-width:761px){
  header.site.stack .wrap{flex-wrap:wrap;height:auto;padding-top:10px;row-gap:0}
  header.site.stack nav.main{order:3;flex-basis:100%;overflow-x:auto;gap:18px;
    padding:4px 0 10px;scrollbar-width:none}
  header.site.stack nav.main::-webkit-scrollbar{display:none}
  header.site.stack .search{margin-left:0}
}
@media (max-width:1200px){
  nav.main a.ext .l-full{display:none}
  nav.main a.ext .l-short{display:inline}
}
header .search{margin-left:auto}
header .search input{background:var(--panel);border:1px solid var(--line);color:var(--ink);
  border-radius:999px;padding:9px 18px;width:220px;outline:none;font-size:.9rem;transition:.2s}
header .search input::placeholder{color:var(--dim)}
header .search input:focus{border-color:var(--accent);width:260px;background:var(--panel2)}

/* ---------- Hero ---------- */
.hero{position:relative;margin:0 0 8px;padding:clamp(3rem,9vw,6.5rem) 0;overflow:hidden;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;z-index:-2;
  background:var(--hero-p) center/cover no-repeat;filter:saturate(1.05)}
@media(max-width:720px){.hero::before{background-image:var(--hero-t)}}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(120% 100% at 50% 0,transparent,var(--bg) 78%),
             linear-gradient(0deg,var(--bg),transparent 60%),rgba(8,8,10,.42)}
.hero-in{max-width:var(--wrap);margin:0 auto;padding:0 24px;text-align:center}
.hero-in .lead{margin:.5rem auto 0;max-width:540px}
.hero-search{display:flex;max-width:520px;margin:1.6rem auto 1.4rem;
  background:rgba(20,20,24,.7);border:1px solid var(--line);border-radius:999px;
  backdrop-filter:blur(10px);overflow:hidden}
.hero-search input{flex:1;background:none;border:0;color:var(--ink);padding:14px 22px;font-size:1rem;outline:none}
.hero-search input::placeholder{color:var(--mut)}
.hero-search button{border:0;background:var(--grad);color:#fff;font-size:1.1rem;width:54px;cursor:pointer;transition:filter .2s}
.hero-search button:hover{filter:brightness(1.12)}
.hero .chips{justify-content:center}

/* ---------- Chips / category pills ---------- */
.chips{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-start}
.chip{background:var(--panel);border:1px solid var(--line);padding:7px 16px;border-radius:999px;
  font-size:.85rem;color:var(--mut);transition:.2s}
.chip:hover{border-color:transparent;background:var(--panel2);color:var(--ink);transform:translateY(-1px)}

/* ---------- Sections ---------- */
section{margin:2.4rem 0}
.sec-head{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 1.1rem}
.more{color:var(--mut);font-size:.88rem;font-weight:500;transition:color .2s}
.more:hover{color:var(--accent)}
.more-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.2rem 1.1rem;margin-left:1rem;text-align:right}

/* ---------- Masonry gallery ---------- */
/* Real flex columns (built by app.js) — NOT CSS column-count, which mis-renders on
   iOS WebKit (right column flickers in/out). .mcol = one column; app.js packs each
   card into the shortest column. Pre-JS/no-JS: cards fall back to a 2-col wrap. */
.masonry{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.masonry .mcol{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
/* Pre-JS/no-JS fallback widths, matched to the JS column counts (2/3/4) so there's
   no reflow flash on desktop before app.js builds the real columns. */
.masonry>.card{width:calc(50% - 6px)}
@media(min-width:721px){.masonry>.card{width:calc(33.333% - 11px)}}
@media(min-width:1101px){.masonry>.card{width:calc(25% - 12px)}}
@media(max-width:720px){.masonry{gap:12px}}
.card{position:relative;display:block;width:100%;margin:0 0 16px;border-radius:var(--r);
  overflow:hidden;background:var(--panel);break-inside:avoid;-webkit-column-break-inside:avoid;
  -webkit-column-break-before:auto;isolation:isolate;
  box-shadow:0 1px 2px rgba(0,0,0,.4);transition:box-shadow .3s}
.card img{width:100%;height:auto;display:block}
.card.tall img{aspect-ratio:9/16;object-fit:cover}
.card .kind{position:absolute;top:10px;inset-inline-end:10px;width:26px;height:26px;display:grid;place-items:center;
  border-radius:8px;color:#fff;background:rgba(0,0,0,.42);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.16)}
/* Hover = quiet edge glow, no zoom — images stay pixel-true. */
.card:hover{box-shadow:0 0 0 1px rgba(255,255,255,.5),0 0 26px -6px rgba(255,255,255,.35)}
.card .overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;
  padding:14px;gap:5px;opacity:0;transition:opacity .3s;
  background:linear-gradient(0deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.15) 45%,transparent 70%)}
.card:hover .overlay{opacity:1}
.card .overlay .t{font-size:.9rem;font-weight:600;line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .overlay .row{display:flex;gap:8px;align-items:center}
.card .overlay i{font-style:normal;font-size:.72rem;font-weight:600}
.card .overlay .res{background:rgba(255,255,255,.16);backdrop-filter:blur(6px);color:#fff;
  padding:2px 8px;border-radius:6px;letter-spacing:.03em;border:1px solid rgba(255,255,255,.14)}
.card .overlay .dl{color:#d4d4d8}

/* ---------- Detail ---------- */
.detail{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;margin:1.5rem 0 0;align-items:start}
.detail .stage{border-radius:var(--r);overflow:hidden;background:var(--panel);
  box-shadow:0 20px 60px -20px rgba(0,0,0,.7);position:sticky;top:88px}
.detail .stage img{width:100%;height:auto}
.side h1{font-size:1.5rem}
.side .lead{font-size:.95rem;margin-top:.5rem}
.btn{display:flex;align-items:center;justify-content:center;gap:8px;
  background:var(--grad);color:#fff;font-weight:600;font-size:1rem;padding:15px;border-radius:12px;
  margin:1.1rem 0;box-shadow:0 8px 24px -8px var(--accent);transition:.2s}
.btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
.btn.disabled{opacity:.45;pointer-events:none;background:var(--panel2);box-shadow:none}
.ts-holder{margin:.6rem 0 0;display:flex;justify-content:center}
.ts-holder:empty{display:none}
/* Cross-sell to img.diy — the whole card is one link (text = the link). */
.more-tools{display:flex;align-items:center;gap:13px;margin:.5rem 0 1.1rem;
  padding:13px 15px;border:1px solid var(--line);border-radius:14px;
  background:var(--panel);text-decoration:none;transition:border-color .2s,background .2s,transform .2s}
.more-tools:hover{border-color:var(--accent);background:var(--panel2);transform:translateY(-1px)}
.more-tools .mt-ic{flex:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:var(--grad);color:#fff;box-shadow:0 6px 16px -6px var(--accent)}
.more-tools .mt-ic svg{width:19px;height:19px}
.more-tools .mt-p{flex:1;font-size:.8rem;line-height:1.5;color:var(--mut)}
.more-tools:hover .mt-p{color:var(--ink)}
.more-tools .mt-arrow{display:none}
/* Download feedback toast — floats bottom-center, never shifts layout. */
#wp-toast{position:fixed;left:50%;bottom:2rem;transform:translate(-50%,1rem);z-index:9999;
  max-width:90vw;padding:.7rem 1.15rem;border-radius:999px;
  background:rgba(20,20,24,.94);color:#fff;font-size:.92rem;font-weight:500;
  border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 28px rgba(0,0,0,.5);
  opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;backdrop-filter:blur(8px)}
#wp-toast.show{opacity:1;transform:translate(-50%,0)}
.dlbox{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;margin:1.1rem 0}
.dlbox p{margin:0 0 .8rem;color:var(--mut);font-size:.88rem}
.specs{display:grid;grid-template-columns:auto 1fr;gap:0;margin:1.2rem 0;font-size:.9rem;
  border:1px solid var(--line);border-radius:14px;overflow:hidden}
.specs dt{color:var(--mut);padding:11px 16px;background:var(--panel);border-bottom:1px solid var(--line2)}
.specs dd{margin:0;padding:11px 16px;text-align:right;border-bottom:1px solid var(--line2)}
.specs dt:last-of-type,.specs dd:last-of-type{border-bottom:0}
.specs a{color:var(--accent)}
.attr{font-size:.82rem;color:var(--dim);margin:.4rem 0}
.attr a{color:var(--mut)}
/* Author row + Like button (pure-fun heart fireworks, nothing logged) */
.attr-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.4rem 0}
.attr-row .attr{margin:0}
.like-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;
  border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--dim);cursor:pointer;
  transition:transform .12s ease,background .2s,color .2s,border-color .2s,box-shadow .2s;
  -webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
.like-btn svg{width:22px;height:22px;fill:currentColor;transition:fill .2s}
.like-btn:hover{color:#ff6b88;border-color:#ff6b88;background:var(--panel2)}
.like-btn:active{transform:scale(.88)}
.like-btn.liked{color:#ff4d6d;border-color:#ff4d6d}
.like-btn.combo{box-shadow:0 0 0 4px rgba(255,77,109,.18)}
.like-btn svg.pop{animation:likePop .32s ease}
@keyframes likePop{0%{transform:scale(1)}35%{transform:scale(1.45)}60%{transform:scale(.9)}100%{transform:scale(1)}}
/* Flying heart particles — appended to <body>, fixed at the button, fan upward + fade */
.fx-heart{position:fixed;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);
  will-change:transform,opacity;animation:fxFly var(--dur,1.2s) cubic-bezier(.2,.7,.35,1) forwards}
.fx-heart svg{width:100%;height:100%;fill:currentColor;display:block;filter:drop-shadow(0 2px 6px rgba(255,77,109,.5))}
@keyframes fxFly{
  0%{transform:translate(-50%,-50%) scale(.3) rotate(0);opacity:0}
  12%{opacity:1;transform:translate(-50%,-50%) scale(1.1) rotate(0)}
  100%{transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(var(--s)) rotate(var(--r));opacity:0}
}
@media (prefers-reduced-motion:reduce){.fx-heart{animation-duration:.6s}}
.tags .tag{display:inline-block;background:var(--panel);border:1px solid var(--line);
  padding:6px 13px;border-radius:8px;font-size:.8rem;margin:0 7px 7px 0;color:var(--mut);transition:.2s}
.tags .tag:hover{color:var(--ink);border-color:var(--accent);background:var(--panel2)}

/* Left/right random-nav click zones over the detail image (SEO + UX) */
/* position:relative (containing block for the navzones) with top:0 — must reset the
   sticky rule's top:88px, otherwise a relative box is shoved 88px down the page. */
.detail .stage{position:relative;top:0}
.navzone{position:absolute;top:0;bottom:0;width:24%;display:flex;align-items:center;
  text-decoration:none;opacity:0;transition:opacity .25s;z-index:2}
.navzone.left{left:0;justify-content:flex-start;padding-left:16px;background:linear-gradient(90deg,rgba(0,0,0,.4),transparent)}
.navzone.right{right:0;justify-content:flex-end;padding-right:16px;background:linear-gradient(270deg,rgba(0,0,0,.4),transparent)}
.detail .stage:hover .navzone{opacity:1}
.navzone span{width:46px;height:46px;border-radius:50%;background:rgba(20,20,24,.72);
  backdrop-filter:blur(8px);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:1.6rem;line-height:1;border:1px solid var(--line)}

/* Infinite-scroll sentinel + loader + view-all */
.feed-more{display:flex;flex-direction:column;align-items:center;gap:14px;padding:2rem 0;min-height:60px}
.feed-more .spin{width:26px;height:26px;border:3px solid var(--line);border-top-color:var(--accent);
  border-radius:50%;animation:spin .8s linear infinite}
.feed-more.done .spin{display:none}
@keyframes spin{to{transform:rotate(360deg)}}
.viewall{display:inline-block;background:var(--panel);border:1px solid var(--line);color:var(--ink);
  font-weight:600;padding:12px 26px;border-radius:999px;transition:.2s}
.viewall:hover{border-color:var(--accent);background:var(--panel2)}
.feed-more .viewall{background:var(--accent);border-color:var(--accent);color:#fff;padding:14px 34px;font-size:1.02rem;
  box-shadow:0 6px 22px rgba(0,0,0,.28)}
.feed-more .viewall:hover{filter:brightness(1.08);background:var(--accent)}
.feed-more.done{padding-bottom:.6rem}

/* ---------- Content pages (About/Privacy/Terms) ---------- */
.prose{max-width:760px;margin:2.5rem auto;line-height:1.8}
.prose h1{margin:0 0 1.4rem}
.prose p{margin:0 0 1.1rem;color:var(--mut);font-size:1.02rem}
.prose strong{color:var(--ink);font-weight:600}
.prose em{color:var(--ink)}

/* ---------- Blog / Journal ---------- */
.blog-head{text-align:center;padding:2.4rem 0 1.6rem;max-width:640px;margin:0 auto}
.blog-head .lead{margin-top:.6rem}
/* Post index grid — editorial cards with a soft cover crop. */
.post-grid{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));margin:1.4rem 0 3rem}
.post-grid.big{grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr))}
.post-card{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line2);
  border-radius:var(--r);overflow:hidden;transition:box-shadow .3s,border-color .3s}
.post-card:hover{border-color:rgba(255,255,255,.5);
  box-shadow:0 0 0 1px rgba(255,255,255,.4),0 0 26px -6px rgba(255,255,255,.35)}
/* Cover crop: 2:1 box is shorter than the 16:9 source → cover overflows vertically,
   and the 32%-from-top position biases the crop to the BOTTOM edge — the baked-in
   bottom-right watermark never makes it into the card. */
.post-card .pc-img{display:block;aspect-ratio:2/1;background:var(--panel2) center 32%/cover no-repeat}
.post-card .pc-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%}
.post-card .pc-body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:.35rem}
.post-card .pc-body b{font-family:"Space Grotesk","Inter",sans-serif;font-size:1.05rem;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.post-card .pc-dek{color:var(--mut);font-size:.9rem;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* Phone-wallpaper essay card: the tall cover stands beside the text, same footprint as a
   landscape card, so the two kinds sit in one grid without a crop. */
.post-card.portrait{flex-direction:row;min-height:270px}
.post-card.portrait .pc-img{position:relative;flex:0 0 38%;aspect-ratio:auto}
.post-card.portrait .pc-img img{position:absolute;inset:0;object-position:center}
.post-card.portrait .pc-body{flex:1;min-width:0;gap:12px;overflow-wrap:anywhere;hyphens:auto}
.post-card .pc-flow{display:flex;flex-direction:column;gap:.35rem}
/* Title + dek share one six-line budget, so a very long headline can't stretch the row. */
.post-card.portrait .pc-text{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.post-card.portrait .pc-flow{display:block}
.post-card.portrait .pc-flow b{display:block}
.post-card.portrait .pc-dek{display:block;overflow:visible;-webkit-line-clamp:none;margin-top:.35rem}
/* Tag floats in the top corner; the headline wraps around it, however long it runs. */
.post-card .pc-tag{float:right;margin:2px 0 4px 10px;font-size:.7rem;font-weight:600;letter-spacing:.04em;line-height:1.5;white-space:nowrap;
  color:var(--accent2);border:1px solid rgba(143,123,255,.4);border-radius:999px;padding:1px 9px}
[dir=rtl] .post-card .pc-tag{float:left;margin:2px 10px 4px 0}
.post-card .pc-thumbs{flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:170px}
/* Absolute images: the thumbs take the space left in the card and never set its height. */
.post-card .pc-th{position:relative;display:block;min-width:0}
.post-card .pc-th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:8px}

/* Article */
.post{margin:0 auto}
.post-hero{position:relative;isolation:isolate;border-radius:var(--r);overflow:hidden;
  margin:.5rem 0 2.2rem;padding:clamp(3rem,10vw,6rem) clamp(1.4rem,5vw,4rem);min-height:340px;
  display:flex;align-items:flex-end}
.post-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--cover) center/cover no-repeat;filter:saturate(1.05)}
.post-hero::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(0deg,rgba(6,6,8,.96) 8%,rgba(6,6,8,.55) 55%,rgba(6,6,8,.62))}
.post-hero .ph-in{max-width:820px}
.eyebrow{display:inline-block;font-size:.74rem;font-weight:600;text-transform:uppercase;letter-spacing:.14em;
  color:var(--accent2);margin-bottom:.7rem}
.post-hero h1{margin:0}
.post-hero .dek{color:#e7e7ea;font-size:clamp(1.02rem,2vw,1.22rem);line-height:1.5;margin:.7rem 0 0;max-width:660px;font-weight:400}
.post-meta{color:var(--dim);font-size:.85rem;margin:1rem 0 0;letter-spacing:.02em}
/* Reading column — literary measure, generous leading. */
.post-body{max-width:680px;margin:0 auto;line-height:1.85}
.post-body p{margin:0 0 1.25rem;color:#cfcfd6;font-size:1.08rem}
/* Drop cap only for Latin/Cyrillic scripts — CJK/Arabic have no such tradition and
   a giant first glyph rips words apart (e.g. zh "倒影" → "倒" + "影…"). */
html:lang(en) .post-body p:first-child::first-letter,
html:lang(es) .post-body p:first-child::first-letter,
html:lang(de) .post-body p:first-child::first-letter,
html:lang(fr) .post-body p:first-child::first-letter,
html:lang(pt) .post-body p:first-child::first-letter,
html:lang(ru) .post-body p:first-child::first-letter{font-family:"Space Grotesk","Inter",sans-serif;
  font-size:3.1rem;font-weight:700;float:left;line-height:.86;padding:.05em .12em 0 0;color:var(--ink)}
.post-body em{color:var(--ink);font-style:italic}

/* Lead spread + gallery figures */
.post-lead{display:grid;gap:20px;grid-template-columns:1fr 1fr;margin:2.4rem auto;max-width:var(--wrap)}
.post-shot{margin:0;border-radius:var(--r);overflow:hidden;background:var(--panel);
  border:1px solid var(--line2);transition:box-shadow .3s,border-color .3s}
.post-shot a{display:block;overflow:hidden}
.post-shot img{width:100%;height:auto}
.post-shot:hover{border-color:rgba(255,255,255,.5);
  box-shadow:0 0 0 1px rgba(255,255,255,.4),0 0 26px -6px rgba(255,255,255,.35)}
.post-shot figcaption{display:flex;align-items:baseline;gap:12px;
  padding:11px 15px;font-size:.9rem;color:var(--mut)}
.post-shot figcaption a{color:var(--ink);font-weight:500;transition:color .2s;flex:1;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.post-shot figcaption a:hover{color:var(--accent2)}
.post-shot figcaption .num{font-family:"Space Grotesk","Inter",sans-serif;font-size:.72rem;
  font-weight:700;color:var(--accent2);letter-spacing:.06em;flex:none}
.post-shot figcaption .res{font-size:.72rem;font-weight:600;color:var(--dim);flex:none}
.post-gallery{max-width:var(--wrap);margin:2.6rem auto 0}
.gal-head{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--mut);
  border-top:1px solid var(--line2);padding-top:1.4rem;margin-bottom:1.4rem}
.post-gallery .shots{columns:2;column-gap:20px}
.post-gallery .shots .post-shot{break-inside:avoid;margin-bottom:20px}
.post-cta{text-align:center;margin:2.8rem 0 1rem}
.btn.ghost{display:inline-flex;background:transparent;border:1px solid var(--line);color:var(--ink);
  box-shadow:none;padding:12px 26px}
.btn.ghost:hover{background:var(--panel);filter:none}
.related{max-width:var(--wrap);margin:3rem auto 1rem;border-top:1px solid var(--line2);padding-top:1.8rem}
.related h2{margin-bottom:1.2rem}
/* Four related cards: fixed 4 / 2 / 1 columns so a row never ends with one orphan. */
.related .post-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1279px){.related .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.related .post-grid{grid-template-columns:minmax(0,1fr)}}
/* Prev/next article rail */
.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:var(--wrap);
  margin:2.2rem auto 0;border-top:1px solid var(--line2);padding-top:1.6rem}
.post-nav .pn{display:flex;flex-direction:column;gap:.3rem;padding:16px 18px;border-radius:var(--r-sm);
  background:var(--panel);border:1px solid var(--line2);transition:border-color .2s,transform .2s}
.post-nav .pn:hover{border-color:var(--line);transform:translateY(-2px)}
.post-nav .pn span{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--dim)}
.post-nav .pn b{font-family:"Space Grotesk","Inter",sans-serif;font-weight:600;font-size:.98rem;line-height:1.3}
.post-nav .pn.next{text-align:right;align-items:flex-end}
/* Detail page → journal backlinks */
.in-journal a{display:block;color:var(--accent2);font-weight:500;font-size:.92rem;
  padding:.35rem 0;transition:color .2s}
.in-journal a:hover{color:var(--ink)}
/* Phone-wallpaper essay: tall cover in the hero, prose beside two lead shots, then a
   gallery that always fills whole rows (6 shots → 6 / 3 / 2 columns). */
.post.portrait .post-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
  gap:clamp(24px,5vw,72px);min-height:0;padding:clamp(2rem,4vw,3.2rem) clamp(1.4rem,5vw,4.5rem)}
.post.portrait .post-hero::before{inset:-48px;filter:blur(36px) saturate(1.1)}
.post.portrait .post-hero::after{background:rgba(6,6,8,.66)}
.post.portrait .ph-cover{display:block;width:clamp(190px,19vw,250px);aspect-ratio:9/16;border-radius:18px;overflow:hidden;
  border:1px solid rgba(255,255,255,.2);box-shadow:0 24px 60px rgba(0,0,0,.55)}
.post.portrait .ph-cover img{width:100%;height:100%;object-fit:cover}
.post-spread{display:grid;grid-template-columns:minmax(0,680px) minmax(0,500px);justify-content:center;
  align-items:start;gap:clamp(32px,4vw,64px)}
.post-spread .post-body{margin:0}
.post-spread .post-lead{margin:.4rem 0 0}
.post.portrait .post-shot{display:flex;flex-direction:column}
.post.portrait .post-shot>a{aspect-ratio:1/2;flex:none}
.post.portrait .post-shot img{height:100%;object-fit:cover}
.post.portrait .post-shot figcaption{align-items:flex-start;gap:8px;padding:9px 11px;font-size:.82rem;line-height:1.35}
.post.portrait .post-shot figcaption a{white-space:normal;overflow-wrap:anywhere;hyphens:auto;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.post.portrait .post-shot figcaption .num{line-height:1.5}
.post.portrait .post-gallery .shots{columns:auto;display:grid;gap:16px;grid-template-columns:repeat(6,minmax(0,1fr))}
.post.portrait .post-gallery .shots .post-shot{margin:0}
@media(max-width:1100px){
  .post-spread{grid-template-columns:minmax(0,680px)}
  .post-spread .post-lead{margin:1.4rem auto 0;width:100%;max-width:520px}
  .post.portrait .post-gallery .shots{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:720px){
  /* On a phone the tall cover already fits the screen: use it as the hero itself. */
  .post.portrait .post-hero{display:flex;align-items:flex-end;min-height:min(125vw,640px);padding:1.4rem}
  .post.portrait .post-hero::before{inset:0;filter:none;background-position:center 30%}
  .post.portrait .post-hero::after{background:linear-gradient(0deg,rgba(6,6,8,.94) 6%,rgba(6,6,8,.5) 48%,rgba(6,6,8,.05) 78%)}
  .post.portrait .ph-cover{display:none}
  .post.portrait .post-lead{grid-template-columns:1fr 1fr;gap:10px}
  .post.portrait .post-gallery .shots{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:720px){.post-nav{grid-template-columns:1fr}.post-nav .pn.next{text-align:left;align-items:flex-start}}
@media(max-width:720px){
  .post-lead{grid-template-columns:1fr}
  .post-gallery .shots{columns:1}
  html:lang(en) .post-body p:first-child::first-letter,html:lang(es) .post-body p:first-child::first-letter,html:lang(de) .post-body p:first-child::first-letter,html:lang(fr) .post-body p:first-child::first-letter,html:lang(pt) .post-body p:first-child::first-letter,html:lang(ru) .post-body p:first-child::first-letter{font-size:2.6rem}
}

/* ---------- Listing head ---------- */
main>h1{margin-top:1.4rem}

/* ---------- Pager ---------- */
.pager{display:flex;flex-wrap:wrap;gap:7px;justify-content:center;margin:2.6rem 0}
.pg{min-width:40px;text-align:center;padding:9px 13px;border-radius:10px;background:var(--panel);
  border:1px solid var(--line);color:var(--mut);font-weight:600;font-size:.9rem;transition:.2s}
.pg.on{background:var(--grad);border-color:transparent;color:#fff}
.pg:hover:not(.on){color:var(--ink);border-color:var(--accent)}
.dots{padding:9px 4px;color:var(--dim)}

/* ---------- Categories explorer ---------- */
.cat-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin:1.6rem 0 3rem}
.cat-card{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;
  gap:10px;min-height:150px;padding:16px 18px;border-radius:var(--r);overflow:hidden;
  border:1px solid var(--line2);transition:box-shadow .3s,border-color .3s}
.cat-card::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--bg,var(--panel2)) center/cover no-repeat}
.cat-card::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(0deg,rgba(6,6,8,.82),rgba(6,6,8,.12) 60%)}
.cat-card:hover{border-color:rgba(255,255,255,.5);
  box-shadow:0 0 0 1px rgba(255,255,255,.4),0 0 26px -6px rgba(255,255,255,.35)}
.cat-card .cc-name{font-family:"Space Grotesk","Inter",sans-serif;font-weight:700;font-size:1.25rem;
  letter-spacing:-.01em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.cat-card .cc-n{font-size:.72rem;font-weight:600;color:#e4e4e7;background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(6px);padding:3px 9px;border-radius:999px}
/* Phones: the 250px min collapsed the grid to ONE screen-wide card per row —
   a wall of huge tiles. Two-up with a shorter card restores browsing density. */
@media (max-width:760px){
  .cat-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .cat-card{min-height:104px;padding:12px 13px}
  .cat-card .cc-name{font-size:1rem}
  .cat-card .cc-n{font-size:.66rem;padding:2px 7px}
}

/* Tag bubble cloud — chord-length rows form a ball silhouette; sizes s1..s5 spread
   wide apart; four bob rhythms with a ±13px swing keep the cloud alive. */
.bubble-head{text-align:center;margin:2.6rem 0 1.6rem}
.bubbles{margin:0 auto 3rem;max-width:1200px}
.bubrow{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 16px;
  margin-bottom:16px}
.bub{display:inline-block;border-radius:999px;color:var(--ink);background:var(--panel);
  border:1px solid var(--line);white-space:nowrap;line-height:1;
  transition:box-shadow .3s,border-color .3s,color .3s}
.bub:hover{border-color:rgba(255,255,255,.55);color:#fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.4),0 0 22px -4px rgba(255,255,255,.35)}
/* size ramp with a readable floor — hierarchy stays wide but nothing looks like lint */
.bub.s1{font-size:.88rem;padding:9px 16px;opacity:.8}
.bub.s2{font-size:1.02rem;padding:11px 19px;opacity:.9}
.bub.s3{font-size:1.2rem;padding:13px 23px}
.bub.s4{font-size:1.5rem;padding:16px 29px;font-weight:500}
.bub.s5{font-size:1.9rem;padding:20px 38px;font-weight:600;font-family:"Space Grotesk","Inter",sans-serif}
/* six accent tints — subtle borders so bubbles read colorful without shouting */
.bub.f0{border-color:rgba(109,108,255,.4)}
.bub.f1{border-color:rgba(94,201,255,.35)}
.bub.f2{border-color:rgba(126,231,196,.32)}
.bub.f3{border-color:rgba(255,196,110,.32)}
.bub.f4{border-color:rgba(255,133,161,.32)}
.bub.f5{border-color:rgba(198,144,255,.36)}
/* four interleaved float rhythms (assigned server-side as b0..b3) */
.bub.b0{animation:bob-lg 6.5s ease-in-out infinite}
.bub.b1{animation:bob-md 5.4s ease-in-out -2.2s infinite}
.bub.b2{animation:bob-lg 7.8s ease-in-out -4.1s infinite}
.bub.b3{animation:bob-md 6s ease-in-out -1.3s infinite}
@keyframes bob-lg{0%,100%{transform:translateY(6px)}50%{transform:translateY(-13px)}}
@keyframes bob-md{0%,100%{transform:translateY(-9px)}50%{transform:translateY(5px)}}
@media (prefers-reduced-motion:reduce){.bub{animation:none}}

/* ---------- Footer ---------- */
footer.site{border-top:1px solid var(--line2);margin-top:4rem;padding:2.4rem 0 3rem;color:var(--mut)}
footer.site .wrap{display:flex;flex-direction:column;gap:12px}
/* Language switcher — one globe pill; the full endonym grid discloses above it. */
.langbox{position:relative;align-self:flex-start}
/* Header copy of the switcher: hugs the search bar's left edge (auto margin eats
   the middle space), and the menu drops DOWN, right-aligned — the footer default
   opens upward, which would fly off-screen from a sticky header. */
header.site .langbox{margin-left:auto;align-self:center}
header.site .search{margin-left:0}
header.site .langmenu{bottom:auto;top:calc(100% + 10px);left:auto;right:0}
html[dir="rtl"] header.site .langmenu{right:auto;left:0}
.langbox summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;
  font-size:.82rem;color:var(--mut);padding:8px 14px;border-radius:999px;
  border:1px solid var(--line);background:var(--panel);transition:.2s;user-select:none}
.langbox summary::-webkit-details-marker{display:none}
.langbox summary:hover{color:var(--ink);border-color:rgba(255,255,255,.35)}
.langbox summary .chev{font-style:normal;font-size:.6rem;color:var(--dim);transition:transform .25s}
.langbox[open] summary .chev{transform:rotate(180deg)}
.langbox[open] summary{color:var(--ink);border-color:rgba(255,255,255,.35)}
.langmenu{position:absolute;bottom:calc(100% + 10px);left:0;z-index:40;
  display:grid;grid-template-columns:repeat(4,max-content);gap:7px;
  padding:12px;border-radius:14px;background:var(--panel);border:1px solid var(--line);
  box-shadow:0 14px 40px -10px rgba(0,0,0,.7);min-width:max-content}
html[dir="rtl"] .langmenu{left:auto;right:0}
.lang{display:block;font-size:.78rem;padding:6px 11px;border-radius:8px;
  border:1px solid transparent;color:var(--dim);transition:.2s;white-space:nowrap;text-align:center}
.lang:hover{color:var(--ink);background:var(--panel2);border-color:var(--line)}
.lang.on{background:var(--panel2);color:var(--ink);border-color:rgba(255,255,255,.25)}
@media(max-width:560px){.langmenu{grid-template-columns:repeat(3,max-content)}}
nav.foot{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.85rem}
nav.foot a{color:var(--mut)}
nav.foot a:hover{color:var(--ink)}
.friends{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:.78rem}
.friends-label{color:var(--dim);font-size:.78rem}
.friends a{color:var(--mut);letter-spacing:.02em}
.friends a:hover{color:var(--accent)}
.fine{font-size:.78rem;color:var(--dim);margin:0}

@media(max-width:820px){
  .detail{grid-template-columns:1fr;gap:20px}
  /* Keep the stage RELATIVE on mobile: it is the containing block for the absolute
     .navzone prev/next overlays. position:static here made them resolve against the
     page instead, stretching the tap zones over the download button below the image. */
  .detail .stage{position:relative;top:0}
  /* Two-row header: brand + search on top, the main nav as a horizontally
     scrollable strip below — hiding it entirely left phones with no way into
     categories / journal at all. */
  header.site .wrap{flex-wrap:wrap;height:auto;padding-top:10px;column-gap:12px;row-gap:0}
  /* Compact switcher on phones: globe + chevron only, so brand + switcher +
     search all fit row one instead of wrapping into a third header row. */
  header.site .langbox summary{padding:7px 9px;gap:4px}
  header.site .langbox summary>span{display:none}
  header.site .langmenu{position:fixed;left:12px;right:12px;top:56px}
  nav.main{order:3;flex-basis:100%;display:flex;gap:6px;overflow-x:auto;
    margin:0 -24px;padding:6px 20px 10px;white-space:nowrap;
    -webkit-overflow-scrolling:touch;scrollbar-width:none}
  nav.main::-webkit-scrollbar{display:none}
  nav.main a{flex:0 0 auto;font-size:.86rem;padding:5px 12px;border-radius:999px;
    background:var(--panel);border:1px solid var(--line)}
  nav.main a.ext{background:var(--panel);-webkit-background-clip:border-box;background-clip:border-box;
    color:var(--accent);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
  header .search input{width:130px}
  header .search input:focus{width:150px}
  header.site.bshort .brand .b-rest{display:none}
}

/* ---------- Mobile / phone wallpapers ---------- */
/* Phone shots are all ~9:19.5. A masonry would stack near-identical strips, so this
   section uses a fixed-ratio grid instead: same card chrome (radius, white glow on
   hover, gradient caption) but a denser, taller rhythm that reads like a phone
   picker. Cards crop to ratio so rows stay perfectly aligned. */
.pgrid{display:grid;gap:16px;margin:1.4rem 0 2.4rem;
  grid-template-columns:repeat(6,minmax(0,1fr))}
/* Fixed column counts (6 / 4 / 2) instead of auto-fill: strips are cut server-side to
   whole rows of six (pages.js wholeRows), which only stays true when the count of
   columns is known — auto-fill made it 5 or 7 depending on the window. */
@media (max-width:1100px) and (min-width:761px){.pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.phone-strip .pgrid{margin-top:.2rem}
/* Phone listings end like the desktop feeds: button, then pager — without stacking
   the grid's bottom margin on top of the button block's own padding. */
.pgrid + .feed-more{padding-top:.2rem}
.feed-more + .pager{margin-top:1.2rem}
.pcard{position:relative;display:block;aspect-ratio:1/2;border-radius:16px;
  overflow:hidden;background:var(--panel);isolation:isolate;
  box-shadow:0 1px 2px rgba(0,0,0,.4);transition:box-shadow .3s}
.pcard img{width:100%;height:100%;object-fit:cover;display:block}
.pcard:hover{box-shadow:0 0 0 1px rgba(255,255,255,.5),0 0 26px -6px rgba(255,255,255,.35)}
.pcard .pc-ov{position:absolute;inset:0;display:flex;align-items:flex-end;padding:12px;
  opacity:0;transition:opacity .3s;
  background:linear-gradient(0deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.15) 45%,transparent 70%)}
.pcard:hover .pc-ov{opacity:1}
.pcard .pc-ov b{font-size:.84rem;font-weight:600;line-height:1.25;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* Category rail on the /mobile hub — wide, short tiles so they never compete with
   the tall wallpaper cards below them. */
.pcat-row{display:grid;gap:12px;margin:1.4rem 0 2rem;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
.pcat{position:relative;isolation:isolate;display:flex;align-items:flex-end;
  justify-content:space-between;gap:8px;min-height:78px;padding:11px 13px;
  border-radius:var(--r);overflow:hidden;border:1px solid var(--line2);
  transition:box-shadow .3s,border-color .3s}
.pcat::before{content:"";position:absolute;inset:0;z-index:-2;
  background:var(--bg,var(--panel2)) center/cover no-repeat}
.pcat::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(0deg,rgba(6,6,8,.84),rgba(6,6,8,.2) 70%)}
.pcat:hover{border-color:rgba(255,255,255,.5);
  box-shadow:0 0 0 1px rgba(255,255,255,.4),0 0 26px -6px rgba(255,255,255,.35)}
.pcat .pc-name{font-family:"Space Grotesk","Inter",sans-serif;font-weight:700;
  font-size:.95rem;letter-spacing:-.01em;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.6)}
.pcat .pc-n{font-size:.66rem;font-weight:600;color:#e4e4e7;background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(6px);padding:2px 7px;border-radius:999px}

/* On a phone the tall cards would each fill the viewport at 190px min, so shrink
   to a true 2-up grid — the section is about phones, it must feel right on one.
   Category chips go 2-up as well: 3-up squeezed them to 104×62 thumbnails where
   two-character names wrapped vertically and the cover art was invisible. */
@media (max-width:760px){
  .pgrid{grid-template-columns:repeat(2,1fr);gap:10px}
  .pcard{border-radius:14px}
  .pcat-row{grid-template-columns:repeat(2,1fr);gap:10px}
  .pcat{min-height:92px;padding:11px 13px}
  .pcat .pc-name{font-size:.92rem}
}

/* ---------- Detail: portrait (phone) wallpapers ---------- */
/* A 1440×2160 shot at width:100% renders ~1560px tall — taller than any desktop
   viewport, so the landing view showed a slice and forced a scroll. Portrait mode
   caps the image by HEIGHT instead and fills the leftover stage width with a
   blurred copy of the same shot: the whole wallpaper reads at a glance, sitting on
   its own colour. Rounded like a phone screen to match what the section is about. */
.detail.portrait .stage{display:grid;place-items:center;padding:26px;
  min-height:min(76vh,740px);background:var(--panel2)}
.detail.portrait .stage::before{content:"";position:absolute;inset:-10%;z-index:0;
  background:var(--shot) center/cover no-repeat;
  filter:blur(46px) saturate(1.3) brightness(.45)}
.detail.portrait .stage img{position:relative;z-index:1;width:auto;height:auto;
  max-width:min(100%,455px);max-height:calc(100vh - 195px);
  border-radius:22px;box-shadow:0 22px 60px -14px rgba(0,0,0,.9),
  0 0 0 1px rgba(255,255,255,.1)}
/* Narrow image → the prev/next zones would sit far out on the blurred backdrop.
   Pull them in so they frame the picture instead of the padding. */
.detail.portrait .navzone{width:18%}

@media(max-width:820px){
  /* H5: the wallpaper must share one screen with its title and download button —
     cap it well under the viewport so nothing important starts below the fold. */
  .detail.portrait .stage{padding:12px;min-height:0}
  .detail.portrait .stage img{max-height:52vh;max-width:min(100%,268px);border-radius:18px}
  /* Keep the download button above the fold: the whole wallpaper AND its primary
     action must land in the first screen. The lead prose is clamped — it is the
     one element here that can be read after a scroll without costing anything. */
  .detail.portrait .side h1{font-size:1.22rem;margin:.2rem 0 0}
  .detail.portrait .side .lead{display:-webkit-box;-webkit-line-clamp:3;
    -webkit-box-orient:vertical;overflow:hidden;margin-top:.35rem}
  .detail.portrait .btn{margin:.8rem 0}
  .detail.portrait .stage::before{filter:blur(34px) saturate(1.3) brightness(.42)}
  .detail.portrait .navzone{width:22%}
  .detail.portrait .navzone span{width:38px;height:38px;font-size:1.3rem}
  /* Phone-grid similars: 3-up on a phone keeps the strip compact under the fold. */
  .detail.portrait ~ section .pgrid{grid-template-columns:repeat(3,1fr);gap:8px}
}

/* Journal: "all articles" link under the paginated index, and the flat archive it
   points at. The archive is a reading-order list, not a grid — its job is to put
   every article one hop from the index for crawlers and for anyone hunting a piece
   they half-remember, so it stays plain text and loads no covers. */
.post-all{text-align:center;margin:0 0 3rem}
.post-all a{color:var(--mut);border-bottom:1px solid var(--line2);padding-bottom:2px}
.post-all a:hover{color:var(--ink);border-color:currentColor}
.post-archive{list-style:none;padding:0;margin:1.4rem auto 3rem;max-width:760px;
  border-top:1px solid var(--line2)}
.post-archive li{display:flex;align-items:baseline;gap:14px;
  padding:.72rem 0;border-bottom:1px solid var(--line2)}
.post-archive li a{flex:1 1 auto}
.post-archive li time{flex:0 0 auto;color:var(--mut);font-size:.82rem;
  font-variant-numeric:tabular-nums}
@media (max-width:560px){
  .post-archive li{flex-direction:column;gap:2px}
  .post-archive li time{font-size:.76rem}
}

/* Language suggestion (app.js): floats under the sticky header, never shifts layout. */
.langtip{position:fixed;left:50%;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:12px;
  width:max-content;max-width:min(560px,calc(100vw - 24px));box-sizing:border-box;padding:10px 10px 10px 18px;border-radius:999px;
  background:rgba(20,20,24,.94);border:1px solid var(--line);box-shadow:0 12px 32px -12px rgba(0,0,0,.7);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-size:.9rem;color:var(--ink);
  animation:langtipIn .35s var(--ease)}
.langtip .lt-q{flex:1;min-width:0}
.langtip .lt-yes{flex:0 0 auto;background:var(--grad);color:#fff;font-weight:600;padding:6px 14px;border-radius:999px;white-space:nowrap}
.langtip .lt-no{flex:0 0 auto;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--mut);
  font-size:1.2rem;line-height:1;cursor:pointer}
.langtip .lt-no:hover{background:var(--panel2);color:var(--ink)}
@keyframes langtipIn{from{opacity:0;transform:translate(-50%,-6px)}to{opacity:1;transform:translate(-50%,0)}}
@media (max-width:760px){.langtip{border-radius:16px;font-size:.86rem;padding:8px 8px 8px 14px;gap:8px}}

/* ---------- 2026-11-13: facets, likes, device preview ---------- */
.detail .stage-col{min-width:0}
.detail .caption{color:var(--mut);font-size:.88rem;margin:.35rem 0 0}
.features{margin:1.1rem 0 1.2rem}
.features .frow{display:flex;gap:10px;align-items:flex-start;margin:0 0 8px}
.features .fk{flex:none;min-width:4.6em;font-size:.8rem;color:var(--mut);padding-top:6px}
.features .fv{display:flex;flex-wrap:wrap;gap:7px}
.fchip{display:inline-flex;align-items:center;gap:6px;background:var(--panel);border:1px solid var(--line);
  padding:5px 12px;border-radius:999px;font-size:.8rem;color:var(--mut);transition:.2s}
a.fchip:hover{color:var(--ink);border-color:var(--accent);background:var(--panel2)}
.fchip .sw{width:12px;height:12px;border-radius:50%;flex:none;box-shadow:0 0 0 1px rgba(255,255,255,.25)}
.like-btn{width:auto;min-width:42px;padding:0 14px;gap:6px}
.like-btn .likes-n{font-size:.85rem;font-weight:600}
.devbar{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:12px 0 0}
.devbar .dev{background:var(--panel);border:1px solid var(--line);color:var(--mut);border-radius:999px;
  padding:5px 12px;font-size:.78rem;cursor:pointer;transition:.2s}
.devbar .dev:hover{color:var(--ink);border-color:var(--accent)}
.devbar .dev.on{color:var(--ink);border-color:var(--accent);background:var(--panel2)}
/* Device frames: same picture, cropped the way each screen shows it. */
.detail .stage[class*="dev-"]{display:flex;align-items:center;justify-content:center;padding:22px;background:var(--panel)}
.detail .stage[class*="dev-"] img{object-fit:cover;border:9px solid #050506;border-radius:14px;
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 18px 40px -16px rgba(0,0,0,.9);max-height:none}
.detail .stage.dev-desktop img,.detail .stage.dev-tv img{aspect-ratio:16/9;width:100%;height:auto}
.detail .stage.dev-tv img{border-width:5px;border-radius:6px}
.detail .stage.dev-laptop img{aspect-ratio:16/10;width:88%;height:auto;border-bottom-width:16px}
.detail .stage.dev-ultrawide img{aspect-ratio:21/9;width:100%;height:auto;border-radius:10px}
.detail .stage.dev-tablet img{aspect-ratio:4/3;width:72%;height:auto;border-width:14px;border-radius:24px}
.detail .stage.dev-phone img,.detail .stage.dev-lockscreen img{aspect-ratio:9/19.5;width:auto;height:min(62vh,560px);
  max-width:none;border-width:10px;border-radius:34px}
.detail .stage.dev-lockscreen::after{content:"09:41";position:absolute;left:0;right:0;top:calc(50% - min(31vh,280px) + 56px);
  z-index:2;text-align:center;font-size:2.6rem;font-weight:300;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.45);pointer-events:none}
.detail .stage[class*="dev-"] .navzone{display:none}
@media (max-width:760px){
  .features .fk{min-width:4em}
  .detail .stage[class*="dev-"]{padding:12px}
  .detail .stage.dev-phone img,.detail .stage.dev-lockscreen img{height:min(56vh,440px)}
}

/* ---------- 2026-11-13 layout + device preview v2 (must stay last) ---------- */
/* Picture top-left, features + tags right under it, title/download/specs on the
   right spanning both rows. The 1fr second row takes any height the side column
   adds, so no gap opens between the picture and the features. */
.detail{grid-template-areas:"stage side" "extra side";grid-template-rows:auto 1fr}
.detail .stage-col{min-width:0;grid-area:stage}
.detail .side{grid-area:side}
.detail .detail-extra{grid-area:extra;min-width:0;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:22px 34px;align-items:start;margin-top:6px;padding:20px 22px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel)}
.detail .detail-extra.solo{grid-template-columns:1fr}
.detail .detail-extra .features{margin:0}
.detail .detail-extra .tags h3,.detail .detail-extra .features h3{margin-top:0}
.detail .detail-extra .tags .tag{background:var(--bg2)}
.detail .detail-extra .fchip{background:var(--bg2)}
@media(max-width:820px){
  .detail{grid-template-areas:"stage" "side" "extra";grid-template-rows:auto}
  .detail .detail-extra{grid-template-columns:1fr;padding:16px;gap:16px}
}
/* Phone / lock-screen frames: one height variable drives the frame AND the clock, so
   the clock sits where a real lock screen puts it at every viewport size. */
.detail .stage{--ph:min(62vh,560px)}
.detail .stage.dev-phone img,.detail .stage.dev-lockscreen img{height:var(--ph)}
.detail .stage.dev-lockscreen::after{top:calc(50% - var(--ph) / 2 + var(--ph) * .13);
  font-size:calc(var(--ph) * .115);font-weight:300;letter-spacing:.01em;line-height:1}
@media(max-width:760px){.detail .stage{--ph:min(56vh,440px)}}
/* Device preview v2: the picture is the screen, an SVG body sits under it. */
.detail .stage .dev-base{display:none;pointer-events:none;height:auto;margin-top:-1px;position:relative;z-index:1}
.detail .stage[class*="dev-"]{flex-direction:column;padding:34px 24px 30px;
  background:radial-gradient(120% 90% at 50% 30%,#22222b 0%,#131318 55%,#0b0b0e 100%)}
.detail .stage[class*="dev-"] img{border-color:#0a0a0d;
  box-shadow:0 0 0 1px rgba(255,255,255,.13),inset 0 0 0 1px rgba(255,255,255,.04),0 26px 50px -22px rgba(0,0,0,.95)}
.detail .stage.dev-desktop img{width:78%;aspect-ratio:16/9;border-width:10px 10px 22px;border-radius:12px}
.detail .stage.dev-desktop .base-desktop{display:block;width:24%}
.detail .stage.dev-laptop img{width:70%;aspect-ratio:16/10;border-width:11px 11px 13px;border-radius:14px 14px 3px 3px}
.detail .stage.dev-laptop .base-laptop{display:block;width:84%}
.detail .stage.dev-tv img{width:94%;aspect-ratio:16/9;border-width:6px;border-radius:5px}
.detail .stage.dev-tv .base-tv{display:block;width:80%}
.detail .stage.dev-ultrawide img{width:97%;aspect-ratio:21/9;border-width:9px 9px 14px;border-radius:16px}
.detail .stage.dev-ultrawide .base-ultrawide{display:block;width:26%}
.detail .stage.dev-tablet img{width:62%;aspect-ratio:4/3;border-width:18px;border-radius:30px}
@media(max-width:760px){
  .detail .stage[class*="dev-"]{padding:22px 12px 18px}
  .detail .stage.dev-desktop img{width:86%;border-width:6px 6px 14px}
  .detail .stage.dev-laptop img{width:80%;border-width:7px 7px 9px}
  .detail .stage.dev-laptop .base-laptop{width:94%}
  .detail .stage.dev-tablet img{width:78%;border-width:11px;border-radius:20px}
  .detail .stage.dev-ultrawide img{border-width:6px 6px 9px}
}

/* 2026-11-13 round 3: Like button sits in the specs table; credits right-aligned. */
.specs dd .like-inline{display:inline-flex;align-items:center;gap:6px;width:auto;min-width:0;height:30px;padding:0 12px;
  margin:-5px 0;border-radius:999px;vertical-align:middle}
.specs dd .like-inline svg{width:15px;height:15px}
.specs dd .like-inline .likes-n{font-size:.88rem;font-weight:600}
.detail .attr-row{justify-content:flex-end}
.detail .attr-row .attr{text-align:right}

/* 2026-11-13 round 4: lighter header block + icons. Sizes and spacing only. */
.detail .side .crumbs{margin-bottom:.15rem}
.detail .side h1{font-size:1.5rem;line-height:1.28;margin:.3rem 0 0}
.detail .side h1 .h1-main{display:block}
.detail .side h1 .h1-sub{display:block;font-size:.64em;font-weight:500;line-height:1.5;margin-top:.4rem}
.detail .side h1 .h1-sep{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.detail .side .caption{font-size:.82rem;margin:.55rem 0 .1rem}
.detail .side .btn{margin-top:1rem}
.ic{width:15px;height:15px;flex:none;vertical-align:-2px}
.fchip .ic{width:14px;height:14px}
.features .fk{display:inline-flex;align-items:center;gap:6px}
.features .fk .ic{width:14px;height:14px}
.devbar .dev{display:inline-flex;align-items:center;gap:5px}
.devbar .dev .ic{width:14px;height:14px}
.specs dt .ic{margin-right:8px}
.detail .detail-extra .about{grid-column:1/-1}
.detail .detail-extra .about p{margin:0;color:var(--mut);font-size:.95rem;line-height:1.8}
.detail .detail-extra h3{display:flex;align-items:center;gap:7px}
.detail .detail-extra h3 .ic{width:16px;height:16px}

/* 2026-11-13 round 5: /categories quick entries + facet/colour hubs. */
.hub-sec{margin:0 0 1.6rem}
.hub-sec h2{display:flex;align-items:center;gap:8px;font-size:1.05rem;margin:0 0 .8rem}
.hub-sec h2 .ic{width:18px;height:18px}
.hub-row{display:flex;flex-wrap:wrap;gap:9px}
.hub-chip{padding:8px 15px;font-size:.88rem}
.hub-chip .ic{width:16px;height:16px}
.hub-secs{margin:-1rem 0 1rem;padding:22px 24px 6px;border:1px solid var(--line);border-radius:var(--r);background:var(--panel)}
.hub-secs .hub-chip{background:var(--bg2)}
.quick{margin:1.4rem 0 0}
.quick-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.quick-card{display:flex;align-items:center;justify-content:center;gap:9px;padding:15px 12px;border:1px solid var(--line);
  border-radius:var(--r);background:var(--panel);font-size:.95rem;font-weight:600;transition:.2s}
.quick-card .ic{width:20px;height:20px}
.quick-card:hover{border-color:var(--accent);background:var(--panel2);transform:translateY(-1px)}
@media(max-width:900px){.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .quick-card{padding:12px 8px;font-size:.88rem}.hub-secs{padding:16px 14px 4px}}
