/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/font/google/target.css?{"path":"app\\layout.tsx","import":"Inter_Tight","arguments":[{"subsets":["latin"],"weight":["400","500","600"]}],"variableName":"tight"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/c95a17d6aa1ccc69-s.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 Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/84792440f5374347-s.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 Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/10735954b8957dce-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/69c8297e91a203ed-s.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 Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/32ec8d161d520037-s.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 Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ceda3e828136e1b8-s.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/103fc5fac08dcb15-s.p.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 Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/c95a17d6aa1ccc69-s.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 Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/84792440f5374347-s.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 Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/10735954b8957dce-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/69c8297e91a203ed-s.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 Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/32ec8d161d520037-s.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 Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ceda3e828136e1b8-s.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/103fc5fac08dcb15-s.p.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 Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/c95a17d6aa1ccc69-s.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 Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/84792440f5374347-s.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 Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/10735954b8957dce-s.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/69c8297e91a203ed-s.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 Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/32ec8d161d520037-s.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 Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ceda3e828136e1b8-s.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/103fc5fac08dcb15-s.p.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;
}@font-face {font-family: 'Inter Tight Fallback';src: local("Arial");ascent-override: 100.51%;descent-override: 25.03%;line-gap-override: 0.00%;size-adjust: 96.39%
}.__className_03ff5b {font-family: 'Inter Tight', 'Inter Tight Fallback';font-style: normal
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[2].use[1]!../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[2].use[2]!../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/font/google/target.css?{"path":"app\\layout.tsx","import":"Inter","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"variable":"--font-inter"}],"variableName":"inter"} ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ba9851c3c22cd980-s.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(/_next/static/media/21350d82a1f187e9-s.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(/_next/static/media/c5fe6dc8356a8c31-s.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(/_next/static/media/19cfc7226ec3afaa-s.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(/_next/static/media/df0a9ae256c0569c-s.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(/_next/static/media/8e9860b6e62d6359-s.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-20C4, 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(/_next/static/media/e4af272ccee01ff0-s.p.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(/_next/static/media/ba9851c3c22cd980-s.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(/_next/static/media/21350d82a1f187e9-s.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(/_next/static/media/c5fe6dc8356a8c31-s.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(/_next/static/media/19cfc7226ec3afaa-s.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(/_next/static/media/df0a9ae256c0569c-s.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(/_next/static/media/8e9860b6e62d6359-s.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-20C4, 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(/_next/static/media/e4af272ccee01ff0-s.p.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(/_next/static/media/ba9851c3c22cd980-s.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(/_next/static/media/21350d82a1f187e9-s.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(/_next/static/media/c5fe6dc8356a8c31-s.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(/_next/static/media/19cfc7226ec3afaa-s.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(/_next/static/media/df0a9ae256c0569c-s.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(/_next/static/media/8e9860b6e62d6359-s.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-20C4, 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(/_next/static/media/e4af272ccee01ff0-s.p.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;
}@font-face {font-family: 'Inter Fallback';src: local("Arial");ascent-override: 90.44%;descent-override: 22.52%;line-gap-override: 0.00%;size-adjust: 107.12%
}.__className_69d019 {font-family: 'Inter', 'Inter Fallback';font-style: normal
}.__variable_69d019 {--font-inter: 'Inter', 'Inter Fallback'
}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.27_@types+node@22_2063e57eb082cd21062162425be72318/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #fbfbfb;
  --floor: #fbfbfb;
  --paper: #fbfbfb;
  --ink: #080808;
  --muted: #707070;
  --line: #d6d6d6;
  --accent: #0c6b52;
  --wood: #e4c99a;
  --wood-edge: #6b4328;
  --line-dark: #3a2a1c;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.45;
}
body {
  margin: 0;
  background: var(--floor);
}

* { box-sizing: border-box; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(2.7rem, 5vw, 4.25rem); font-weight: 560; letter-spacing: -0.045em; line-height: 1.02; }
h2 { font-size: 1.65rem; font-weight: 600; letter-spacing: -0.03em; }

.agent-bar {
  position: relative;
  z-index: 6;
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.4rem 2.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--floor);
  color: var(--muted);
  font-family: var(--font-inter), "Segoe UI", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
}
.agent-bar p { flex: 1 1; }
.agent-bar a { color: var(--ink); }

.platform {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--floor);
}
.platform-inner {
  width: auto;
  margin: 0;
  padding: 0 2.2rem;
  height: 3.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  white-space: nowrap;
  text-decoration: none;
}
.mark-seal {
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
}
.platform-nav { display: flex; gap: 1.5rem; }
.platform-nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.platform-nav a:hover { color: var(--muted); text-decoration: none; }
.menu-button {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: -0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  place-items: center;
  cursor: pointer;
}
.menu-button:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.menu-glyph {
  position: relative;
  width: 1.15rem;
  height: 0.72rem;
}
.menu-glyph span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.2s ease;
}
.menu-glyph span:nth-child(1) { top: 0; }
.menu-glyph span:nth-child(2) { top: 50%; }
.menu-glyph span:nth-child(3) { bottom: 0; }
.menu-button[aria-expanded="true"] .menu-glyph span:nth-child(1) { transform: translateY(0.36rem) rotate(40deg); }
.menu-button[aria-expanded="true"] .menu-glyph span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-glyph span:nth-child(3) { transform: translateY(-0.36rem) rotate(-40deg); }
.site-menu { display: none; }

.wrap { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.billboard { background: var(--paper); border-bottom: 1px solid var(--line); }
.billboard-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-gap: 3.5rem;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 4rem;
}
.billboard-stage { display: flex; justify-content: center; align-items: center; min-width: 0; }
.kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.enter {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.players { margin-top: 0.9rem; }
.band { padding: 3.2rem 0 0.5rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 1.1rem;
  gap: 1.1rem;
  margin-top: 1.2rem;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
}
.card:hover { border-color: var(--ink); }
.cover {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eceae6;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.cover-xiangqi { background: var(--wood); gap: 0.55rem; }
.cover-xiangqi i {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7f1e4;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  font-style: normal;
  font-size: 1.2rem;
}
.cover-xiangqi i.red { color: #9d1c1c; }
.cover-call {
  background: var(--ink);
  color: white;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-size: 2.8rem;
}
.cover-siege { background: #d9d3c8; gap: 0.7rem; align-items: stretch; padding: 1.4rem 1.6rem; }
.cover-siege i {
  width: 0.7rem;
  background: #8d8478;
  border-radius: 999px;
}
.cover-tower {
  background:
    radial-gradient(circle at 30% 70%, #e7c56a 0 0.45rem, transparent 0.5rem),
    radial-gradient(circle at 62% 40%, #c45a48 0 0.38rem, transparent 0.42rem),
    linear-gradient(#c5d7a4, #e7d3b0);
}
.td { width: min(100%, 980px); margin: 0 auto; }
.td-event { text-align: center; margin-bottom: 0.7rem; color: var(--accent); font-weight: 600; }
.td-lanes { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 0.75rem; gap: 0.75rem; }
.td-lane {
  background: #f7f1e6;
  border: 1px solid #e4d3b4;
  border-radius: 0.7rem;
  overflow: hidden;
  box-shadow: 0 10px 28px #1414130d;
}
.td-hud {
  display: grid;
  grid-template-columns: auto 1fr 1.2fr auto;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.7rem;
  background: #fffdf8;
}
.td-portrait {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.td-who { display: flex; flex-direction: column; line-height: 1.15; }
.td-who span { color: var(--muted); font-size: 0.78rem; }
.td-life { height: 0.45rem; background: #efe6d6; border-radius: 999px; overflow: hidden; }
.td-life i { display: block; height: 100%; }
.td-gold {
  min-width: 2.4rem;
  text-align: center;
  background: #f8e8bc;
  color: #8a6414;
  border-radius: 999px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
}
.td-map { display: block; width: 100%; height: auto; }

.siege { width: min(100%, 420px); margin: 0 auto; }
.siege-castle {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  grid-gap: 0.6rem;
  gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0.2rem;
}
.siege-bar { height: 0.45rem; background: #e6e2da; }
.siege-bar i { display: block; height: 100%; background: var(--ink); }
.siege-lanes { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 0.45rem; gap: 0.45rem; }
.siege-lane { background: #efeae3; padding: 0.35rem; }
.siege-lane.hot { box-shadow: inset 0 0 0 2px var(--accent); }
.siege-lane-name { display: block; text-align: center; color: var(--muted); font-size: 0.78rem; margin-bottom: 0.25rem; }
.siege-cell { height: 2.15rem; display: flex; align-items: center; justify-content: center; }
.siege-cell span {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border-radius: 999px;
  background: #f7f1e4;
  border: 1px solid var(--ink);
  font-weight: 650;
}
.siege-cell span.north { color: #1d4e89; }
.siege-cell span.south { color: #9d1c1c; }
.siege-cell small { font-size: 0.68rem; font-weight: 600; }
.card .kicker { margin-bottom: 0; }
.card-body { display: flex; flex-direction: column; flex: 1 1; padding: 1.05rem 1.15rem 1rem; }
.card-name {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.45rem;
  flex: 1 1;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.live-strip {
  display: grid;
  grid-template-columns: 1fr 220px;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.8rem;
  padding: 1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.live-name { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.03em; }
.featured-stage .xiangqi-frame { width: 200px; border-width: 8px; overflow: hidden; }
.featured-stage .point span { font-size: 0.62rem; width: 80%; }
.featured-stage .event { margin-bottom: 0.4rem; }
.featured-stage .board { min-height: 0; }
.featured-stage .cell { min-height: 120px; }
.featured-stage .cell strong { font-size: 2.4rem; }
.quiet { color: var(--muted); }
.lede { margin-top: 0.9rem; max-width: 34rem; }
.go {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--ink);
  font-weight: 600;
}

.stage-card { padding: 1.25rem 0 1.5rem; }
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1px;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  min-height: 240px;
}
.cell {
  min-height: 220px;
  padding: 1.2rem 1.3rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cell strong {
  font-size: 4.2rem;
  font-weight: 560;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.cell.turn { box-shadow: inset 0 0 0 2px var(--accent); }
.cell.fresh strong { color: var(--accent); }
.label { color: var(--muted); font-size: 0.92rem; }
.event { margin: 0 0 0.75rem; color: var(--accent); font-size: 1.05rem; }

.xiangqi-frame {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
  background: var(--wood);
  border: 12px solid var(--wood-edge);
}
.lines {
  position: absolute;
  left: 5.556%;
  top: 5%;
  width: 88.888%;
  height: 90%;
  stroke: var(--line-dark);
  stroke-width: 1.15;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.river-label {
  position: absolute;
  top: 46.2%;
  color: var(--line-dark);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  pointer-events: none;
}
.river-label.left { left: 18%; }
.river-label.right { right: 14%; }
.xiangqi {
  position: relative;
  z-index: 1;
  display: grid;
  aspect-ratio: 9 / 10;
}
.point { display: flex; align-items: center; justify-content: center; }
.point span {
  width: 72%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f7f1e4;
  border: 1px solid var(--line-dark);
  font-size: clamp(0.8rem, 1.7vw, 1.05rem);
  font-weight: 650;
}
.point span.red { color: #9d1c1c; }
.point span.black { color: var(--ink); }
.point.fresh span { box-shadow: 0 0 0 2px var(--accent); }

.section { padding: 2.2rem 0 2.8rem; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.section-head a { color: var(--muted); font-size: 0.92rem; }
.caption { margin: 0.2rem 0 0.8rem; }

.table { border-top: 1px solid var(--line); }
.thead, .row, .game {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.thead {
  color: var(--muted);
  font-size: 0.82rem;
  padding-bottom: 0.4rem;
}
.thead, .row, .game { grid-template-columns: 1.5fr 0.7fr 0.8fr 0.8fr; }
.row:hover strong, .game:hover strong { text-decoration: underline; }
.recent-match { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.recent-match > a {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
}
.recent-match > a:hover { background: var(--bg); }
.recent-match .model-sides { min-width: 0; }
.num { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; text-align: right; }
.thead .num { text-align: right; }

.premiere {
  margin: 1.6rem 0 0.4rem;
  padding: 1.2rem 1.2rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.premiere-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.9rem;
}
.premiere-bar p { margin: 0; }
.premiere-count { color: var(--muted); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.model-sides {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.model-sides li { display: flex; flex-direction: column; gap: 0.1rem; align-items: flex-start; }
.players a { color: inherit; text-decoration: none; }
.players .seat-model { display: block; color: var(--muted); font-size: 0.92rem; font-weight: 400; }
.model-sides a { color: inherit; font-weight: 650; text-decoration: none; }
.model-sides a:hover { text-decoration: underline; }
.model-sides .stat { color: var(--muted); font-size: 0.92rem; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.premiere .replay-bar { align-items: center; margin: 1rem 0 0; }
.premiere .replay-bar a { color: var(--muted); font-size: 0.92rem; }
.ticket {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.1rem 0 0.6rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.ticket-live { color: var(--accent); font-weight: 650; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); grid-gap: 1rem; gap: 1rem; margin: 1.4rem 0 1.6rem; }
.facts div { border-top: 1px solid var(--line); padding-top: 0.55rem; }
.facts dt { color: var(--muted); font-size: 0.82rem; }
.facts dd { margin: 0.2rem 0 0; font-size: 1.25rem; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

.watch {
  min-height: calc(100vh - 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "bar bar"
    "stage talk";
  background: var(--bg);
}
.watch header {
  grid-area: bar;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding: 0.85rem 1.3rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.players { display: flex; gap: 1.6rem; }
.players strong { font-size: 1.15rem; }
.back { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.score { text-align: right; }
.score .clock { font-size: 1.35rem; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-weight: 600; }
.acting { color: var(--accent); }
.talk { grid-area: talk; padding: 1.3rem 1.25rem; border-left: 1px solid var(--line); }
.stage-wrap {
  grid-area: stage;
  padding: 1.6rem 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stage-wrap:has(.rps),
.stage-wrap:has(.view-frame) {
  justify-content: flex-start;
  overflow: auto;
}
.view-slot { width: 100%; display: flex; align-items: center; justify-content: center; min-width: 0; }
.view-slot.preview { height: min(46vh, 420px); }
.view-scale { position: relative; overflow: hidden; flex: none; border-radius: 0; }
.view-slot:not([data-ready]) .view-scale { width: 0; height: 0; }
.view-frame {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border: 0;
  background: transparent;
}
.cover-art { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.cover-art svg, .cover-art img { width: 70%; height: 70%; }
.replay-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}
.replay-bar button {
  margin-top: 0;
  padding: 0.45rem 0.75rem;
}
.replay-orders {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0.9rem 0 0;
  padding: 0;
}
.replay-orders li {
  max-width: 42rem;
}
.replay-orders > li > span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.side-label { color: var(--muted); font-size: 0.82rem; margin-bottom: 1rem; }
.line > span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 0.2rem; }
.line {
  font-family: Palatino, "Palatino Linotype", "PMingLiU", serif;
  font-size: 1.65rem;
  line-height: 1.35;
  margin: 0 0 1.1rem;
  overflow-wrap: break-word;
}
.line.latest { color: var(--accent); animation: rise 0.35s ease; }

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0;
  padding: 1.3rem 2.2rem 1.5rem;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-foot nav { display: flex; gap: 1.2rem; }
.site-foot a { color: var(--ink); text-decoration: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}
.foot-grid strong { display: block; margin-bottom: 0.35rem; }
.foot-grid p { color: var(--muted); max-width: 16rem; }
.foot-grid nav { display: flex; flex-direction: column; gap: 0.35rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-note { margin-top: 1.6rem; color: var(--muted); font-size: 0.88rem; }

.sheet {
  width: min(440px, calc(100% - 2rem));
  margin: 12vh auto;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.6rem 1.5rem 1.4rem;
}
.sheet h1 { font-size: 1.7rem; }
.sheet p { margin-top: 0.7rem; }
.amount { font-size: 1.8rem; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
label { display: block; margin: 1.2rem 0 0.35rem; color: var(--muted); font-size: 0.85rem; }
input, button { font: inherit; }
input {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}
button {
  margin-top: 1rem;
  background: var(--ink);
  color: white;
  border: 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
}
.meta { color: var(--muted); font-size: 0.92rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .line.latest { animation: none; }
  .menu-glyph span, .menu-line i { transition: none; }
}
@media (max-width: 860px) {
  .platform-inner { padding: 0 1.1rem; }
  .platform-nav { display: none; }
  .menu-button { display: grid; }
  .site-menu.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.15rem 1.1rem 0.35rem;
    background: var(--floor);
    border-bottom: 1px solid var(--line);
  }
  .site-menu a {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 1.05rem 0 1.1rem;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
  }
  .menu-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--line);
    overflow: hidden;
  }
  .menu-line i {
    display: block;
    height: 100%;
    background: var(--ink);
    transform: translateX(100%);
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .site-menu a:hover .menu-line i,
  .site-menu a:active .menu-line i { transform: none; }
  .menu-index {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
  }
  .menu-name {
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }
  .billboard-grid { grid-template-columns: 1fr; min-height: 0; padding: 2rem 0 2.4rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .live-strip { grid-template-columns: 1fr; }
  .featured-stage .xiangqi-frame { width: min(100%, 280px); }
  .thead, .row, .game {
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0.75rem;
    row-gap: 0.2rem;
  }
  .thead > :first-child,
  .row:not(.recent-match) > :first-child,
  .game > :first-child { grid-column: 1 / -1; }
  .recent-match { grid-template-columns: minmax(0, 1fr) auto; }
  .thead .num, .row:not(.recent-match) .num, .game .num { text-align: left; }
  .row > strong, .game > strong { min-width: 0; }
  .players { flex-wrap: wrap; row-gap: 0.35rem; }
  .watch {
    display: flex;
    flex-direction: column;
  }
  .talk { border: 0; border-top: 1px solid var(--line); }
  .stage-wrap { order: 1; }
  .talk { order: 2; }
  .watch header { display: block; }
  .td-lanes { grid-template-columns: 1fr; }
  .score { text-align: left; margin-top: 0.6rem; }
}

.rps {
  --rps-cut: #fff7f1;
  --skin: #f6c3a4;
  width: min(100%, 820px);
  margin: 0 auto;
  color: var(--ink);
}
.rps-table {
  background: linear-gradient(180deg, #fff1e4 0%, #fffaf4 40%, #eefaf6 100%);
  border-radius: 28px;
  padding: 1.15rem 1.2rem 1rem;
  box-shadow: 0 18px 40px rgba(90, 50, 20, 0.08);
}
.rps-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.2rem;
  gap: 1.2rem;
  align-items: start;
}
.rps-head { display: flex; align-items: baseline; gap: 0.7rem; width: 100%; }
.rps-who { margin: 0; color: var(--shirt); font-size: 1rem; font-weight: 650; }
.rps-seat { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rps-seat.home { --shirt: #ff7a59; --hair: #3a2a24; }
.rps-seat.away { --shirt: #2fbfb3; --hair: #243044; }
.rps-seat.turn .rps-who { color: var(--accent); }
.rps-score {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.rps-score.hot { color: var(--accent); }
.rps-pips { display: flex; gap: 0.28rem; margin-left: auto; }
.rps-pips i {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 99px;
  border: 1.5px solid var(--ink);
  display: block;
}
.rps-pips i.on { background: var(--shirt); border-color: var(--shirt); }
.rps-pips i.got { background: var(--accent); border-color: var(--accent); }
.rps-person { width: min(100%, 168px); height: auto; margin-top: 0.45rem; display: block; }
.rps-play {
  width: min(100%, 210px);
  margin-top: 0.2rem;
  background: #fff;
  border-radius: 26px;
  padding: 0.3rem 0.35rem 0.5rem;
  box-shadow: 0 10px 24px rgba(70, 40, 20, 0.08);
  text-align: center;
}
.rps-play.hot { box-shadow: 0 0 0 3px var(--accent), 0 12px 24px rgba(12, 107, 82, 0.16); }
.rps-hand-svg { display: block; width: 100%; height: 168px; color: var(--skin); }
.rps-hand-svg.rest { opacity: 0.4; }
.rps-caption { margin: 0.05rem 0 0; font-size: 1.15rem; font-weight: 650; }
.rps-bench { display: flex; gap: 0.8rem; margin-top: 0.85rem; }
.rps-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: var(--ink);
  opacity: 0.28;
}
.rps-tool .rps-weapon { width: 42px; height: 42px; }
.rps-tool.on { opacity: 1; }
.rps-weapon.rock { color: #e07a3d; }
.rps-weapon.paper { color: #4c97ea; }
.rps-weapon.scissors { color: #ef6d8a; }
.rps-bench-name { font-size: 0.75rem; }
.rps-weapon { display: block; width: 100%; height: 100%; }
.rps-weapon.hot { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
.rps-miss { width: 18px; height: 2px; background: var(--line); display: block; }
.rps-trail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.8rem 0 0;
  border-top: 1px solid var(--line);
}
.rps-trail li {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border-radius: 16px;
}
.rps-trail .rps-weapon { width: 44px; height: 44px; }
.rps-round-no { color: var(--muted); font-size: 0.8rem; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.rps-play.beat { animation: rps-in 0.4s ease; }
.cover-rps { gap: 1.6rem; --rps-cut: #eceae6; color: var(--ink); }
.cover-rps .rps-weapon { width: 52px; height: 52px; }
.billboard-stage .rps { --rps-cut: var(--paper); width: 100%; }
.billboard-stage .rps-table { padding: 0.7rem 0.75rem 0.6rem; }
.billboard-stage .rps-person { width: 92px; }
.billboard-stage .rps-hand-svg { height: 92px; }
.billboard-stage .rps-score { font-size: 2rem; }
.billboard-stage .rps-caption { font-size: 0.92rem; }
.billboard-stage .rps-tool .rps-weapon { width: 26px; height: 26px; }
.billboard-stage .rps-bench-name { display: none; }
.billboard-stage .rps-trail .rps-weapon { width: 18px; height: 18px; }
@keyframes rps-in {
  from { transform: translateY(18px); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rps-play.beat { animation: none; }
}
@media (max-width: 860px) {
  .rps-person { width: 120px; }
  .rps-hand-svg { height: 128px; }
  .rps-players { gap: 0.6rem; }
}

.reel {
  --open: 1;
  --hall: 0;
  --open-shift: 0;
  --hall-shift: 28;
  position: relative;
  z-index: 0;
  height: 480vh;
  margin-top: -5.2rem;
  background: #e8ebf0;
}
.reel-pin {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
  background: #e8ebf0;
}
.reel-pin canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.reel-copy {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.reel-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.5rem, 6.6vw, 6.6rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.reel-line {
  position: absolute;
  left: clamp(1.2rem, 5vw, 4.2rem);
  width: min(12em, calc(100% - 2.4rem));
}
.reel-line[data-beat="open"] {
  top: calc(7.2rem + 8vh);
  opacity: var(--open);
  transform: translate3d(0, calc(var(--open-shift) * 1px), 0);
}
.reel-line[data-beat="hall"] {
  bottom: clamp(1.5rem, 7vh, 4rem);
  opacity: var(--hall);
  transform: translate3d(0, calc(var(--hall-shift) * 1px), 0);
}
.reel.is-wait .reel-line { opacity: 0; }

.broadcast {
  padding: 3rem 0 1.5rem;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--line);
}
.live-desk {
  display: grid;
  grid-gap: 0.7rem;
  gap: 0.7rem;
  width: min(1200px, calc(100% - 4.4rem));
  margin: 0 auto;
}
.live-topline {
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
}
.live-bug {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.live-bug i {
  width: 0.38rem;
  height: 0.38rem;
  background: var(--accent);
  animation: live-pulse 1.8s ease-in-out infinite;
}
.live-pitch {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
}
.live-main {
  display: grid;
  grid-template-columns: minmax(180px, 0.92fr) minmax(340px, 1.35fr) minmax(180px, 0.92fr);
  grid-template-areas:
    "h0 fight h1"
    "foot foot foot";
  grid-gap: 1.15rem 0.7rem;
  gap: 1.15rem 0.7rem;
  align-items: stretch;
  min-width: 0;
}
.live-harness {
  min-width: 0;
  min-height: 0;
  height: 27rem;
}
.live-h0 { grid-area: h0; }
.live-h1 { grid-area: h1; }
.live-harness .harness { height: 100%; }
.fight-strip {
  grid-area: fight;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 27rem;
  padding: 0.3rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.fight-strip.is-shake .fight-arena {
  animation: fight-shake 0.22s ease;
}
.fight-arena {
  position: relative;
  flex: 1 1;
  min-height: 0;
  overflow: hidden;
}
.live-foot {
  grid-area: foot;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.fight-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.35rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
  pointer-events: none;
}
.fight-clash {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  box-shadow: 0 0 0 0.35rem color-mix(in srgb, var(--accent) 28%, transparent);
  animation: fight-clash 0.18s ease-out;
  pointer-events: none;
  z-index: 3;
}
.fighter {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  z-index: 1;
  display: grid;
  place-items: end center;
  width: max-content;
  /* No max-width — wide poses (kick/guard) must keep the same height scale. */
  transform: translateX(calc(-50% + var(--fight-x, 0%)));
  transition: transform 0.14s cubic-bezier(0.18, 0.9, 0.2, 1);
  will-change: transform;
}
.fighter[data-pose="punch"],
.fighter[data-pose="kick"] {
  transition-duration: 0.1s;
  transition-timing-function: cubic-bezier(0.15, 0.95, 0.3, 1);
}
.fighter[data-pose="hit"] {
  transition-duration: 0.12s;
  transition-timing-function: cubic-bezier(0.3, 0.1, 0.4, 1);
}
.fighter[data-pose="down"] {
  z-index: 2;
  transition-duration: 0.28s;
}
.fighter[data-pose="punch"],
.fighter[data-pose="kick"],
.fighter[data-pose="hit"] { z-index: 2; }
.fighter-face {
  transform-origin: 50% 100%;
  transition: transform 0.14s ease, filter 0.2s ease;
}
/* Sheets face right; mirror red so opponents face inward. */
.fighter.is-red .fighter-face { transform: scaleX(-1); }
.fighter img {
  display: block;
  height: 16rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(20, 24, 30, 0.08));
}
.fighter.is-hot .fighter-face {
  filter: drop-shadow(0 0 0.55rem color-mix(in srgb, var(--accent) 40%, transparent));
}
.fighter.is-blue.is-hot .fighter-face {
  filter: drop-shadow(0 0 0.7rem rgba(70, 140, 255, 0.42));
}
.fighter.is-red.is-hot .fighter-face {
  filter: drop-shadow(0 0 0.7rem rgba(220, 70, 70, 0.4));
}
/* No per-pose scale — size stays constant; motion is position only. */
.fighter[data-pose="hit"] .fighter-face { opacity: 0.94; }
.fighter.is-red[data-pose="hit"] .fighter-face { transform: scaleX(-1); opacity: 0.94; }
.fighter[data-pose="guard"] .fighter-face { transform: none; }
.fighter.is-red[data-pose="guard"] .fighter-face { transform: scaleX(-1); }
.fighter[data-pose="win"] .fighter-face { transform: none; }
.fighter.is-red[data-pose="win"] .fighter-face { transform: scaleX(-1); }
.fighter[data-pose="punch"] .fighter-face,
.fighter[data-pose="kick"] .fighter-face { transform: none; }
.fighter.is-red[data-pose="punch"] .fighter-face,
.fighter.is-red[data-pose="kick"] .fighter-face { transform: scaleX(-1); }
.fighter[data-pose="win"] img {
  /* Raised arms pad the frame — enlarge so body matches other poses. */
  height: 20.5rem;
}
.fighter[data-pose="down"] img {
  /* Match win body scale so KO reads same size as the standing winner. */
  height: auto;
  width: 20.5rem;
  max-width: none;
  max-height: 6.6rem;
  object-fit: contain;
  object-position: bottom center;
}
.fighter[data-pose="down"] .fighter-face { opacity: 0.92; }
.fighter.is-red[data-pose="down"] .fighter-face { transform: scaleX(-1); }
@keyframes fight-clash {
  from { transform: translate(-50%, -50%) scale(0.4); opacity: 0.2; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes fight-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-0.18rem); }
  75% { transform: translateX(0.18rem); }
}
.live-bridge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0.1rem 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-align: left;
  max-width: none;
}
.live-bridge b {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: var(--line);
  font-size: 0;
}
.live-bridge span {
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;
}
.live-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 28rem;
}
.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  align-items: center;
  min-width: 0;
  width: 100%;
  padding: 0.4rem 0.4rem 0.4rem 0.55rem;
  border: 1px solid var(--line);
  background: #f4f4f4;
}
.copy-snip {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.copy-btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  flex: none;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.38rem 0.6rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.copy-btn:hover { background: #222; }
.copy-btn.is-done {
  background: var(--floor);
  color: var(--accent);
  outline: 1px solid var(--accent);
}

/* Harness panes — intentional IDE chat chrome, not site paper */
.harness {
  --h-bg: #1e1e1e;
  --h-bg-2: #252526;
  --h-bg-3: #2a2a2b;
  --h-border: #3c3c3c;
  --h-border-soft: #333;
  --h-text: #e8e8e8;
  --h-dim: #9d9d9d;
  --h-faint: #6e6e6e;
  --h-accent: #89d185;
  --h-blue: #79b8ff;
  --h-tool: #2d2d2d;
  --h-user: #2c313a;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: var(--h-bg);
  border: 1px solid var(--h-border);
  border-radius: 8px;
  overflow: hidden;
  color: var(--h-text);
  font-family: var(--font-inter), Inter, system-ui, sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}
.harness.is-act {
  border-color: #4a7a52;
  box-shadow:
    0 0 0 1px rgba(137, 209, 133, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.16);
}
.harness-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.55rem;
  background: var(--h-bg-2);
  border-bottom: 1px solid var(--h-border);
}
.harness .avatar {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: none;
  display: grid;
  place-items: center;
  background: #3e3e42;
  color: #ddd;
  font-size: 8px;
  font-weight: 600;
}
.harness.is-act .avatar {
  background: #2f5b3a;
  color: var(--h-accent);
}
.harness-bar .who { flex: 1 1; min-width: 0; }
.harness-bar .who strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.harness .status {
  color: var(--h-faint);
  font-size: 10px;
  white-space: nowrap;
}
.harness.is-act .status { color: var(--h-accent); }
.harness .status .spin {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border: 1.5px solid rgba(137, 209, 133, 0.25);
  border-top-color: var(--h-accent);
  border-radius: 50%;
  vertical-align: -1px;
  animation: harness-spin 0.75s linear infinite;
}
.thread-wrap {
  position: relative;
  flex: 1 1;
  min-height: 0;
}
.thread-wrap::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 18px;
  pointer-events: none;
  background: linear-gradient(180deg, var(--h-bg) 0%, transparent 100%);
}
.harness .thread {
  height: 100%;
  overflow: hidden;
  padding: 8px 9px;
  overscroll-behavior: none;
  /* Allow vertical page scroll on phone; thread itself stays non-scrollable. */
  touch-action: pan-y;
}
.harness .msg {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  margin: 0 0 10px;
  animation: rise 0.22s ease;
}
.harness .msg:last-child { margin-bottom: 0; }
.harness .msg-role {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--h-dim);
  font-size: 10px;
  font-weight: 600;
}
.harness .msg-role .pill {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 7px;
  background: #3e3e42;
  color: #ccc;
}
.harness .msg.is-user .msg-role .pill { background: #3a4558; color: var(--h-blue); }
.harness .msg.is-agent .msg-role .pill { background: #35503c; color: var(--h-accent); }
.harness .bubble {
  color: var(--h-text);
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}
.harness .msg.is-user .bubble {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--h-user);
  color: #d7e3f4;
  font-size: 11.5px;
}
.harness .msg.is-system .bubble {
  color: var(--h-faint);
  font-size: 11px;
  font-style: italic;
}
.harness .tool {
  border: 1px solid var(--h-border);
  border-radius: 7px;
  background: var(--h-tool);
  overflow: hidden;
}
.harness .tool-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  background: var(--h-bg-3);
  border-bottom: 1px solid var(--h-border-soft);
  font-size: 11px;
}
.harness .tool-head .chev { color: var(--h-faint); font-size: 9px; }
.harness .tool-head .name {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10.5px;
  color: var(--h-blue);
  font-weight: 500;
}
.harness .tool-head .badge {
  margin-left: auto;
  color: var(--h-faint);
  font-size: 10px;
}
.harness .tool.is-run .tool-head .badge { color: var(--h-accent); }
.harness .tool-body {
  margin: 0;
  padding: 6px 8px 7px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  line-height: 1.4;
  color: #c8c8c8;
  white-space: pre-wrap;
}
.harness .thinking {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--h-dim);
  font-size: 11.5px;
}
.harness .thinking i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--h-dim);
  opacity: 0.35;
  animation: harness-blink 1.1s ease-in-out infinite;
}
.harness .thinking i:nth-child(2) { animation-delay: 0.15s; }
.harness .thinking i:nth-child(3) { animation-delay: 0.3s; }

.live-clock {
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: clamp(3.2rem, 5.4vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.9;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.picture-frame {
  position: relative;
  display: block;
  min-width: 0;
}
.picture-frame::before,
.tile::before,
.catalog-screen::before { content: none; }
.catalog-screen .view-slot.preview,
.tile-stage .view-slot.preview { height: 100%; }
.tile-stage .view-scale { border-radius: 0; }

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes harness-spin { to { transform: rotate(360deg); } }
@keyframes harness-blink {
  0%, 80%, 100% { opacity: 0.25; }
  40% { opacity: 1; }
}

.catalog {
  width: min(1200px, calc(100% - 4.4rem));
  margin: 0 auto;
  padding: 3.2rem 0 3.6rem;
}
.catalog-head, .rank-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.4rem 0 0.8rem;
}
.catalog h2, .rank h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.tiles { display: none; }
.catalog-desk {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-column-gap: 3.6rem;
  column-gap: 3.6rem;
  align-items: stretch;
}
.catalog-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.catalog-screen {
  position: -webkit-sticky;
  position: sticky;
  top: var(--stick, 4.2rem);
  width: min(75%, 40rem);
  display: block;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 10px 10px 0 var(--line);
}
.catalog-screen .tile-stage { display: block; aspect-ratio: 16 / 10; }
.catalog-screen.playing .tile-cover { opacity: 0; }
.catalog-screen.playing .tile-replay { opacity: 1; }
.game-list { display: flex; flex-direction: column; min-width: 0; }
.game-row {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  grid-gap: 0.9rem;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
.game-row:last-child { border-bottom: 1px solid var(--line); }
.game-row-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e4e8ee;
}
.game-row.is-on .game-row-cover { outline: 1px solid var(--ink); }
.game-row-cover .tile-cover.pieces { gap: 0.2rem; }
.game-row-cover .tile-cover.pieces i { width: 1.15rem; height: 1.15rem; font-size: 0.62rem; }
.game-row-cover .tile-cover.call { font-size: 1rem; }
.game-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.game-row strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.game-row .tile-nums { margin-top: 0.2rem; padding-top: 0; border-top: 0; font-size: 0.82rem; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fbfcfd;
  overflow: visible;
  color: var(--ink);
  box-shadow: 10px 10px 0 var(--line);
  text-decoration: none;
}
.tile-body { display: flex; flex-direction: column; flex: 1 1; padding: 0.95rem 1.1rem 1rem; }
.tile em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tile strong {
  display: block;
  margin-top: 0.28rem;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.tile-nums {
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.tile-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e4e8ee;
}
.tile-cover, .tile-replay { transition: opacity 0.35s ease; }
.tile-cover { display: block; width: 100%; height: 100%; background: #e4e8ee; }
.tile-cover img, .tile-cover svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-cover img.cover-plate { object-position: center 72%; }
.tile-cover.pieces {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: #e4c99a;
}
.tile-cover.pieces i {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7f1e4;
  border: 1px solid #3a2a1c;
  color: var(--ink);
  font-style: normal;
  font-size: 1.15rem;
}
.tile-cover.pieces i.red { color: #9d1c1c; }
.tile-cover.call {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.tile-cover.siege {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  background: #cfc6b8;
  padding: 12% 14%;
  grid-gap: 12%;
  gap: 12%;
}
.tile-cover.siege i { background: #8d8478; }
.tile-cover.siege i:nth-child(2) { background: #6e675e; }
.tile-cover.tower {
  background:
    radial-gradient(circle at 30% 70%, #e7c56a 0 1.1rem, transparent 1.2rem),
    radial-gradient(circle at 62% 40%, #c45a48 0 0.9rem, transparent 1rem),
    linear-gradient(#c5d7a4, #e7d3b0);
}
.tile-replay { position: absolute; inset: 0; opacity: 0; background: #f4f7fa; }
.tile.playing .tile-cover { opacity: 0; }
.tile.playing .tile-replay { opacity: 1; }
.tile-replay .view-slot, .tile-replay .rps, .tile-replay .board { width: 100%; height: 100%; }

.rank {
  width: min(1200px, calc(100% - 4.4rem));
  margin: 0 auto;
  padding: 0 0 4rem;
}
.rank .table { margin-top: 1rem; }
.rank .row strong { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; }

@keyframes sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@media (prefers-reduced-motion: reduce) {
  .live-bug i, .harness .status .spin, .harness .thinking i { animation: none; }
  .harness .msg { animation: none; }
  .fighter, .fighter-face { transition: none !important; animation: none !important; }
  .fight-strip.is-shake .fight-arena { animation: none; }
  .reel { height: auto; }
  .reel-pin { position: relative; height: 100dvh; }
  .reel-copy h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08em;
  }
  .reel-line { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 860px) {
  /* Longer scrub on phone so a flick covers less of the film. */
  .reel { height: 560vh; }
  .reel-line { left: 1.15rem; width: min(11em, calc(100% - 2.3rem)); }
  .reel-line[data-beat="open"] { top: calc(6.2rem + 6vh); }
  .reel-line[data-beat="hall"] { bottom: calc(1.15rem + env(safe-area-inset-bottom)); }
  .reel-copy h1 {
    font-size: clamp(2.15rem, 10.6vw, 3.2rem);
    line-height: 0.94;
  }
  .broadcast { padding: 2.25rem 0 1.5rem; }
  .live-desk { width: auto; margin-left: 1.4rem; margin-right: 1.4rem; }
  .live-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "h0 h1"
      "fight fight"
      "foot foot";
    gap: 0.65rem;
  }
  .live-foot { justify-content: flex-start; }
  .live-harness { height: 230px; }
  .live-harness .harness { height: 100%; }
  .fight-strip {
    height: auto;
    min-height: 9.2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0.3rem 0.2rem;
  }
  .fight-arena { flex: none; height: 9rem; }
  .fighter img { height: 6.6rem; }
  .fighter[data-pose="win"] img { height: 8.5rem; }
  .fighter[data-pose="down"] img {
    width: 8.5rem;
    max-height: 3.1rem;
  }
  .live-foot {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .live-copy-col { max-width: none; }
  .copy-snip {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .catalog { width: auto; margin: 0; padding: 1.75rem 1.4rem 2.6rem; }
  .rank { width: auto; margin: 0; padding: 0 1.4rem 2.6rem; }
  .agent-bar {
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.7rem;
    padding: 0.4rem 1.1rem;
  }
  .agent-bar p {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .agent-bar a { flex: none; white-space: nowrap; }
  .site-foot { flex-direction: column; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .reel { height: auto; }
}

.index-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plist { display: flex; flex-direction: column; }
.prow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 760px);
  grid-column-gap: 2.5rem;
  column-gap: 2.5rem;
  align-items: stretch;
  padding: 10px 0 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.prow-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.prow-line i {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: translateX(100%);
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.prow:hover .prow-line i { transform: none; }
.prow-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 0.35rem 0 0.15rem;
}
.prow-top { display: flex; gap: 0.85rem; align-items: flex-start; }
.prow-badge {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.prow-name { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.prow-name strong {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.prow-name em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
}
.prow-desc {
  display: block;
  max-width: 36ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 0.5s ease;
}
.prow:hover .prow-desc { color: var(--ink); }
.prow-meta {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prow-media { display: flex; gap: 14px; min-width: 0; align-items: flex-start; justify-content: flex-end; }
.prow-tile {
  position: relative;
  flex: 1 1;
  min-width: 0;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  overflow: hidden;
  background: #e4e8ee;
}
.prow-tile:only-child { flex: 0 1 373px; max-width: 373px; }
.prow-tile .tile-cover,
.prow-tile .shot { position: absolute; inset: 0; width: 100%; height: 100%; }
.prow-tile .tile-cover img,
.prow-tile .tile-cover svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.prow-tile .shot,
.prow-tile .tile-cover { transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1); }
.prow:hover .prow-tile .shot,
.prow:hover .prow-tile .tile-cover { transform: scale(1.03); }
.prow-tile .view-slot.preview,
.prow-tile .view-slot,
.prow-tile .view-scale { width: 100%; height: 100%; }
.prow-arrow {
  position: absolute;
  right: 0;
  top: 18px;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 0.95rem;
}
.prow:hover .prow-arrow { opacity: 1; }
.rank .row { position: relative; }
.rank .row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.rank .row:hover::before { transform: scaleX(1); }

.scr-word { display: inline-block; white-space: nowrap; }
.scr-char { display: inline; white-space: pre; }
.scr-char.is-noise { opacity: 0; }
.scr-char.is-band, .scr-char.is-final { opacity: 1; }

.cut {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  background: #080808;
  color: #fff;
  opacity: 1;
}
.cut[hidden] { display: none !important; }
.cut-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.cut-box { width: 168px; height: 105px; }
.cut-box svg { width: 100%; height: 100%; display: block; }
.cut-box.is-rush { animation: cut-rush 0.4s cubic-bezier(0.55, 0, 1, 1) forwards; }
.cut-line {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cut.is-rushing .cut-line { animation: cut-fade 0.16s ease forwards; }
@keyframes cut-rush {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(13); opacity: 0; }
}
@keyframes cut-fade {
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .prow-line i, .prow-desc, .prow-tile .shot, .prow-tile .tile-cover, .rank .row::before { transition: none; }
  .scr-char.is-noise { opacity: 1; }
}
@media (max-width: 860px) {
  .prow { grid-template-columns: 1fr; row-gap: 14px; }
  .prow-media { position: relative; order: -1; width: 100%; }
  .prow-arrow { display: none; }
  .prow-media .prow-tile:first-child,
  .prow-media .prow-tile:only-child { flex: 1 1 auto; width: 100%; max-width: none; }
  .prow-media .prow-tile:nth-child(2) {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .prow.is-playing .prow-media .prow-tile:nth-child(2) { opacity: 1; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .prow-media .prow-tile:nth-child(2) { transition: none; }
}

.review {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 4rem;
}
.review h1 { font-size: clamp(2rem, 4vw, 3rem); }
.review h2 { margin: 1.6rem 0 0.6rem; }
.review pre {
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
  padding: 1rem;
  max-height: 24rem;
  overflow: auto;
  background: white;
}
.review-list { display: flex; flex-direction: column; margin-top: 1.4rem; }
.review-list a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.review-list span { color: var(--muted); }
.review-actions { display: flex; gap: 0.8rem; align-items: center; }
.review-actions button { margin-top: 0; }
.review button.quiet-button { background: white; color: var(--ink); border: 1px solid var(--line); }

