*{box-sizing:border-box}html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{font-family:system-ui,sans-serif;margin:0;background:#1a1a2e;color:#eee;min-height:100dvh}#app{width:100%;height:100%;overflow:hidden}.wrap{padding:12px;max-width:600px;margin:0 auto}h1{margin:8px 0 14px;font-size:1.4em}.top-game-status{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:-4px 0 10px;padding:7px 9px;border:1px solid #2a2a4a;border-radius:8px;background:#0f0f23b8;color:#dce6ff;font-size:11px;line-height:1.25}.top-game-status b{opacity:.55;font-weight:600;margin-right:3px}.top-members{display:flex;flex-wrap:wrap;gap:4px}.top-members span{padding:2px 6px;border-radius:999px;background:#16213e;white-space:nowrap}.top-members .is-connected{color:#9ff5b5}.top-members .is-offline{color:#8d8da6;opacity:.7}.debug-actor{display:inline-flex;align-items:center;gap:5px;padding:2px 6px;border-radius:6px;background:#132845;color:#b9d7ff}.debug-actor select{max-width:120px;border:1px solid #35537d;border-radius:5px;background:#0f1728;color:#fff;font-size:11px;padding:2px 4px}.top-actions{display:flex;gap:6px;margin-left:auto}.top-action{font-size:11px;line-height:1;padding:6px 8px;border-radius:7px;background:#26365f;color:#e9f0ff}.top-action.danger{background:#3a2432;color:#ffd9e4}.pokemon-app{--pokemon-blue: #2854a6;--pokemon-yellow: #f2c94c;width:min(1120px,100%);height:100dvh;margin:0 auto;display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;background:#f4f7fb;color:#17223b;min-width:0;overflow-x:hidden}.pokemon-header{display:flex;align-items:center;gap:18px;padding:14px 20px;color:#fff;background:linear-gradient(120deg,#173b78,var(--pokemon-blue));border-bottom:5px solid var(--pokemon-yellow)}.pokemon-header h1{margin:0;font-size:clamp(1.25rem,3vw,1.8rem)}.pokemon-kicker{margin:0 0 2px;font-size:10px;font-weight:800;letter-spacing:.18em;color:#ffe489}.pokemon-back{flex:0 0 auto;background:#ffffff24;border:1px solid rgba(255,255,255,.34)}.pokemon-editor-open{margin-left:auto;background:#f2c94c;color:#17315e}.pokemon-tabs{display:flex;gap:4px;padding:8px 14px;overflow-x:auto;background:#fff;border-bottom:1px solid #d8e0ed}.pokemon-tabs :is(button,a:where([data-route])){white-space:nowrap;background:transparent;color:#3b4c68;padding:8px 13px}.pokemon-tabs :is(button,a:where([data-route])).active{background:#e9f0ff;color:#173f88;box-shadow:inset 0 -2px #2d65c4}.pokemon-tools{display:flex;gap:10px;flex-wrap:wrap;padding:10px 16px;background:#eef3fa}.pokemon-tools form{display:flex;flex:1 1 280px;gap:6px}.pokemon-tools input{min-width:0;flex:1;border:1px solid #becae0;border-radius:8px;padding:9px 11px;font-size:16px}.pokemon-tools :is(button,a:where([data-route])),.pokemon-pagination :is(button,a:where([data-route])),.pokemon-detail :is(button,a:where([data-route])){background:var(--pokemon-blue)}.pokemon-filters{display:flex;align-items:center;gap:10px}.pokemon-filters label{display:flex;align-items:center;gap:5px;font-size:12px;color:#50617c}.pokemon-filters select{border:1px solid #becae0;border-radius:7px;padding:7px;background:#fff}.pokemon-status{min-height:24px;margin:0;padding:4px 17px;font-size:12px;color:#62708a;background:#f4f7fb}.pokemon-content{min-height:0;overflow:auto;padding:8px 16px 18px}.pokemon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:10px}.pokemon-card{display:flex;align-items:center;gap:10px;width:100%;min-height:116px;padding:10px;text-align:left;color:#17223b;background:#fff;border:1px solid #dce3ef;box-shadow:0 3px 12px #1c376312}.pokemon-card:hover{border-color:#7095d7;transform:translateY(-1px)}.pokemon-card-image{flex:0 0 88px;display:grid;place-items:center}.pokemon-card-image img{width:88px;height:88px;object-fit:contain}.pokemon-card-copy{min-width:0;display:flex;flex-direction:column;gap:2px}.pokemon-card-copy small{color:#77849a}.pokemon-card-copy strong{font-size:1.05rem}.pokemon-card-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#56657c}.pokemon-type-line{color:#2854a6!important;font-weight:700}.pokemon-image-placeholder{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#e9eef6;color:#8290a6;font-weight:800}.pokemon-image-placeholder[hidden]{display:none}.pokemon-table-wrap{overflow:auto;border:1px solid #dce3ef;border-radius:10px;background:#fff}.pokemon-table{width:100%;border-collapse:collapse;font-size:13px}.pokemon-table th{position:sticky;top:0;z-index:1;padding:10px;text-align:left;color:#52617a;background:#edf2f9}.pokemon-table td{padding:9px 10px;border-top:1px solid #e7ebf2;vertical-align:middle}.pokemon-table td small{display:block;color:#7b8799}.pokemon-table-link{display:block;width:100%;padding:0!important;text-align:left;color:#173f88;background:transparent!important}.pokemon-table-link:hover{text-decoration:underline}.pokemon-trainer-name{display:flex;align-items:center;gap:8px}.pokemon-trainer-name img{width:44px;height:44px;object-fit:contain}.pokemon-trainer-name .pokemon-image-placeholder{width:36px;height:36px}.pokemon-trainer-category{display:flex;align-items:center;gap:8px}.pokemon-trainer-category>span:last-child{display:grid;gap:2px}.pokemon-trainer-type-icon img{width:58px;height:22px;object-fit:contain}.pokemon-trainer-type-icon .pokemon-image-placeholder{width:52px;height:20px;border-radius:4px;font-size:10px}.pokemon-pagination{display:flex;justify-content:center;align-items:center;gap:12px;min-height:54px;padding:8px;border-top:1px solid #d8e0ed;background:#fff}.pokemon-pagination span{color:#64728a;font-size:13px}.pokemon-pagination :is(button,a:where([data-route])):disabled{opacity:.4}.pokemon-empty{padding:48px 20px;text-align:center;color:#68768b}.pokemon-loading{width:38px;height:38px;margin:60px auto;border:4px solid #d8e2f3;border-top-color:#2854a6;border-radius:50%;animation:pokemon-spin .7s linear infinite}@keyframes pokemon-spin{to{transform:rotate(360deg)}}.pokemon-detail{max-width:860px;margin:0 auto;padding:16px;border-radius:12px;background:#fff;box-shadow:0 4px 18px #1e365c17}.pokemon-detail-hero{display:flex;align-items:center;gap:22px;margin:14px 0}.pokemon-detail-hero img{width:180px;height:180px;object-fit:contain}.pokemon-detail-hero .pokemon-image-placeholder{width:150px;height:150px;font-size:2rem}.pokemon-detail-hero h2{margin:4px 0;font-size:1.8rem}.pokemon-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:16px 0}.pokemon-stats div{padding:10px 4px;text-align:center;border-radius:8px;background:#eef3fa}.pokemon-stats dt{font-size:11px;color:#60708a}.pokemon-stats dd{margin:3px 0 0;font-size:1.1rem;font-weight:800}.pokemon-detail section{border-top:1px solid #e2e7ef;margin-top:14px;padding-top:10px}.pokemon-detail h3{margin:0 0 7px;font-size:1rem;color:#244d91}.pokemon-detail h4{margin:13px 0 7px;color:#53647f}.pokemon-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.pokemon-info-grid>div{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:8px;padding:8px 10px;border-radius:7px;background:#f4f7fb}.pokemon-info-grid dt{color:#62708a;font-size:12px}.pokemon-info-grid dd{min-width:0;margin:0;font-weight:700;overflow-wrap:anywhere}.pokemon-detail-chips{display:flex;flex-wrap:wrap;gap:6px}.pokemon-detail-chips span{padding:5px 9px;border-radius:999px;background:#edf2fa;font-size:12px}.pokemon-relation-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.pokemon-relation-card{padding:10px;border:1px solid #dce3ef;border-radius:9px;background:#f8faff}.pokemon-relation-card :is(button,a:where([data-route])){padding:6px 9px}.pokemon-relation-card p{margin:7px 0;color:#64728a;font-size:12px}.pokemon-relation-card ul{margin:5px 0 0;padding-left:20px;font-size:13px}.pokemon-other-forms{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:7px}.pokemon-other-form{display:grid;place-items:center;gap:5px;min-height:112px;padding:7px!important;color:#263957;background:#f6f9fd!important;border:1px solid #dce3ef}.pokemon-other-form img{width:72px;height:72px;object-fit:contain}.pokemon-other-form .pokemon-image-placeholder{width:62px;height:62px}.pokemon-other-form span{font-size:12px}.pokemon-move-chips{display:flex;flex-wrap:wrap;gap:5px}.pokemon-move-chips span{padding:4px 7px;border-radius:999px;background:#edf2fa;font-size:12px}.pokemon-move-table-wrap{overflow-x:auto;border:1px solid #dce3ef;border-radius:9px}.pokemon-move-table{width:100%;min-width:620px;border-collapse:collapse;font-size:13px}.pokemon-move-table th{padding:8px 10px;text-align:left;white-space:nowrap;color:#52617a;background:#edf2f9}.pokemon-move-table td{padding:8px 10px;border-top:1px solid #e7ebf2;white-space:nowrap}.pokemon-move-table td:nth-child(n+5){text-align:right;font-variant-numeric:tabular-nums}.pokemon-move-table small{display:block;color:#7b8799}.pokemon-move-detail-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 4px 8px}.pokemon-move-detail-head h2{margin:3px 0;font-size:1.8rem}.pokemon-move-detail-head p{margin:0;color:#65728a}.pokemon-move-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.pokemon-move-badges span{padding:6px 11px;border-radius:999px;color:#fff;background:#2854a6;font-weight:700}.pokemon-move-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:12px 0}.pokemon-move-summary div{padding:10px;text-align:center;border-radius:8px;background:#eef3fa}.pokemon-move-summary dt{color:#60708a;font-size:11px}.pokemon-move-summary dd{margin:4px 0 0;font-size:1.15rem;font-weight:800}.pokemon-effect-list{margin:0;padding-left:22px;line-height:1.7}.pokemon-move-description{margin:0 0 10px;padding:11px 13px;border-left:4px solid #2d65c4;border-radius:0 7px 7px 0;line-height:1.7;background:#f2f6fc}.pokemon-effectiveness{display:grid;gap:6px;margin:10px 0 0}.pokemon-effectiveness>div{display:grid;grid-template-columns:125px 1fr;gap:8px;align-items:start}.pokemon-effectiveness dt{color:#62708a;font-size:12px}.pokemon-effectiveness dd{display:flex;flex-wrap:wrap;gap:5px;margin:0}.pokemon-effectiveness span{padding:3px 7px;border-radius:999px;font-size:12px}.pokemon-effectiveness .strong{color:#8b271d;background:#ffe7e2}.pokemon-effectiveness .weak{color:#315a8c;background:#e4efff}.pokemon-effectiveness .immune{color:#5e5668;background:#ece9ef}.pokemon-legend-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:1080px;margin:0 auto 10px;padding:12px 14px;border-radius:10px;background:#fff7d7}.pokemon-legend-toolbar p{margin:0;color:#5f5127}.pokemon-legend-toolbar :is(button,a:where([data-route])),.pokemon-legend-entry :is(button,a:where([data-route])){background:var(--pokemon-blue)}.pokemon-legend-toolbar-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.pokemon-legend-filter-modal{width:min(560px,calc(100vw - 28px));padding:0;border:1px solid #b9c7de;border-radius:14px;color:#263957;background:#fff;box-shadow:0 18px 70px #0f203a59}.pokemon-legend-filter-modal::backdrop{background:#121e3394;backdrop-filter:blur(2px)}.pokemon-legend-filter-modal header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid #dfe6f1;background:#f4f7fc}.pokemon-legend-filter-modal header small{color:#6c7990}.pokemon-legend-filter-modal h2{margin:1px 0 0;font-size:1.2rem}.pokemon-legend-filter-modal header :is(button,a:where([data-route])){padding:5px 10px;color:#596983;background:transparent;font-size:1.25rem}.pokemon-legend-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:17px}.pokemon-legend-filter-fields label{display:grid;gap:5px;color:#52627a;font-size:12px;font-weight:700}.pokemon-legend-filter-fields label:first-child{grid-column:1 / -1}.pokemon-legend-filter-fields select{width:100%;min-width:0;padding:9px 10px;border:1px solid #bac7db;border-radius:8px;color:#263957;background:#fff;font-size:14px}.pokemon-legend-filter-modal footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 17px 16px;border-top:1px solid #e2e7ef}.pokemon-legend-filter-modal footer :is(button,a:where([data-route])):last-child{background:var(--pokemon-blue)}.pokemon-legend-entry{max-width:1080px;margin:0 auto 14px;padding:16px;border:2px solid #e1bd3e;border-radius:12px;background:#fff;box-shadow:0 4px 18px #1e365c17}.pokemon-legend-entry[hidden]{display:none}.pokemon-legend-entry h2{margin:0 0 12px;color:#244d91}.pokemon-legend-step{margin-top:15px;padding-top:12px;border-top:1px solid #e2e7ef}.pokemon-legend-step h3{margin:0 0 8px;font-size:1rem}.pokemon-legend-step input{width:100%;padding:10px 12px;border:1px solid #becae0;border-radius:8px;font-size:16px}.pokemon-legend-pokemon-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:6px;max-height:280px;margin-top:8px;overflow:auto}.pokemon-legend-pokemon-choices :is(button,a:where([data-route])){display:flex;align-items:center;gap:8px;padding:7px;text-align:left;color:#263957;background:#f4f7fb;border:2px solid transparent}.pokemon-legend-pokemon-choices :is(button,a:where([data-route])).selected,.pokemon-legend-work-groups :is(button,a:where([data-route])).selected,.pokemon-legend-ball-grid :is(button,a:where([data-route])).selected,.pokemon-legend-shiny-options :is(button,a:where([data-route])).selected{border-color:#e2ae16;box-shadow:inset 0 0 0 2px #ffe486;background:#fff9dc}.pokemon-legend-pokemon-choices img{width:54px;height:54px;object-fit:contain}.pokemon-legend-pokemon-choices .pokemon-image-placeholder{width:50px;height:50px}.pokemon-legend-pokemon-choices span{display:grid;gap:2px}.pokemon-legend-pokemon-choices small{color:#718098}.pokemon-legend-work-groups{display:grid;gap:7px}.pokemon-legend-work-groups section{display:grid;grid-template-columns:74px 1fr;align-items:start;gap:8px;padding:7px;border-radius:8px;background:#f4f7fb}.pokemon-legend-work-groups h4{margin:7px 0 0;color:#5c6c84;font-size:12px}.pokemon-legend-work-groups section>div{display:flex;flex-wrap:wrap;gap:5px}.pokemon-legend-work-groups :is(button,a:where([data-route])){padding:7px 10px;color:#263957;background:#fff;border:2px solid #dbe3f0}.pokemon-legend-ball-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(106px,1fr));gap:7px}.pokemon-legend-ball-grid :is(button,a:where([data-route])){display:grid;justify-items:center;gap:4px;min-height:102px;padding:7px;color:#263957;background:#f5f8fc;border:2px solid #dbe3f0}.pokemon-legend-ball-grid img{width:58px;height:58px;object-fit:contain}.pokemon-legend-ball-grid .pokemon-image-placeholder{width:54px;height:54px}.pokemon-legend-ball-grid span{font-size:10px;line-height:1.2}.pokemon-legend-shiny-options{display:flex;gap:8px}.pokemon-legend-shiny-options :is(button,a:where([data-route])){min-width:120px;padding:10px 16px;color:#263957;background:#f5f8fc;border:2px solid #dbe3f0}.pokemon-legend-entry-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.pokemon-legend-entry-actions :is(button,a:where([data-route])):disabled{opacity:.4}.pokemon-legend-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));grid-auto-rows:1fr;align-items:stretch;gap:8px;max-width:1080px;margin:0 auto}.pokemon-legend-card{display:flex;flex-direction:column;padding:8px;border:1px solid #dce3ef;border-radius:10px;background:#fff;box-shadow:0 3px 12px #1c376312}.pokemon-legend-title{display:flex;align-items:baseline;gap:6px;min-width:0;margin:0 0 5px;white-space:nowrap;font-size:1rem}.pokemon-legend-title small{flex:0 0 auto;color:#6c7990;font-size:10px;font-weight:400}.pokemon-legend-title span{overflow:hidden;text-overflow:ellipsis}.pokemon-legend-title b{flex:0 1 auto;overflow:hidden;color:#9a6910;text-overflow:ellipsis;font-size:10px}.pokemon-legend-body{flex:1 1 auto;display:flex;align-items:stretch;gap:5px;min-height:70px}.pokemon-legend-pokemon{flex:0 0 68px;display:grid;place-items:end center}.pokemon-legend-pokemon>img{width:68px;height:68px;object-fit:contain}.pokemon-legend-pokemon>.pokemon-image-placeholder{width:62px;height:62px}.pokemon-legend-captures{flex:1 1 auto;display:flex;flex-wrap:wrap;align-content:flex-start;align-items:flex-start;gap:3px;min-width:0}.pokemon-legend-capture{display:flex;align-items:flex-start;gap:2px;min-width:0;padding:2px 3px;border-radius:6px;background:#f3f6fb}.pokemon-legend-ball-image{flex:0 0 23px;display:grid;place-items:center;width:23px;height:23px}.pokemon-legend-ball-image>img{width:22px;height:22px;object-fit:contain}.pokemon-legend-work-list{display:grid;gap:1px}.pokemon-legend-work-list>div{display:flex;align-items:center;justify-content:space-between;gap:2px;min-width:0;min-height:20px}.pokemon-legend-work-list span{overflow-wrap:anywhere;color:#596983;font-size:10px;line-height:1.25}.pokemon-legend-work-list em{color:#a36c00;font-style:normal;filter:drop-shadow(0 1px 1px white)}.pokemon-legend-work-list :is(button,a:where([data-route])){flex:0 0 auto;min-width:14px;padding:0 2px;color:#8b2d2d;background:transparent;font-size:10px;line-height:1.2}.pokemon-legend-no-capture{flex:1 1 auto;margin:0;padding:6px;border-radius:6px;color:#8a94a5;background:#f6f8fb;text-align:center;font-size:11px}.pokemon-trainer-hero{display:flex;align-items:center;gap:24px;margin:14px 0;min-height:210px}.pokemon-trainer-portrait{flex:0 0 210px;display:grid;place-items:center}.pokemon-trainer-portrait img{max-width:210px;width:100%;height:210px;object-fit:contain}.pokemon-trainer-portrait .pokemon-image-placeholder{width:170px;height:170px;font-size:2rem}.pokemon-trainer-hero h2{margin:4px 0;font-size:1.9rem}.pokemon-trainer-hero p{margin:0 0 12px;color:#65728a}.pokemon-trainer-type{display:flex;align-items:center;gap:9px;color:#244d91}.pokemon-trainer-type img{width:86px;height:32px;object-fit:contain}.pokemon-trainer-type .pokemon-image-placeholder{width:80px;height:28px;border-radius:5px}.pokemon-trainer-party-head{display:flex;justify-content:space-between;gap:12px;align-items:start}.pokemon-trainer-party-head p{margin:3px 0 10px;color:#68768b;font-size:12px}.pokemon-trainer-party-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.pokemon-party-slot{position:relative;min-width:0;padding:10px;border:1px solid #dce3ef;border-radius:10px;background:#f8faff}.pokemon-party-slot>:is(button,a:where([data-route])),.pokemon-party-slot>div:first-of-type{display:grid;justify-items:center;gap:3px;width:100%;padding:4px!important;color:#263957;background:transparent!important}.pokemon-party-slot>:is(button,a:where([data-route])) img,.pokemon-party-slot>div:first-of-type img{width:96px;height:96px;object-fit:contain}.pokemon-party-slot>:is(button,a:where([data-route])) .pokemon-image-placeholder,.pokemon-party-slot>div:first-of-type .pokemon-image-placeholder{width:86px;height:86px}.pokemon-party-slot small{color:#758196}.pokemon-party-slot>p{margin:5px 0 0;color:#5d6d85;font-size:11px}.pokemon-party-slot .pokemon-random-party-slot{min-height:126px;align-content:center;text-align:center}.pokemon-random-party-slot>span{display:grid;place-items:center;width:62px;height:62px;border:3px dashed #7c97c5;border-radius:50%;color:#2854a6;background:#eaf0fa;font-size:1.6rem;font-weight:800}.pokemon-random-party-slot small{color:#68768b}.pokemon-party-number{position:absolute;top:7px;left:8px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;background:#2854a6;font-size:11px;font-weight:800}.pokemon-party-alternates{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin-top:8px;padding-top:7px;border-top:1px solid #e0e6ef}.pokemon-party-alternates b{width:100%;color:#68768b;font-size:10px}.pokemon-party-alternates :is(button,a:where([data-route])){display:flex;align-items:center;gap:3px;max-width:100%;padding:3px 5px!important;color:#33445f;background:#eaf0fa!important;font-size:10px}.pokemon-party-alternates img{width:28px;height:28px;object-fit:contain}.pokemon-party-alternates .pokemon-image-placeholder{width:24px;height:24px;font-size:9px}@media (max-width: 600px){.pokemon-header{min-width:0;padding:9px 8px;gap:7px}.pokemon-header>div{min-width:0}.pokemon-header h1{overflow:hidden;font-size:clamp(.95rem,5vw,1.15rem);text-overflow:ellipsis;white-space:nowrap}.pokemon-back{padding:7px 9px;font-size:12px}.pokemon-kicker{display:none}.pokemon-tabs{flex-wrap:wrap;justify-content:center;gap:2px;padding:5px 6px;overflow-x:hidden}.pokemon-tabs :is(button,a:where([data-route])){flex:1 1 auto;padding:7px 8px;font-size:12px}.pokemon-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;width:100%;min-width:0;padding:8px}.pokemon-tools form{width:100%;min-width:0}.pokemon-tools form input{width:0;min-width:0}.pokemon-tools form :is(button,a:where([data-route])){flex:0 0 auto}.pokemon-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;min-width:0}.pokemon-filters label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px;min-width:0}.pokemon-filters select{width:100%;min-width:0;padding:7px 4px}.pokemon-content{width:100%;min-width:0;padding:6px 8px 12px;overflow-x:hidden;overflow-y:auto}.pokemon-grid{grid-template-columns:1fr}.pokemon-card{min-width:0;min-height:100px;overflow:hidden}.pokemon-card-image,.pokemon-card-image img{width:76px;height:76px}.pokemon-stats{grid-template-columns:repeat(3,1fr)}.pokemon-detail{padding:11px}.pokemon-detail-hero{gap:12px}.pokemon-detail-hero img{width:110px;height:110px}.pokemon-info-grid,.pokemon-relation-list{grid-template-columns:1fr}.pokemon-move-detail-head{align-items:flex-start;flex-direction:column}.pokemon-move-badges{justify-content:flex-start}.pokemon-move-summary{grid-template-columns:repeat(2,1fr)}.pokemon-effectiveness>div{grid-template-columns:1fr}.pokemon-legend-toolbar{align-items:stretch;flex-direction:column}.pokemon-legend-toolbar-actions{justify-content:stretch}.pokemon-legend-toolbar-actions :is(button,a:where([data-route])){flex:1 1 auto}.pokemon-legend-filter-fields{grid-template-columns:1fr}.pokemon-legend-filter-fields label:first-child{grid-column:auto}.pokemon-legend-work-groups section{grid-template-columns:1fr}.pokemon-legend-work-groups h4{margin-top:0}.pokemon-legend-grid{grid-template-columns:1fr}.pokemon-legend-title{white-space:normal}.pokemon-trainer-hero{min-height:150px;gap:12px}.pokemon-trainer-portrait{flex-basis:130px}.pokemon-trainer-portrait img{height:140px}.pokemon-trainer-party-head{flex-direction:column}.pokemon-trainer-party-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pokemon-table{min-width:580px}}@media (max-width: 390px){.pokemon-trainer-party-grid{grid-template-columns:1fr}}.pokemon-editor{width:min(1000px,100%);height:100dvh;margin:0 auto;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;background:#f4f7fb;color:#17223b}.pokemon-editor>header{display:flex;align-items:center;gap:14px;padding:13px 18px;color:#fff;background:#173b78;border-bottom:4px solid #f2c94c}.pokemon-editor>header h1{margin:1px 0}.pokemon-editor>header small{color:#ffe489}.pokemon-editor-toolbar{display:flex;align-items:end;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #d8e0ed}.pokemon-editor-toolbar label{display:grid;gap:4px;flex:1;font-size:12px;color:#5d6b81}.pokemon-editor-toolbar select{padding:8px;border:1px solid #bdc9dc;border-radius:7px;background:#fff}.pokemon-editor>[role=status]{margin:0;padding:7px 16px;color:#60708a;font-size:12px}.pokemon-editor-body{min-height:0;overflow:auto;padding:8px 16px 20px}.pokemon-editor-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.pokemon-editor-list :is(button,a:where([data-route])){display:flex;justify-content:space-between;gap:8px;text-align:left;color:#17223b;background:#fff;border:1px solid #dae2ee}.pokemon-editor-list span{color:#748198;font-size:11px}.pokemon-editor-form{max-width:860px;margin:0 auto;padding:15px;border-radius:10px;background:#fff}.pokemon-editor-form-head,.pokemon-editor-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.pokemon-editor-form-head h2{margin:0}.pokemon-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin:16px 0}.pokemon-editor-fields label{display:grid;gap:4px;font-size:12px;color:#55647b}.pokemon-editor-fields input{min-width:0;padding:8px;border:1px solid #bdc9dc;border-radius:7px;font-size:15px}.pokemon-editor-fields input[readonly]{background:#eef1f5}.pokemon-editor-actions{justify-content:flex-start}.pokemon-editor-actions .danger{margin-left:auto;background:#a83246}@media (max-width: 600px){.pokemon-editor-fields{grid-template-columns:1fr}.pokemon-editor-toolbar{align-items:stretch;flex-direction:column}}.card{background:#16213e;border-radius:14px;padding:14px;margin:10px 0;box-shadow:0 2px 12px #0006}.card h2{margin:0 0 10px;font-size:1em;opacity:.6;text-transform:uppercase;letter-spacing:.08em}.row{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media (max-width: 420px){.grid{grid-template-columns:1fr}}.label{font-size:11px;opacity:.55;margin-bottom:4px;letter-spacing:.04em}input{width:100%;padding:11px 12px;font-size:16px;border-radius:10px;border:1px solid #2a2a4a;background:#0f0f23;color:#eee;outline:none}input:focus{border-color:#2c7be5}:is(button,a:where([data-route])){font-size:15px;padding:11px 16px;border-radius:10px;border:none;background:#2a2a4a;color:#ccc;cursor:pointer;transition:opacity .15s}:is(button,a:where([data-route])):active{opacity:.75}:is(button,a:where([data-route])).primary{background:#2c7be5;color:#fff}#roomOut{margin-top:10px;font-size:13px}.member-list{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}.member-list li{background:#0f0f23;border-radius:8px;padding:5px 10px;font-size:13px;display:flex;align-items:center;gap:5px}.member-list li.offline{opacity:.45}#gameCard{background:transparent;padding:0;box-shadow:none}.game-hud{background:#16213e;border-radius:14px;padding:12px 14px;margin-bottom:10px}.hud-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.hud-day{font-size:1.6em;font-weight:700;letter-spacing:.02em}.hud-day>span{color:#2c7be5}.hud-day .phase-tag{color:#fff}.phase-tag{display:inline-block;font-size:.7em;font-weight:700;background:#2c7be5;color:#fff;padding:4px 12px;border-radius:12px;margin-left:10px;vertical-align:middle;letter-spacing:.04em;white-space:nowrap}.phase-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:8px;padding-bottom:8px;border-bottom:1px solid #2a2a4a}.phase-info{font-size:12px;opacity:.75}:is(button,a:where([data-route])).mini.primary{background:#2c7be5;color:#fff}.hud-badges{display:flex;gap:6px}.badge{background:#0f0f23;border-radius:8px;padding:4px 9px;font-size:12px;display:flex;align-items:center;gap:4px}.badge.weather{border:1px solid #2a4a6a}.badge.event{border:1px solid #4a2a6a}.card-badge{width:40px;height:56px;object-fit:cover;border-radius:6px;border:1px solid #3a3a5a;display:block}.storm-banner{margin-top:10px;padding:10px 14px;background:linear-gradient(135deg,#4a1a2a,#2a1a4a);border:2px solid #ff6b9d;border-radius:10px;font-size:13px;text-align:center;animation:pulse 2s ease-in-out infinite;box-shadow:0 0 20px #ff6b9d66}@keyframes pulse{0%,to{box-shadow:0 0 14px #ff6b9d4d}50%{box-shadow:0 0 24px #ff6b9d99}}.resource-row{display:flex;gap:8px;flex-wrap:wrap}.resource-item{flex:1;min-width:60px;background:#0f0f23;border-radius:10px;padding:8px 6px;display:flex;flex-direction:column;align-items:center;gap:2px}.resource-item .ri-icon{font-size:1.3em}.resource-item .ri-val{font-size:1.1em;font-weight:700}.resource-item .ri-lbl{font-size:10px;opacity:.5;letter-spacing:.04em}.players-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin-bottom:10px}.target-select-panel{grid-column:1 / -1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;padding:10px;border:1px solid #4d7cff;border-radius:8px;background:#2c7be529}.target-select-title{font-size:13px;font-weight:800;color:#dbe8ff}.target-select-help{font-size:12px;color:#b8c8e8}.target-select-actions{display:flex;gap:6px;margin-left:auto}.player-card{background:#16213e;border:2px solid transparent;border-radius:12px;padding:12px 10px 10px;text-align:center;position:relative;transition:border-color .2s,box-shadow .2s}.player-card.is-turn{border-color:#2c7be5;box-shadow:0 0 12px #2c7be573}.player-card.is-offline{opacity:.4}.player-card.is-paralyzed{border-color:#b97a2e;box-shadow:0 0 8px #b97a2e66}.player-card.is-dead{opacity:.3;filter:grayscale(1)}.player-card.is-target-selectable{cursor:pointer;border-color:#9fd2ff80;user-select:none;touch-action:manipulation}.player-card.is-target-selectable .zoomable{cursor:pointer;pointer-events:none}.player-card.is-target-selectable:hover{box-shadow:0 0 14px #9fd2ff59}.player-card.is-target-selected{opacity:1;filter:none;border-color:#80ffb0;box-shadow:0 0 0 2px #80ffb047,0 0 18px #80ffb080}.target-check{position:absolute;top:6px;right:7px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#35d277;color:#06120a;font-size:13px;font-weight:900;z-index:2}.pebble-section{margin-top:10px;padding-top:8px;border-top:1px solid #2a2a4a;font-size:12px}.pebble-bag-display{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pebble-label{opacity:.6}.pebble-last{margin-top:6px;background:#0f0f23;border-radius:6px;padding:5px 8px;font-weight:600}.pebble-actions{display:flex;gap:6px;align-items:center;margin-top:8px;flex-wrap:wrap}:is(button,a:where([data-route])).mini{font-size:11px;padding:4px 10px;background:#2a4a6a;color:#ddd;border:none;border-radius:6px;cursor:pointer}.mini-select{font-size:11px;padding:4px 6px;background:#0f0f23;color:#ddd;border:1px solid #2a2a4a;border-radius:6px;width:auto}.action-panel{background:linear-gradient(135deg,#1e3a5f,#16213e);border:2px solid #2c7be5;border-radius:12px;padding:12px;margin-top:10px;box-shadow:0 0 16px #2c7be54d}.action-panel-label{font-size:13px;font-weight:700;margin-bottom:10px;color:#6ab0ff}.action-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:center}.action-btn{font-size:14px;font-weight:600;width:100%;min-width:0;padding:8px 10px;background:#2c7be5;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background .15s,transform .1s}.action-btn:hover{background:#3a8df0}.action-btn:active{transform:scale(.96)}.action-wood-group{display:flex;align-items:center;gap:4px;background:#0f1830;border-radius:8px;padding:4px;min-width:0}.action-wood-group.is-disabled{opacity:.55}.action-wood-group .action-btn{padding:6px 12px;flex:1}.action-wood-group .mini-select{flex:0 0 44px}.action-waiting{background:#1a1a3a;border-radius:10px;padding:10px;margin-top:10px;text-align:center;font-size:13px;opacity:.7}.event-resolve-panel{background:#18233a;border:2px solid #d0a73f;border-radius:12px;padding:12px;margin-top:10px;box-shadow:0 0 14px #d0a73f38}.event-resolve-title{font-size:13px;font-weight:700;color:#ffe08a;margin-bottom:10px}.event-resolve-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.event-resolve-controls label{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#f3f0df}.event-resolve-subtitle{font-size:11px;opacity:.7;width:100%;margin-top:4px}.event-info{font-size:12px;opacity:.75}.ev-woodcutter-hand{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin-top:4px}.ev-woodcutter-card{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:#0f1830;border:1px solid #2a4a6a;border-radius:6px;font-size:11px;cursor:pointer}.ev-woodcutter-card:has(input:checked){background:#2a4a6a;border-color:#d0a73f}.event-select{background:#0f1830;color:#f4f7ff;border:1px solid #4f6384;border-radius:7px;padding:5px 8px;font-size:12px}.event-count-select{min-width:54px}.event-total-ok,.event-total-bad{font-size:12px;font-weight:700;padding:5px 8px;border-radius:7px}.event-total-ok{color:#b9f4c8;background:#2ecc7124}.event-total-bad{color:#ffd0d0;background:#dc505029}.vote-panel{background:linear-gradient(135deg,#4a1a4a,#2a1a3e);border:2px solid #c267e5;border-radius:12px;padding:12px;margin-top:10px;box-shadow:0 0 16px #c267e54d}.vote-label{font-size:14px;font-weight:700;margin-bottom:6px;color:#e0b0ff}.vote-info{font-size:12px;opacity:.85;margin-bottom:10px}.vote-targets{display:flex;flex-wrap:wrap;gap:6px}.vote-tally{display:grid;gap:4px;margin:8px 0 10px;padding:8px;background:#16172d;border:1px solid #7f6adf;border-radius:8px}.vote-tally-title{font-size:12px;font-weight:700;color:#d9ccff;margin-bottom:2px}.vote-tally-row{display:flex;justify-content:space-between;gap:12px;font-size:12px}.vote-btn{font-size:13px;padding:6px 12px;background:#2a2a4a;color:#ddd;border:1px solid #4a4a6a;border-radius:8px;cursor:pointer;transition:background .15s}.vote-btn:hover{background:#3a3a5a}.vote-btn.is-voted{background:#c267e5;color:#fff;border-color:#c267e5}.vote-last{margin-top:8px;padding:6px 10px;background:#1a1a2e;border-radius:6px;font-size:12px}.scavenge-choice-panel{margin-top:10px;padding:12px;background:#12333a;border:2px solid #4fb7c5;border-radius:10px}.scavenge-choice-title{font-size:14px;font-weight:700;color:#aeeaf0;margin-bottom:10px}.scavenge-choice-list{display:flex;flex-wrap:wrap;gap:10px}.scavenge-choice-card{width:120px;min-height:156px;padding:8px;display:grid;grid-template-rows:108px auto;gap:6px;align-items:center;justify-items:center;background:#0f1f2f;color:#f3fbff;border:1px solid #5bc7d7;border-radius:8px;cursor:pointer}.scavenge-choice-card:hover{background:#16324a}.scavenge-choice-card img{max-width:100%;max-height:108px;border-radius:6px;object-fit:contain}.scavenge-choice-card span{font-size:12px;line-height:1.25;text-align:center}.end-screen{background:linear-gradient(135deg,#1a3a5e,#16213e);border-radius:14px;padding:24px 16px;margin-top:12px;text-align:center;box-shadow:0 4px 24px #00000080;animation:endFade .5s ease-out}.end-screen.end-win{border:3px solid #2ecc71}.end-screen.end-lose{border:3px solid #aa3a4a;opacity:.92}@keyframes endFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.end-emoji{font-size:3em;line-height:1;margin-bottom:6px}.end-title{font-size:1.5em;font-weight:800;letter-spacing:.04em;margin-bottom:4px}.end-subtitle{font-size:.9em;opacity:.7;margin-bottom:12px}.end-mystatus{font-size:1.1em;font-weight:700;padding:10px;background:#0000004d;border-radius:8px;margin-bottom:12px}.end-win .end-mystatus{color:#6fdd95}.end-lose .end-mystatus{color:#ff8090}.end-roster{display:flex;flex-direction:column;gap:4px;text-align:left;max-width:320px;margin:0 auto}.end-row{padding:6px 10px;border-radius:6px;font-size:13px}.end-row.is-winner{background:#2ecc7126}.end-row.is-loser{background:#aa3a4a26;opacity:.6}.events-section{--event-row-height: 28px;--event-row-gap: 4px;background:#16213e;border-radius:14px;padding:12px;margin-top:10px}.events-label{font-size:12px;opacity:.7;margin-bottom:8px;letter-spacing:.04em;font-weight:600}.events-list{height:calc(var(--event-row-height) * 3 + var(--event-row-gap) * 2);overflow-y:auto;display:flex;flex-direction:column;gap:var(--event-row-gap);scroll-behavior:smooth}.event-row{flex:0 0 auto;display:flex;gap:8px;align-items:flex-start;font-size:12.5px;padding:6px 8px;min-height:var(--event-row-height);border-radius:6px;background:#0f0f23;line-height:1.4;animation:eventSlide .3s ease}@keyframes eventSlide{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.event-time{flex:0 0 auto;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;opacity:.5;padding-top:2px}.event-msg{flex:1;word-break:break-word}.event-card-link{appearance:none;border:0;background:none;color:#9fd2ff;padding:0;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:zoom-in}.event-empty{font-size:12px;opacity:.4;text-align:center;padding:12px}.player-totem{position:absolute;top:6px;left:8px;font-size:1em;line-height:1}.player-turn-arrow{position:absolute;top:6px;right:8px;font-size:.8em;color:#2c7be5}.player-avatar{font-size:2em;margin-bottom:4px}.player-name{font-size:.85em;font-weight:600;word-break:break-word}.player-status{font-size:10px;opacity:.5;margin-top:2px}.player-card.is-me{background:#1a3a5e}.player-avatar-img{width:56px;height:56px;object-fit:cover;border-radius:50%;border:2px solid #2a4a6a;margin:0 auto 4px;display:block}.player-survivor{font-size:10px;opacity:.7;font-style:italic}.player-handcount{font-size:10px;opacity:.6;margin-top:2px}.player-equipped,.player-public{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;margin-top:4px}.player-public{flex-wrap:nowrap;justify-content:flex-start;max-width:100%;overflow-x:auto;overflow-y:hidden;font-size:9px;opacity:.7}.player-public .mini-card{flex:0 0 auto}.mini-card{width:22px;height:32px;object-fit:cover;border-radius:3px;border:1px solid #2a4a6a}.my-survivor{background:#16213e;border-radius:12px;padding:10px 12px;margin-top:10px}.my-survivor:empty{display:none}.survivor-head{display:flex;gap:10px;align-items:flex-start}.survivor-thumb{width:54px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #2a4a6a;cursor:zoom-in;flex:0 0 auto}.survivor-body{flex:1;min-width:0}.survivor-name{font-size:13px;font-weight:700;color:#f0d27a}.survivor-ability{font-size:11px;opacity:.8;margin-top:3px;line-height:1.4}.survivor-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}.survivor-btn{font-size:12px;padding:5px 10px;background:#2a4a6a;color:#ddd;border:1px solid #4a6a8a;border-radius:7px;cursor:pointer}.survivor-btn:hover:not(:disabled){background:#3a5a7a}.survivor-btn:disabled{opacity:.45;cursor:not-allowed}.survivor-btn.is-on{background:#d0a73f;color:#1a1a2e;border-color:#d0a73f;font-weight:700}.survivor-note{font-size:10.5px;opacity:.6}.snake-retry-panel{background:linear-gradient(135deg,#3a2a1a,#2a1a3e)!important;border:2px solid #d0a73f!important}.snake-retry-warn{display:inline-block;font-size:11px;color:#ff8090;margin-top:4px}.snake-retry-buttons{display:flex;gap:8px;margin-top:8px}.my-hand{background:#16213e;border-radius:14px;padding:12px;margin-top:10px;border-top:2px solid #2c7be5}.hand-label{font-size:12px;opacity:.7;margin-bottom:8px;letter-spacing:.04em}.hand-empty{font-size:12px;opacity:.4;text-align:center;padding:8px}.hand-cards{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}.hand-card{flex:0 0 110px;background:#0f0f23;border-radius:8px;padding:6px;display:flex;flex-direction:column;align-items:center}.hand-card.is-public{border:2px solid #ffaa00}.hand-card.is-rum-selected{border:2px solid #d88a38;box-shadow:0 0 0 2px #d88a3840}.hand-card.is-scavenge-choice{border:2px solid #4fb7c5;box-shadow:0 0 0 2px #4fb7c538}.rum-panel{margin-bottom:8px;padding:8px 10px;border-radius:8px;background:#d88a3829;border:1px solid rgba(216,138,56,.5);color:#ffd7aa;font-size:12px;line-height:1.4}.rum-panel.is-done{background:#2ecc711f;border-color:#2ecc7173;color:#b9f4c8}.hand-card-img{width:100%;height:140px;object-fit:cover;border-radius:4px}.hand-card-name{font-size:11px;margin:4px 0;text-align:center;font-weight:600}.hand-card-buttons{display:flex;gap:4px;width:100%}.hand-card-buttons :is(button,a:where([data-route])){flex:1;font-size:10px;padding:4px 0}.hand-card-buttons :is(button,a:where([data-route])):disabled{opacity:.4;cursor:default}.zoomable{cursor:zoom-in}.img-modal{position:fixed;inset:0;background:#000000e0;z-index:9999;display:none;align-items:center;justify-content:center;cursor:zoom-out;padding:20px;animation:fadeIn .15s ease}.img-modal.is-open{display:flex}.img-modal img{max-width:80vw;max-height:78dvh;border-radius:10px;box-shadow:0 10px 40px #0009}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.small{font-size:12px;opacity:.7;margin-top:6px}pre{white-space:pre-wrap;word-break:break-word;background:#0a0a18;color:#4af;padding:10px;border-radius:10px;min-height:80px;font-size:11px;max-height:200px;overflow-y:auto}#log{line-height:1.45;height:calc(14.5em + 20px);min-height:0;max-height:none}@media (orientation: portrait){html,body{height:auto;min-height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:auto}#app{height:auto;min-height:100dvh;overflow:visible}body.game-started .wrap,body.game-started #gameCard{height:auto;overflow:visible}.game-layout{display:flex;flex-direction:column;gap:10px}.game-layout-left,.game-layout-right,.game-left-workspace{display:contents}#topGameStatus{order:1}.game-hud{order:2}.events-section{order:3}.game-players-panel{order:4}.my-survivor{order:5}.my-hand{order:6}.events-section,.game-players-panel,.my-survivor,.my-hand{margin-top:0}}@media (orientation: landscape) and (max-height: 600px){body.game-started{overflow:hidden}body.game-started .wrap{width:100%;max-width:none;height:100dvh;padding:6px;margin:0}body.game-started .wrap>h1{display:none}body.game-started #gameCard{height:100%}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;height:100%}.game-layout-left,.game-layout-right{min-width:0;min-height:0;display:grid;gap:8px}.game-layout-left{grid-template-rows:auto minmax(0,1fr)}.game-layout-right{grid-template-rows:auto minmax(0,1fr) auto}.top-game-status,.game-left-workspace,.game-hud,.game-players-panel,.events-section,.my-hand{margin:0;min-height:0;overflow:hidden}.top-game-status{padding:4px 6px;font-size:9px;gap:4px 7px;justify-content:flex-end}.top-members{max-width:38vw;overflow-x:auto;flex-wrap:nowrap}.top-actions{gap:4px}.top-action{padding:4px 5px;font-size:9px}.game-hud{padding:clamp(4px,1vh,6px) clamp(6px,1.2vw,8px);overflow-x:hidden;overflow-y:auto}.game-left-workspace{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px}.hud-top{margin-bottom:5px}.hud-day{font-size:clamp(.95em,2.6vh,1.12em)}.card-badge{width:clamp(24px,4vw,28px);height:clamp(34px,6vh,40px)}.phase-row{gap:4px;margin-top:3px;padding-bottom:3px}.action-panel-label{font-size:9px;margin-bottom:4px}.action-buttons{gap:4px}.action-btn,.action-wood-group .action-btn{font-size:10px;padding:4px 7px}.mini-select{font-size:9px;padding:3px 4px}.resource-row{gap:4px}.resource-item{min-width:0;min-height:clamp(42px,9vh,46px);padding:2px}.resource-item .ri-icon,.resource-item .ri-val{font-size:.9em}.resource-item .ri-lbl{font-size:8px}.pebble-section{margin-top:3px;padding-top:4px;font-size:9px}.pebble-bag-display{gap:5px}.game-players-panel{overflow-x:auto;overflow-y:hidden}.players-grid{display:flex;width:max-content;min-width:100%;gap:5px;margin:0}.target-select-panel{grid-column:auto;flex:0 0 clamp(132px,16vw,156px);align-self:stretch;display:grid;grid-template-rows:auto 1fr auto;align-items:start;gap:4px;padding:6px;border-radius:8px}.target-select-title{font-size:9px;line-height:1.25}.target-select-help{font-size:8px;line-height:1.3;color:#c9d7f2}.target-select-actions{margin-left:0;gap:4px}.target-select-actions .mini{flex:1;min-width:0;padding:3px 4px;font-size:8px}.player-card{flex:0 0 clamp(84px,10vw,94px);border-radius:8px;padding:4px 3px}.player-avatar-img,.player-avatar{width:clamp(26px,4vh,30px);height:clamp(26px,4vh,30px)}.player-name{font-size:9px}.player-survivor,.player-handcount,.player-status{font-size:7.5px}.my-survivor{margin:0;padding:4px 6px;overflow:hidden}.survivor-thumb{width:clamp(28px,4.5vh,32px);height:clamp(28px,4.5vh,32px)}.survivor-name{font-size:10px}.survivor-ability{font-size:clamp(8px,1.65vh,9px)}.survivor-controls{margin-top:3px}.survivor-note{font-size:clamp(7px,1.4vh,8px)}.events-section,.my-hand{padding:6px;border-radius:8px}.events-section{--event-row-height: calc(1.25*clamp(8px, 1.45vh, 9px) + 4px) ;--event-row-gap: 4px}.events-list{height:calc(var(--event-row-height) * 3 + var(--event-row-gap) * 2)}.events-label{margin-bottom:4px;font-size:10px}.event-row{flex:0 0 auto;gap:4px;padding:2px 4px;font-size:clamp(8px,1.45vh,9px);min-height:calc(1.25em + 4px);line-height:1.25}.event-time{font-size:8px;padding-top:0}.my-hand{display:flex;flex-direction:column;align-self:end}.hand-label{margin-bottom:4px}.hand-cards{flex:0 0 auto;align-items:flex-start;padding-bottom:2px;overflow-x:auto;overflow-y:hidden}.hand-card{flex-basis:clamp(70px,9vw,78px);padding:3px}.hand-card-img{height:clamp(72px,15vh,86px)}.hand-card-name{font-size:8px;margin:2px 0}.hand-card-buttons :is(button,a:where([data-route])){font-size:8px;padding:2px 0}}.shoot-cutscene-overlay{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 45%,#960a0a8c,#1e0000f7 70%);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);cursor:not-allowed;overflow:hidden;animation:cutscene-bg-pulse 1.6s ease-in-out infinite}.shoot-cutscene-overlay:before,.shoot-cutscene-overlay:after{content:"";position:absolute;left:-20%;width:140%;height:3px;background:linear-gradient(90deg,transparent,rgba(255,70,70,.9),transparent);filter:blur(1px);animation:cutscene-streak 1.4s linear infinite}.shoot-cutscene-overlay:before{top:32%}.shoot-cutscene-overlay:after{bottom:32%;animation-delay:.7s}.shoot-cutscene-overlay.fade-out{animation:cutscene-fade .6s forwards}.shoot-cutscene-card{position:relative;text-align:center;color:#fff;padding:0 24px}.shoot-cutscene-icon{font-size:72px;line-height:1;filter:drop-shadow(0 4px 14px rgba(0,0,0,.6));animation:cutscene-shake .5s ease-in-out infinite}.shoot-cutscene-text{margin-top:26px;font-size:34px;font-weight:800;letter-spacing:.06em;color:#ffeaea;text-shadow:0 2px 16px rgba(0,0,0,.75),0 0 24px rgba(255,60,60,.5);min-height:1.4em}.shoot-cutscene-text.is-name{font-size:52px;color:#ffd34a;text-shadow:0 2px 18px rgba(0,0,0,.8),0 0 30px rgba(255,180,40,.7)}.shoot-cutscene-text.pop{animation:cutscene-pop .55s cubic-bezier(.2,1.4,.35,1)}@keyframes cutscene-pop{0%{transform:scale(.55) translateY(8px);opacity:0}60%{transform:scale(1.08);opacity:1}to{transform:scale(1);opacity:1}}@keyframes cutscene-shake{0%,to{transform:translate(-3px) rotate(-9deg)}50%{transform:translate(3px) rotate(9deg)}}@keyframes cutscene-bg-pulse{0%,to{background-color:#1e0000eb}50%{background-color:#460000f5}}@keyframes cutscene-streak{0%{transform:translate(-30%);opacity:0}50%{opacity:1}to{transform:translate(30%);opacity:0}}@keyframes cutscene-fade{to{opacity:0}}body.game-entry,body.game-entry #app{overflow:auto}.game-selection,.full-course-entry{max-width:760px;padding:32px 20px}.entry-eyebrow{color:#c5c4db;font-size:.85rem;letter-spacing:.06em}.game-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.game-choice{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%;margin:0;padding:24px;text-align:left;white-space:normal;color:#eee;cursor:pointer}.game-choice strong{font-size:1.3rem}.game-choice span{line-height:1.7}.game-choice-icon{font-size:3rem}.game-choice-action{margin-top:auto;font-weight:700;color:#c7d8ff}.full-course-choice{border-color:#b48754}.game-choice:hover{border-color:#ece3c8}.game-choice:focus-visible,#backToGames:focus-visible{outline:3px solid #f0c68b;outline-offset:4px}.game-choice:disabled{opacity:.6;cursor:wait}.full-course-hero{margin-top:24px;padding:32px;border-color:#b48754;text-align:center}.full-course-hero h1{font-size:2.2rem}.full-course-hero p{line-height:1.8}.entry-notice{margin-top:28px;padding:20px;border-radius:12px;background:#ffffff0a}.entry-notice p{margin-bottom:0}@media (max-width: 520px){.game-choices{grid-template-columns:1fr}.game-selection,.full-course-entry{padding:20px 12px}.full-course-hero{padding:24px 16px}}.login-secret-row{display:flex;align-items:stretch;width:100%;max-width:360px;margin:0 0 8px}.login-status{display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 14px;border:1px solid #4b9471;border-radius:999px;background:#203b32;color:#c5f5d9;font-size:.9rem;font-weight:600}.login-status.is-thai-secret{border-color:#d5aa2e;background:#f2cf58;color:#3f3105}.pokemon-secret-target{flex:1;min-width:72px;min-height:40px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:transparent}.pokemon-secret-target:hover,.pokemon-secret-target:focus,.pokemon-secret-target:active{border:0;background:transparent;box-shadow:none;outline:0}.fc-shell{max-width:1080px;margin:0 auto;padding:16px}.fc-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.fc-header h1{margin-bottom:4px}.fc-message{min-height:1.5em;color:#ffda9e;overflow-wrap:anywhere}.fc-shell .card{margin:16px 0}.fc-shell label{display:block;margin:12px 0}.fc-shell select{max-width:100%;min-height:42px;padding:8px;background:#15152c;color:#eee;border:1px solid #73738c;border-radius:6px}.fc-shell .row{flex-wrap:wrap;gap:8px}.fc-players{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.fc-players>div{display:flex;flex-direction:column;gap:6px;border:1px solid #55556f;border-radius:8px;padding:12px;overflow-wrap:anywhere}.fc-personal{border-color:#b48754}.fc-menu>label{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff20;padding:10px 0}.fc-menu small{display:block;line-height:1.7}.fc-menu input{width:85px;flex-shrink:0}.fc-dishes{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:16px}.fc-dishes article{padding:14px;border:1px solid #5c526a;border-radius:8px}.fc-dishes select{width:100%;margin-bottom:8px}.fc-shell details{padding:12px}.fc-shell summary{cursor:pointer;font-weight:700}.fc-shell :is(button,a:where([data-route])):disabled{opacity:.45;cursor:not-allowed}.fc-shell :is(button,a:where([data-route])):focus-visible,.fc-shell select:focus-visible{outline:3px solid #efcb8e;outline-offset:3px}@media (max-width:520px){.fc-shell{padding:12px}.fc-header h1{font-size:1.3rem}.fc-players{grid-template-columns:repeat(2,minmax(0,1fr))}}body.full-course-playing{background:#fbf3d8;color:#352d16;color-scheme:light}.fc-shell{color:#352d16}.fc-shell .card{background:#fffdf5;border:1px solid #e5d39b;box-shadow:0 2px 7px #7457150a}.fc-shell .small,.fc-shell small{color:#6b5a2b}.fc-shell :is(button,a:where([data-route])){background:#f4df9c;color:#403311;border:1px solid #bca15c;min-height:40px}.fc-shell :is(button,a:where([data-route])):hover:not(:disabled){background:#eed078}.fc-shell :is(button,a:where([data-route]))[data-action=confirm],.fc-shell :is(button,a:where([data-route]))[data-action=meal],.fc-shell :is(button,a:where([data-route]))[data-action=start]{background:#f2c638;color:#302504;font-weight:700}.fc-shell input,.fc-shell select{background:#fffefa;color:#352d16;border:1px solid #b7a675}.fc-shell input:focus,.fc-shell select:focus{outline:2px solid #8b6814}.fc-shell input::placeholder{color:#796b49}.fc-message{color:#8b341b}.fc-message:empty{display:none}.fc-shell .fc-personal{background:#fff4c7;border-color:#d5b647}.fc-shell .fc-debug{background:#f8e7aa}.fc-players>div,.fc-dishes article{border-color:#dece9e;background:#fffcf1}.fc-phase-label{display:inline-block;font-size:.8rem;font-weight:600;background:#f5e8b8;padding:4px 7px;border-radius:6px}.fc-phase-label small,.fc-players small{font-size:.67rem;font-weight:400}.fc-goal-heading{display:flex;justify-content:space-between;align-items:baseline;margin-top:10px}.fc-goal-heading strong{font-size:1.25rem}.fc-goal-track{position:relative;height:18px;margin:5px 0;border:1px solid #a38a40;border-radius:7px;background:#ece3c7;overflow:hidden}.fc-goal-fill{display:block;height:100%;background:#d9a913}.fc-goal-zone{position:absolute;inset:0 0 0 90%;border-left:2px dashed #31583d;background:repeating-linear-gradient(135deg,#37855135 0 4px,#37855110 4px 8px)}.fc-goal-track.is-over .fc-goal-fill{background:#c74b36}.fc-goal-caption{display:flex;justify-content:space-between;gap:6px;color:#635127;font-size:.73rem}.fc-personal-numbers{display:inline-block;margin-left:10px;font-size:.75rem}.fc-item-strip{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-color:#a1863d #f0e3bc}.fc-item{flex:0 0 195px;min-width:0;padding:12px;border:1px solid #cdb369;border-radius:10px;background:#fff7d7;scroll-snap-align:start;display:flex;flex-direction:column}.fc-item h3{margin:0 0 6px;font-size:.95rem}.fc-item p{font-size:.8rem;line-height:1.5;flex:1}.fc-item select{width:100%;margin-bottom:5px;font-size:.8rem}.fc-item :is(button,a:where([data-route])){width:100%}.fc-item-strip:empty:before{content:"所持アイテムはありません";font-size:.85rem;color:#6b5a2b;padding:6px}@media (orientation: portrait){.fc-shell{padding:10px;max-width:760px;font-size:14px}.fc-header{gap:6px}.fc-header h1{font-size:1.15rem}.fc-header .small{font-size:.7rem}.fc-shell .card{margin:8px 0;padding:12px;border-radius:12px}.fc-shell h2{margin:0 0 7px;font-size:.95rem}.fc-shell h2 small{font-size:.68rem;font-weight:400}.fc-shell p{margin:6px 0;line-height:1.45}.fc-shell .row{gap:6px}.fc-shell :is(button,a:where([data-route])){padding:7px 9px;font-size:.8rem}.fc-overview h2{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px}.fc-overview .fc-inline-meta{display:inline-block;font-size:.75rem;margin:7px 0 2px}.fc-overview .fc-subgoal{font-size:.8rem}.fc-overview>.small{font-size:.7rem;margin-bottom:0}.fc-personal h2{display:inline;margin-right:8px;font-size:.8rem}.fc-personal>strong{font-size:.95rem}.fc-personal>p{font-size:.8rem;margin-bottom:0}.fc-players{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.fc-players>div{padding:7px 5px;gap:3px;font-size:.72rem}.fc-players strong{font-size:.8rem}.fc-players small{font-size:.6rem}.fc-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.fc-menu>label{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0;padding:8px 6px;border:1px solid #dfcc91;border-radius:8px;background:#fffaf0;min-width:0}.fc-menu strong{font-size:.78rem;line-height:1.4;display:block;min-height:2.8em;overflow-wrap:anywhere}.fc-menu small{font-size:.66rem;line-height:1.4}.fc-menu input{width:100%;min-width:0;min-height:40px;padding:6px;margin-top:auto;font-size:16px;text-align:center}.fc-shell #fc-order-total{font-weight:600;font-size:.8rem}.fc-dishes{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.fc-dishes article{padding:9px;font-size:.8rem}.fc-dishes select{font-size:.8rem;min-width:0}.fc-debug h2{font-size:.8rem}.fc-debug p{font-size:.72rem}.fc-debug .row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.fc-debug :is(button,a:where([data-route])){padding:6px 4px;overflow-wrap:anywhere}.fc-management summary{font-size:.85rem}}.fc-shell .card h2{opacity:1;color:#514019;letter-spacing:.02em;text-transform:none}.fc-shell .small{opacity:1}.fc-shell .fc-presence{display:inline-flex;gap:3px;align-items:center;font-size:.65rem;font-weight:600}.fc-shell .fc-presence.is-active{color:#22613d}.fc-shell .fc-presence.is-inactive{color:#76694d}.fc-goals-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.fc-deck{font-size:.72rem;font-weight:600;color:#65501d;white-space:nowrap}.fc-meter+.fc-meter{margin-top:10px}.fc-goals .fc-goal-heading{margin-top:0}.fc-goals .fc-goal-heading strong{font-size:1.05rem}.fc-goals .fc-goal-heading small{font-size:.65rem}.fc-goals .fc-goal-track{height:13px}.fc-shell .fc-mission{font-size:.78rem;margin-bottom:0;padding-top:6px;border-top:1px solid #e5d39b}@media (orientation: portrait){.fc-shell :is(button,a:where([data-route])){min-height:30px;padding:4px 8px;line-height:1.25;border-radius:7px;font-size:.78rem}.fc-debug :is(button,a:where([data-route])){min-height:30px;padding:4px}.fc-shell select{min-height:30px;padding:3px 6px;line-height:1.2;border-radius:6px}.fc-menu select{width:100%;min-width:0;height:30px;min-height:30px;margin-top:auto;padding:2px 6px;font-size:16px}.fc-menu>label{padding:6px;gap:4px}.fc-menu strong{min-height:2.8em}.fc-shell .fc-goals{padding:10px 12px}.fc-goals .fc-goal-caption{font-size:.67rem}.fc-players>div{gap:2px}}body.full-course-playing{background:#f7edcb;color:#243440}.fc-shell{color:#243440}.fc-shell .card{background:#fff;border-color:#d4dce0;box-shadow:0 2px 6px #2033400a}.fc-shell .card h2,.fc-shell summary{color:#253c49}.fc-shell .small,.fc-shell small{color:#52646c}.fc-shell .fc-overview{background:#fff2bf;border-color:#d6b850;border-left:4px solid #be8c16}.fc-shell .fc-debug{background:#e9edf5;border-color:#bac8d8}.fc-shell .fc-goals{border-top:3px solid #20756d}.fc-goals .fc-meter{padding:7px 9px;border-radius:8px;background:#edf7f3}.fc-goals .fc-meter+.fc-meter{margin-top:6px;background:#edf3fc}.fc-goals .fc-meter .fc-goal-fill{background:#25867b}.fc-goals .fc-meter+.fc-meter .fc-goal-fill{background:#427bb2}.fc-goals .fc-goal-track{background:#e3e9eb;border-color:#81999e}.fc-goals .fc-goal-track.is-over .fc-goal-fill{background:#b94235}.fc-goals .fc-goal-caption,.fc-deck{color:#364f59}.fc-shell .fc-mission{color:#314759;border-color:#d4dce0}.fc-phase-label{background:#ffffffa6;color:#554114;border:1px solid #ddc675}.fc-players>div{background:#f2f5f7;border-color:#ccd7dd}.fc-shell :is(button,a:where([data-route])){background:#fff9e8;border-color:#b6a574;color:#4b411f}.fc-shell :is(button,a:where([data-route])):hover:not(:disabled){background:#f6e5ac}.fc-shell :is(button,a:where([data-route]))[data-action=confirm],.fc-shell :is(button,a:where([data-route]))[data-action=meal],.fc-shell :is(button,a:where([data-route]))[data-action=start],.fc-shell :is(button,a:where([data-route]))[data-action=approve],.fc-shell :is(button,a:where([data-route]))[data-action=ready],.fc-item :is(button,a:where([data-route])):not(:disabled){background:#17665e;border-color:#12554e;color:#fff}.fc-shell :is(button,a:where([data-route])):disabled{background:#e9edef;border-color:#cbd2d6;color:#637079;opacity:1}.fc-shell input,.fc-shell select{background:#fff;border-color:#9aaab3;color:#253c49}.fc-shell input:focus,.fc-shell select:focus,.fc-shell :is(button,a:where([data-route])):focus-visible{outline-color:#246b94}.fc-shell #fc-items{background:#fff8e3;border-color:#dec781}.fc-item{background:#fff;border-color:#d4bd73;border-top:4px solid #d1a829}.fc-item h3{color:#564112}.fc-shell .fc-menu>label{background:#fffdf6;border-color:#d3c7a6}.fc-shell .fc-menu strong{color:#263f4b}.fc-dishes article{background:#f7fafb;border-color:#ccd7dd}.fc-shell .fc-result{padding:0;overflow:hidden;border:2px solid #c89920;box-shadow:0 8px 28px #66501724;scroll-margin-top:12px}.fc-result-hero{padding:22px 14px 16px;text-align:center;background:radial-gradient(ellipse at top,#fff9d5,#f4d167);color:#453513}.fc-result-symbol{font-size:42px;line-height:1.2}.fc-shell .fc-result-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700;margin:8px 0}.fc-shell .fc-result #fc-result-title{font-size:clamp(28px,8vw,42px);color:inherit;line-height:1.2;margin:6px 0 10px}.fc-result-hero p{font-size:12px}.fc-result-score{display:flex;align-items:center;justify-content:center;gap:14px;margin:14px 0 8px}.fc-result-score>strong{font-size:40px;line-height:1.1;font-variant-numeric:tabular-nums}.fc-result-score strong span{font-size:20px}.fc-result-score>span{font-size:11px;text-align:left}.fc-shell .fc-result--lose{border-color:#9d4a3d}.fc-result--lose .fc-result-hero{background:#f5ddd7;color:#722c24}.fc-shell .fc-result--abort{border-color:#738393}.fc-result--abort .fc-result-hero{background:#e5ebf0;color:#354957}.fc-result-personal{padding:14px 16px 8px;overflow-wrap:anywhere}.fc-result-personal h3{margin:5px 0;font-size:21px;color:#17665e}.fc-result-personal p,.fc-result-personal>strong{font-size:12px}.fc-result-actions{padding:8px 16px 16px}.fc-shell .fc-result-actions :is(button,a:where([data-route])){width:100%;min-height:38px;background:#17665e;color:#fff;border-color:#12554e;font-weight:700}.fc-result-actions p{font-size:12px}.fc-result-players article{padding:10px;margin-top:8px;border:1px solid #d4dce0;border-radius:8px;overflow-wrap:anywhere}.fc-result-players article.is-winner{background:#fff8de;border-color:#cba53b}.fc-result-players article>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.fc-result-players article span{font-size:12px;font-weight:700;color:#17665e}.fc-result-players article p{font-size:12px}.fc-item-heading{display:flex;align-items:center;gap:8px;margin-bottom:6px;min-width:0}.fc-item-image{display:block;flex:0 0 72px;width:72px;height:72px;object-fit:contain;border-radius:8px;background:#fff2bf}.fc-item-heading h3{min-width:0;margin:0;overflow-wrap:anywhere;font-size:.85rem;line-height:1.45}.fc-event-lines{max-height:210px;overflow-y:auto;overscroll-behavior:contain}.fc-event-entry{padding:7px 8px;border-bottom:1px solid #e1e7e9;overflow-wrap:anywhere}.fc-event-entry:nth-child(odd){background:#f4f8f9}.fc-event-entry.is-private{border-left:3px solid #427bb2;background:#edf3fc}.fc-shell .fc-event-entry small{font-size:.65rem}.fc-shell .fc-event-entry p{margin:3px 0 0;font-size:.78rem;line-height:1.45}.fc-compact .fc-message:empty{display:none}.fc-compact .fc-dashboard-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fc-compact .fc-dashboard-buttons :is(button,a:where([data-route])){min-height:40px}.fc-compact .fc-dashboard-buttons .is-primary{background:#17665e;color:#fff;border-color:#12554e}.fc-compact .fc-dashboard-buttons :is(button,a:where([data-route])):first-child{grid-column:1 / -1}.fc-shell .fc-next-action{font-size:.82rem;font-weight:700;margin:0 0 8px}.fc-shell .fc-latest-event{font-size:.72rem;color:#52646c;margin:10px 0 0;overflow-wrap:anywhere}.fc-modal{width:min(680px,calc(100vw - 20px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #b79d4f;border-radius:14px;background:#fff9e8;color:#243440;box-shadow:0 16px 70px #0005}.fc-modal::backdrop{background:#18252dbb}.fc-modal[open]{display:flex;flex-direction:column}.fc-modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #dbc989;background:#ffe69b;flex:none}.fc-shell .fc-modal-header h2{margin:0;font-size:1rem}.fc-modal-body{padding:0 10px 10px;overflow:auto;overscroll-behavior:contain;min-height:0}.fc-modal-body>[hidden]{display:none}.fc-modal .fc-management>summary{display:none}.fc-modal .fc-event-lines{max-height:none}.fc-compact .fc-debug{padding:7px 10px}.fc-compact .fc-debug h2{font-size:.7rem;margin-bottom:5px}.fc-compact .fc-debug>p{display:none}@media (orientation:portrait){.fc-compact .card{margin:6px 0;padding:10px}.fc-compact .fc-goals .fc-meter{padding:5px 7px}.fc-compact .fc-overview .fc-inline-meta{margin-top:2px}.fc-compact .fc-goals .fc-goal-track{height:10px}.fc-compact .fc-goals .fc-goal-heading strong{font-size:.95rem}}.fc-compact .fc-latest-event{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fc-shell .fc-number{font-weight:750;font-size:1.08em;font-variant-numeric:tabular-nums;color:#203f53}.fc-shell .fc-goal-heading>strong{font-variant-numeric:tabular-nums}.fc-shell .fc-goal-heading>strong .fc-number{font-size:1.14em;color:#125c55}.fc-shell .fc-meter+.fc-meter .fc-goal-heading>strong .fc-number{color:#285b8a}.fc-shell .fc-menu select{font-weight:750;font-variant-numeric:tabular-nums}.fc-shell #fc-order-total{background:#edf3fc;border-radius:6px;padding:6px 8px}.fc-shell .fc-order-guide{position:sticky;top:0;z-index:2;padding:8px;margin-bottom:8px;border:1px solid #d6b850;border-radius:8px;background:#fff4c9}.fc-shell .fc-order-guide>p{margin:3px 0}.fc-shell .fc-order-guide>p>strong{font-size:.85rem}.fc-shell .fc-order-guide #fc-order-total{margin:5px 0 0}.fc-meal-preview{margin:8px 0;padding:10px;border:1px solid #88b8aa;border-radius:8px;background:#edf7f3}.fc-meal-preview h3{margin:0 0 8px;font-size:.9rem}.fc-meal-preview h3 small{font-size:.65rem;font-weight:400}.fc-meal-preview>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 8px;font-size:.78rem;margin:5px 0}.fc-meal-preview>p{font-size:.78rem}.fc-meal-preview>small{font-size:.65rem}.fc-meal-preview.is-possible{background:#fff4d3;border-color:#bc902d}.fc-meal-preview.is-certain{background:#ffebe5;border-color:#bd6350}.fc-meal-risk{font-weight:700}.fc-attention-badge{display:inline-block;font-size:.7rem;padding:3px 6px;border-radius:5px;background:#e7eef3;color:#344f62;margin:0 4px 4px 0}.fc-attention-badge.is-required{background:#ffdf93;color:#633d08;border:1px solid #c19030}.fc-button-badge{display:inline-block;margin-left:7px;background:#ffe2a1;color:#563609;border-radius:4px;padding:2px 5px;font-size:.65rem;font-weight:700}body.portal-view{background:#0c1424;color:#edf3ff}.portal-shell{box-sizing:border-box;max-width:1120px;margin:auto;padding:28px 40px 20px;min-height:100dvh;background:radial-gradient(ellipse at 85% 5%,#19375466,transparent 50%)}.portal-shell *{box-sizing:border-box}.portal-shell header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-bottom:26px;border-bottom:1px solid #ffffff18}.portal-brand{display:flex;align-items:center;gap:12px;color:#f6f9ff;text-decoration:none;font-size:20px;font-weight:750;letter-spacing:.02em}.portal-brand>span{color:#65ddcc;font-size:34px}.portal-account{display:flex;align-items:center;gap:16px;font-size:13px}.portal-shell :is(button,a:where([data-route])){font:inherit;cursor:pointer}.portal-account :is(button,a:where([data-route])){background:transparent;color:#becce1;border:1px solid #ffffff30;border-radius:8px;padding:8px 12px}.portal-user{color:#e3edfc}.portal-label,.portal-eyebrow{color:#7ce3d6;font-size:11px;font-weight:700;letter-spacing:.18em}.portal-hero{padding:48px 0 38px}.portal-shell h1{color:#f4f8ff;font-size:clamp(26px,3.4vw,40px);line-height:1.5;letter-spacing:.015em;margin:12px 0}.portal-hero>p:last-child,.portal-intro>p:not(.portal-eyebrow){color:#a6b7d0;font-size:14px;line-height:1.9}.portal-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.portal-section-heading h2{font-size:17px;margin:0;color:#edf3ff}.portal-section-heading>span{font-size:10px;letter-spacing:.1em;color:#90a7c6}.portal-app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.portal-app-card{text-align:left;display:flex;flex-direction:column;min-height:232px;padding:23px;color:#edf3ff;background:linear-gradient(135deg,#1b2a41,#152238);border:1px solid #33475f;border-radius:16px;box-shadow:0 8px 24px #0002;transition:transform .15s,border-color .15s}.portal-app-card:hover{transform:translateY(-3px);border-color:#6edbcc;background:#1c3047}.portal-shell :is(button,a:where([data-route])):focus-visible,.portal-shell a:focus-visible{outline:3px solid #76e5d7;outline-offset:4px}.portal-shell :is(button,a:where([data-route])):disabled{opacity:.6;cursor:wait}.portal-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-app-icon{font-size:32px;line-height:1.3}.portal-category{background:#8cb0dc12;border:1px solid #8cb0dc25;color:#b3c7df;border-radius:20px;font-size:10px;padding:4px 9px}.portal-app-card h3{font-size:18px;margin:18px 0 7px;color:#f4f8ff}.portal-app-card p{color:#a6b9d1;font-size:12px;line-height:1.8;margin:0 0 20px}.portal-card-action{display:flex;justify-content:space-between;margin-top:auto;padding-top:12px;border-top:1px solid #ffffff12;color:#7ce3d6;font-size:12px;font-weight:650}.portal-card-action span{font-size:18px;line-height:1}.portal-footer{margin-top:34px;padding:20px 0 4px;color:#8d9fb9;border-top:1px solid #ffffff14;font-size:11px}.portal-login-layout{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:64px;padding:64px 0}.portal-intro h1{font-size:clamp(32px,4vw,48px)}.portal-orbit{margin-top:40px;color:#72ddcf;font-size:56px;display:flex;align-items:center;gap:18px}.portal-orbit span{color:#8ba4c5;font-size:10px;letter-spacing:.18em}.portal-login-card{padding:32px;border:1px solid #354960;border-radius:18px;background:#19273b;box-shadow:0 18px 50px #0003}.portal-login-card h2{margin:12px 0;font-size:24px;color:#edf3ff}.portal-login-card>p:not(.portal-eyebrow){color:#a6b7d0;font-size:12px;line-height:1.8}.portal-login-card label{display:block;margin:22px 0 8px;color:#d4e0f2;font-size:12px}.portal-login-card input{width:100%;background:#0e1a2d;color:#fff;border:1px solid #405572;border-radius:8px;padding:12px;min-height:44px}.portal-login-card input:focus{outline:2px solid #76e5d7;outline-offset:2px}.portal-login-card .portal-primary{display:flex;justify-content:space-between;width:100%;margin-top:26px;padding:14px 16px;background:#7ce3d6;border:0;border-radius:8px;color:#102c33;font-size:13px;font-weight:750}.portal-shell #loginMessage,.portal-shell #selectionMessage{min-height:20px;color:#ffcf9b;font-size:12px}@media (max-width:800px){.portal-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-login-layout{gap:28px;grid-template-columns:1fr 1fr}.portal-shell{padding:24px}}@media (max-width:540px){.portal-shell{padding:18px}.portal-shell header{align-items:flex-start;gap:12px;padding-bottom:18px}.portal-brand{font-size:15px;gap:6px}.portal-brand>span{font-size:25px}.portal-account{gap:8px;flex-wrap:wrap;justify-content:flex-end;font-size:11px}.portal-account :is(button,a:where([data-route])){padding:7px 9px;font-size:10px}.portal-hero{padding:30px 0 24px}.portal-hero>p:last-child{font-size:12px}.portal-app-grid{grid-template-columns:1fr;gap:12px}.portal-app-card{min-height:200px;padding:20px}.portal-login-layout{grid-template-columns:1fr;padding:30px 0;gap:24px}.portal-login-card{padding:24px}.portal-label,.portal-orbit{display:none}.portal-intro h1{font-size:32px}.portal-intro>p:not(.portal-eyebrow){font-size:12px}.portal-section-heading>span{font-size:9px}}h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}.nav-diagnostics{position:fixed;inset:auto .5rem max(.5rem,env(safe-area-inset-bottom)) auto;z-index:1000;display:flex;align-items:center;gap:.4rem;padding:.35rem .5rem;border:1px solid #687687;border-radius:.4rem;background:#17212e;color:#fff;font:.75rem system-ui,sans-serif}.nav-diagnostics button{font:inherit;padding:.25rem .4rem}.pt-app{max-width:1320px;margin:0 auto;padding:24px 18px 50px;min-height:100vh;background:#f4f7fa;color:#223346;font:14px/1.6 system-ui,Yu Gothic UI,sans-serif}.pt-header{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.pt-header h1{font-size:24px;margin:0}.pt-kicker{font-size:10px;letter-spacing:.14em;color:#687c94;margin:0}.pt-badge{background:#e8f1eb;color:#346344;border-radius:20px;padding:4px 12px;font-size:12px}.pt-intro,.pt-muted{color:#65768c}.pt-intro{margin:14px 0 6px}.pt-muted{font-size:12px}.pt-error{color:#a32f30!important}#ptStatus{min-height:26px;margin:4px 0 16px}.pt-tabs{display:flex;gap:8px;margin:12px 0}.pt-tabs button[aria-pressed=true]{background:#244d75;color:#fff;border-color:#244d75}.pt-tabs span{margin-left:8px;opacity:.75}.pt-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:16px;align-items:start}.pt-card{border:1px solid #d8e1e8;border-radius:14px;background:#fff;padding:20px;min-width:0}.pt-card h2{font-size:17px;margin:0 0 16px}.pt-card h3{font-size:14px;margin:12px 0 5px}.pt-app button,.pt-app input,.pt-app select,.pt-app textarea{font:inherit;box-sizing:border-box}.pt-app button{border:1px solid #cbd7e2;background:#f8fafc;color:#24435f;border-radius:8px;padding:8px 12px;cursor:pointer}.pt-app button:hover:not(:disabled){background:#e9f0f7}.pt-app button:disabled{opacity:.6;cursor:default}.pt-app :focus-visible{outline:3px solid #83b3e6;outline-offset:2px}.pt-app input,.pt-app select,.pt-app textarea{background:#fff;color:#223346;border:1px solid #cbd7e2;border-radius:7px;padding:8px;width:100%;min-width:0}.pt-app label{display:flex;flex-direction:column;gap:5px;font-size:12px;margin-bottom:12px}.pt-app textarea{resize:vertical}.pt-app input[type=number]{appearance:auto}.pt-list{display:grid;gap:7px;margin-top:16px;max-height:620px;overflow:auto}.pt-list button{text-align:left;display:flex;flex-direction:column;overflow-wrap:anywhere}.pt-list button.active{border-color:#4d80b2;background:#edf4fa}.pt-list small{font-size:11px;color:#65768c}.pt-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.pt-shape{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;border-top:1px solid #e4eaf0;margin-top:10px}.pt-app .pt-inline{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}.pt-inline select{width:auto;max-width:100%}.pt-grid{display:grid;grid-template-columns:repeat(var(--pt-size),minmax(0,1fr));width:100%;max-width:390px;margin:10px 0;background:#d8e1e8;border:1px solid #cbd7e2;gap:1px}.pt-app .pt-grid button{display:grid;place-items:center;border:0;border-radius:0;aspect-ratio:1;padding:0;min-width:0;background:#f6f9fc;color:#7291aa;font-size:clamp(5px,1.2vw,11px);line-height:1}.pt-app .pt-grid button.selected{background:#4c86b8;color:#fff}.pt-app .pt-grid button.origin{box-shadow:inset 0 0 0 2px #d6a74b;font-weight:700}.pt-app .pt-grid button:disabled{opacity:1}.pt-app .pt-grid button:hover:not(:disabled){filter:brightness(.94);outline:2px solid #718397;outline-offset:-2px}.pt-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.pt-app .pt-primary{background:#244d75;color:#fff;border-color:#244d75}.pt-app .pt-primary:hover:not(:disabled){background:#193c60}.pt-app .pt-danger{color:#a32f30}.pt-search{display:flex;gap:10px;align-items:end;margin:10px 0}.pt-search label{flex:1;margin:0}#ptMovePreview .pt-grid{max-width:310px}@media (max-width:900px){.pt-layout{grid-template-columns:1fr}.pt-list{max-height:180px}.pt-shape{gap:12px}.pt-card{padding:16px}}.pt-confirm{max-width:min(460px,calc(100vw - 32px));margin:auto;padding:24px;border:1px solid #cbd7e2;border-radius:12px;background:#fff;color:#223346;font:14px/1.6 system-ui,sans-serif}.pt-confirm::backdrop{background:#10273b99}.pt-confirm h2{font-size:18px;margin-top:0}.pt-confirm button{font:inherit;border:1px solid #cbd7e2;border-radius:7px;background:#f4f7fa;color:#24435f;padding:8px 12px;cursor:pointer}.pt-confirm [data-confirm=yes]{background:#244d75;color:#fff}.pt-confirm :focus-visible{outline:3px solid #83b3e6;outline-offset:2px}@media (max-width:560px){.pt-app{padding:16px 12px 36px}.pt-header{gap:10px}.pt-header h1{font-size:20px}.pt-form-grid,.pt-shape{grid-template-columns:1fr}.pt-tabs{flex-wrap:wrap}.pt-app .pt-grid button{font-size:11px}.pt-search{align-items:stretch;flex-direction:column}}.pt-help{margin:0 0 14px;border:1px solid #d8e1e8;padding:10px 12px;border-radius:8px;font-size:12px;color:#50667c}.pt-help summary{cursor:pointer;font-weight:600}.pt-paint{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.pt-paint [data-paint=attack]{border-left:7px solid #e69a35}.pt-paint [data-paint=selfMove]{border-left:7px solid #5ac4df}.pt-paint [data-paint=knockback]{border-left:7px solid #e26b67}.pt-paint [aria-pressed=true]{outline:2px solid #244d75;outline-offset:1px}.pt-app .pt-grid button{position:relative;overflow:hidden}.pt-app .pt-grid button.attack{background:#f5b75e;color:#643e11}.pt-app .pt-grid button.self-move:not(.attack){background:#b5e8f2}.pt-app .pt-grid button.knockback:not(.attack):not(.self-move){background:#f3b5b0}.pt-app .pt-grid button.self-move.knockback:not(.attack){background:linear-gradient(135deg,#b5e8f2 50%,#f3b5b0 50%)}.pt-marker{position:absolute;display:grid;place-items:center;width:50%;height:50%;font-size:clamp(5px,.8vw,10px);font-weight:700}.pt-self{background:#5ac4df;color:#124452;left:0;top:0}.pt-enemy{background:#e26b67;color:#491818;right:0;bottom:0}.pt-migration{padding:10px;border-left:3px solid #c18a38;background:#fff5e4;color:#73501d;font-size:12px}.pt-table-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.pt-table-heading h2{margin-bottom:0}.pt-table-scroll{overflow-x:auto;margin-top:14px}.pt-move-table{width:100%;border-collapse:collapse;font-size:13px;min-width:750px}.pt-move-table th,.pt-move-table td{text-align:left;border-bottom:1px solid #e2e9ef;padding:10px 8px;vertical-align:top}.pt-move-table th{background:#edf3f8}.pt-move-table th button{border:0;background:transparent;padding:2px 0;font-weight:700;width:100%;text-align:left}.pt-filter-row td{padding:7px 5px;background:#f6f9fc}.pt-filter-row input,.pt-filter-row select{font-size:12px;min-width:88px}.pt-move-table td:first-child{min-width:180px}.pt-move-table td:last-child{min-width:150px}.pt-app .pt-table-name{padding:0;border:0;border-radius:0;background:transparent;color:#245a89;text-align:left;text-decoration:underline;text-underline-offset:3px}.pt-move-table small{display:block;color:#718397;font-size:10px;margin-top:3px}.pt-table-pager{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:14px;flex-wrap:wrap}.pt-table-pager span{margin-right:auto;font-size:12px;color:#65768c}.pt-empty-row{text-align:center!important;padding:30px!important;color:#65768c}.pt-source{background:#8363bb;color:#fff;left:0;top:0;width:38%;height:38%}.pt-enemy{color:#fff;width:45%;height:45%}.pt-self{left:auto;right:0;top:0;width:38%;height:38%}.pt-app .pt-grid button.pt-pending{outline:3px solid #8363bb;outline-offset:-3px}.pt-app .pt-grid button.pt-blocked{background:repeating-linear-gradient(135deg,#e3d3bb 0 4px,#f6f0e6 4px 8px);color:#8e877e}.pt-fixture{position:relative;z-index:1;border-radius:50%;background:#24435f;color:#fff;padding:3px;font-size:clamp(6px,1vw,11px)}.pt-pair{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid #e2e9ef;padding:6px 0;font-size:12px}.pt-pair b{background:#8363bb;color:#fff;padding:2px 5px;margin-right:5px}.pt-app .pt-pair button{padding:3px 8px;font-size:11px}.pt-paint [data-paint=knockback]{border-left-color:#8363bb;border-right:7px solid #e26b67}.pt-scenario{display:flex;gap:4px;flex-wrap:wrap}.pt-app .pt-scenario button{font-size:11px;padding:4px 7px}.pt-scenario [aria-pressed=true]{background:#244d75;color:#fff}.pt-usage-ok{color:#286644;font-weight:700}.pt-range-illustration{display:block;width:100px;height:100px;margin-top:6px;max-width:100%;background:#fafcfd;border:1px solid #e2e9ef;border-radius:4px}#ptPairHint{font-size:12px;color:#644490}.pt-source-note{padding:10px 12px;background:#edf4fa;border-radius:8px;color:#3f5d77;font-size:12px}.pt-move-table .pt-source-header th{font-size:11px;letter-spacing:.03em;color:#44627c;background:#e3edf6;border-bottom:2px solid #cad8e5}.pt-move-table .pt-tactics-column{background:#f6f0fc;border-left:2px solid #c9b5df}.pt-move-table .pt-source-header .pt-tactics-column{background:#e9def5;color:#69488a;border-bottom-color:#c9b5df}.pt-move-table .pt-filter-row .pt-tactics-column{background:#f0e7f8}.pt-move-table{min-width:0;table-layout:fixed}.pt-move-table td:first-child,.pt-move-table td:last-child{min-width:0}.pt-move-table td,.pt-move-table th{overflow-wrap:anywhere}.pt-filter-row input,.pt-filter-row select{min-width:0}.pt-move-table td select{width:100%;min-width:0;max-width:100%;text-overflow:ellipsis}.pt-move-table .pt-inline-beam{display:flex;flex-direction:row;gap:4px;align-items:center;margin:6px 0 0;font-size:11px}.pt-inline-beam input{width:16px;height:16px;flex:none;margin:0}.pt-mobile-filters{display:none}.pt-mobile-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}@media (max-width:640px){.pt-app{padding:12px 6px 30px;max-width:100%;box-sizing:border-box}.pt-card{padding:10px 6px}.pt-table-heading{gap:6px}.pt-table-heading h2{width:100%;font-size:16px}.pt-table-heading button{font-size:11px;padding:6px 10px}.pt-source-note{padding:8px;font-size:11px}.pt-table-scroll{overflow-x:visible}.pt-move-table{font-size:11px}.pt-move-table th,.pt-move-table td{padding:7px 3px}.pt-move-table th button{font-size:10px;line-height:1.4;white-space:normal}.pt-move-table .pt-source-header th{font-size:10px}.pt-move-table td:nth-child(4),.pt-move-table td:nth-child(5){font-size:10px;text-align:center}.pt-move-table small{display:none}.pt-move-table .pt-range-illustration{width:60px;height:60px}.pt-move-table td select{font-size:11px;padding:7px 1px;border-radius:4px;min-height:32px}.pt-move-table .pt-inline-beam{font-size:10px;gap:3px}.pt-filter-row{display:none}.pt-mobile-filters{display:block;margin:10px 0;font-size:12px}.pt-mobile-filters summary{cursor:pointer;color:#245a89}.pt-mobile-filter-grid label{margin-bottom:2px}.pt-mobile-filter-grid input,.pt-mobile-filter-grid select{font-size:13px;min-height:34px}.pt-tabs{gap:4px}.pt-tabs button{font-size:11px;padding:7px 6px}.pt-tabs span{margin-left:3px}.pt-header h1{font-size:18px}}.pt-row-feedback{display:block;font-size:10px;color:#3f5d77;margin-top:4px;overflow-wrap:anywhere}.pt-row-feedback:empty{display:none}.pt-aff-badge{display:inline-block;font-size:11px;font-weight:500;border-radius:12px;background:#eee4f8;color:#68468b;padding:3px 9px;vertical-align:middle}.pt-aff-notice{border:1px solid #c9b5df;border-left:4px solid #8663aa;background:#f6f0fc;border-radius:8px;padding:12px;margin:12px 0;color:#583778}.pt-aff-notice p{margin:4px 0 0;font-size:12px}.pt-aff-editor{overflow-wrap:anywhere}.pt-aff-values{display:flex;flex-wrap:wrap;gap:6px 16px;margin:10px 0}.pt-app .pt-aff-check{display:flex;flex-direction:row;align-items:center;gap:6px;margin:4px 0;font-size:12px}.pt-app .pt-aff-check input{width:17px;height:17px;flex:none}.pt-app .pt-aff-weight{max-width:280px;margin:10px 0 0}.pt-aff-top-preview{margin:14px 0 20px;padding:14px;border:1px solid #d5dfe9;border-radius:10px;background:#f8fafc}.pt-aff-top-preview h3{margin:0 0 8px}.pt-aff-top-preview>p:last-child{margin-bottom:0}.pt-aff-summary-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px;background:#fff}.pt-aff-summary-table caption{font-size:10px;color:#65768c;text-align:left;padding:0 0 6px}.pt-aff-summary-label{width:23%}.pt-aff-summary-count{width:10%}.pt-aff-summary-table th,.pt-aff-summary-table td{padding:9px 10px;border:1px solid #dce3ea;vertical-align:top;text-align:left;overflow-wrap:anywhere}.pt-aff-summary-table thead th{background:#eaf0f6;color:#415a73;font-size:11px}.pt-aff-summary-table tbody th{font-weight:600;background:#f7f9fb}.pt-aff-summary-table tbody th small{display:block;color:#65768c;font-size:10px;font-weight:400}.pt-aff-summary-table td:nth-child(2){text-align:center;font-variant-numeric:tabular-nums}.pt-aff-name-list{display:block;font-size:11px;line-height:1.8;max-height:72px;overflow-y:auto;overscroll-behavior:contain;color:#4d5c70}.pt-aff-condition-summary{font-size:11px;line-height:1.8;color:#65768c;margin:9px 0 5px}.pt-aff-settings-sections{display:grid;gap:16px}.pt-aff-section{--section-accent:#35648c;border:1px solid #d4dfe8;border-left:4px solid var(--section-accent);border-radius:10px;padding:16px;background:#f2f7fc}.pt-aff-section-categories{--section-accent:#3b735a;background:#f2f8f4;border-color:#cee0d4}.pt-aff-section-numeric{--section-accent:#946725;background:#fcf8ef;border-color:#e7dac1}.pt-aff-section-notes{--section-accent:#64748b;background:#f5f6f8;border-color:#d9dee5}.pt-aff-section-companion{--section-accent:#735294;background:#f8f4fc;border-color:#dfd2eb}.pt-aff-section-heading{display:flex;gap:9px;align-items:center;padding-bottom:10px;margin-bottom:12px;border-bottom:1px solid #dce3e8}.pt-aff-section-heading span{display:grid;place-items:center;background:var(--section-accent);color:#fff;font-size:10px;font-weight:600;border-radius:5px;width:24px;height:23px;flex:none}.pt-aff-section .pt-aff-section-heading h3{margin:0;font-size:14px;color:var(--section-accent)}.pt-aff-section>label:last-child{margin-bottom:0}.pt-aff-section>p.pt-muted{margin-top:0}.pt-aff-rule{background:#fff;padding:12px;border:1px solid #dce2e7;border-radius:8px;margin:12px 0}.pt-aff-rule .pt-table-heading{margin-bottom:10px}.pt-aff-rule h4{margin:0;font-size:13px;color:#30495d}.pt-aff-rule .pt-table-heading button{padding:5px 9px;font-size:11px}.pt-aff-rule details{font-size:12px}.pt-aff-rule summary{cursor:pointer}.pt-aff-rule .pt-form-grid label{margin-bottom:0}.pt-aff-section .pt-search{margin:12px 0 0}.pt-aff-section .pt-search button{font-size:12px}.pt-aff-section-companion{padding:12px 16px}.pt-aff-section-companion .pt-aff-section-heading{padding-bottom:7px;margin-bottom:8px}.pt-aff-section-companion .pt-aff-section-heading h3{font-size:13px}.pt-companion-current,.pt-companion-hint{font-size:11px;line-height:1.7;color:#655674;margin:5px 0}.pt-companion-hint{color:#8a632f}.pt-app .pt-companion-search-label{max-width:320px;margin:10px 0 0;font-size:11px}.pt-companion-search-label input{font-size:12px;padding:7px 9px}.pt-companion-options{display:grid;gap:3px;max-height:160px;overflow:auto;overscroll-behavior:contain}.pt-companion-options .pt-aff-check{font-size:11px}#ptCompanionResults:empty{display:none}#ptCompanionResults>p{margin:7px 0 3px;font-size:10px}@media (max-width:560px){.pt-aff-top-preview{padding:10px 8px}.pt-aff-summary-label{width:30%}.pt-aff-summary-count{width:13%}.pt-aff-summary-table{font-size:11px}.pt-aff-summary-table th,.pt-aff-summary-table td{padding:7px 5px}.pt-aff-name-list{font-size:10px;max-height:80px}.pt-aff-summary-table thead th{font-size:10px}.pt-aff-settings-sections{gap:13px}.pt-aff-section{padding:12px 9px}.pt-aff-rule{padding:10px 8px}.pt-aff-values{gap:6px 10px}.pt-aff-section-heading{gap:7px}.pt-aff-section .pt-aff-section-heading h3{font-size:13px}.pt-aff-badge{margin-top:4px}.pt-companion-search-label{width:100%}}.pt-aff-result{display:grid;gap:10px;margin:0 0 12px}.pt-aff-rate-table{border:2px solid #6b4a90}.pt-aff-rate-table caption,.pt-aff-weight-table caption{font-size:12px;font-weight:600;color:#583778}.pt-aff-rate{display:block;font-size:22px;font-weight:700;line-height:1.1;color:#583778;font-variant-numeric:tabular-nums}.pt-aff-rate-table tbody th small{margin-top:2px}.pt-aff-rate-guaranteed th,.pt-aff-rate-guaranteed td{background:#f3ecfb}.pt-aff-rate-zero .pt-aff-rate{font-size:15px;color:#7b8796}.pt-aff-weight-table td{text-align:center;font-variant-numeric:tabular-nums}.pt-aff-weight-table td strong{font-size:14px;color:#583778}.pt-aff-result-pending p{margin:0;padding:12px;border:2px dashed #b48a3c;border-radius:8px;background:#fdf7ea;color:#73541c;font-size:12px;line-height:1.7}.pt-aff-result-pending strong{display:block;font-size:16px;margin-bottom:2px}@media (max-width:560px){.pt-aff-rate{font-size:18px}.pt-aff-weight-table{font-size:11px}}.pt-aff-companion-rate{display:inline-block;margin:0 12px 2px 0;font-size:12px;color:#4d5c70}.pt-aff-companion-rate strong{font-size:16px;color:#583778;font-variant-numeric:tabular-nums}.pt-aff-companion-rate.pt-aff-short strong{color:#b3261e}.pt-aff-alert{padding:10px 12px;border:2px solid #d4574e;border-left-width:6px;border-radius:8px;background:#fdeceb;color:#8c1d16;font-size:12px;line-height:1.7}.pt-aff-alert strong{display:block;font-size:14px}.pt-aff-alert small{color:#8c1d16}.pt-aff-ok{margin:0;font-size:12px;color:#2f6b45}.pt-aff-weight-condition{width:46%}.pt-aff-weight-table tbody th{font-weight:500;font-size:12px}.pt-aff-result-pending{margin:0 0 10px}@media (max-width:560px){.pt-aff-weight-condition{width:40%}.pt-aff-companion-rate strong{font-size:14px}}.pt-aff-value{display:flex;align-items:center;gap:6px}.pt-aff-value-on{background:#eef6f0;border-radius:6px;padding:1px 6px 1px 4px}.pt-app .pt-aff-value-weight{width:58px;padding:3px 6px;font-size:12px;margin:0}.pt-aff-rate-partial{font-size:17px;color:#4d6a86}.pt-aff-lines{margin:0;padding-left:1.1em;font-size:11px;line-height:1.7;color:#4d5c70}.pt-aff-lines li{margin:0}.pt-aff-lines li::marker{color:#8a98a8}.pt-aff-name-list .pt-aff-lines{max-height:none}div.pt-aff-name-list{font-size:11px}.pt-aff-line-count{display:block;font-size:10px;color:#65768c;white-space:nowrap}.pt-companion-selected{list-style:none;padding:0;margin:6px 0;display:grid;gap:6px}.pt-companion-selected li{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.pt-companion-selected li span{min-width:0;overflow-wrap:anywhere}.pt-app .pt-companion-selected button{flex:none;font-size:12px;padding:6px 10px}.thai-shell{height:100dvh;overflow:auto;background:#f5f0e8;color:#25302d;padding:24px max(16px,calc((100vw - 1040px)/2));padding-bottom:96px}.thai-shell>header{display:flex;align-items:center;gap:18px;margin-bottom:24px}.thai-shell>header h1{margin:2px 0;font-size:1.65rem}.thai-shell>header small,.thai-page-head p,.thai-card small{color:#66736d}.thai-shell :is(button,a:where([data-route])),.thai-shell input{font:inherit}.thai-shell :is(button,a:where([data-route])){border:1px solid #c9d2cc;border-radius:12px;background:#fff;color:#25302d;padding:10px 14px;cursor:pointer}.thai-shell :is(button,a:where([data-route])):disabled{opacity:.45;cursor:not-allowed}.thai-hero{background:linear-gradient(135deg,#144c42,#237764);color:#fff;border-radius:24px;padding:32px;box-shadow:0 18px 45px #164c4230}.thai-hero h2{font-size:2rem;margin:.25rem 0}.thai-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.thai-kicker{font-weight:700;color:#bdebdc}.thai-primary{background:#dc6b32!important;border-color:#dc6b32!important;color:#fff!important;font-weight:700}.thai-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.thai-stats article,.thai-card,.thai-result{background:#fff;border:1px solid #dfe4df;border-radius:18px;padding:20px}.thai-stats strong{display:block;font-size:1.7rem;color:#176454}.thai-stats span{font-size:.86rem;color:#66736d}.thai-card{margin:14px 0}.thai-card h3{margin-top:0}.thai-card h3 small{font-weight:400;margin-left:8px}.thai-note{background:#fff4dc;border-radius:10px;padding:10px}.thai-page-head{display:flex;align-items:center;gap:14px}.thai-page-head h2{margin-bottom:2px}.thai-lessons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.thai-lessons :is(button,a:where([data-route])){text-align:left;display:flex;justify-content:space-between;gap:8px}.thai-materials{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.thai-materials article{background:#f8faf8;border-radius:12px;padding:14px}.thai-materials strong,.thai-materials span{display:block}.thai-materials strong{font-size:1.15rem;color:#176454}.thai-materials span{color:#7b655a}.thai-actions{display:flex;gap:10px;flex-wrap:wrap}.thai-exam-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.thai-exam-grid .thai-card{margin:0}.thai-exam-grid :is(button,a:where([data-route])){display:block;width:100%;margin:9px 0}.thai-mock-card{display:flex;flex-direction:column}.thai-mock-card strong{font-size:2rem;color:#176454;margin:auto 0 16px}.thai-mock-card small{margin-top:10px}.thai-question :is(button,a:where([data-route])){display:block;width:100%;margin:8px 0;text-align:left}.thai-question :is(button,a:where([data-route])).selected{border-color:#176454;background:#e6f4ee}.thai-question .correct{color:#14714c}.thai-question .wrong{color:#a44230}.thai-attempt-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}.thai-attempt-nav span{color:#66736d;font-size:.9rem}.thai-submit{display:block;margin:24px auto}.thai-result{text-align:center;margin:18px 0}.thai-result strong{font-size:2.4rem;color:#176454}.thai-review{border-bottom:1px solid #e5e9e5;padding:10px 0}.thai-review span{margin-left:10px;color:#7b655a}.thai-card label{display:block;margin:14px 0}.thai-card input[type=number]{display:block;margin-top:6px;padding:8px;border:1px solid #c9d2cc;border-radius:8px}.thai-download{display:inline-block;margin-left:14px;color:#176454}.thai-nav{position:fixed;left:50%;bottom:12px;transform:translate(-50%);display:flex;gap:6px;background:#173f38;padding:7px;border-radius:16px;box-shadow:0 8px 30px #0003}.thai-nav :is(button,a:where([data-route])){background:transparent;border:0;color:#fff;padding:9px 13px}.thai-message{min-height:1.2em;color:#a44230}@media (max-width:599px){.thai-shell{padding:14px 12px 88px}.thai-stats,.thai-exam-grid,.thai-lessons{grid-template-columns:1fr}.thai-hero{padding:24px 20px}.thai-nav{width:calc(100% - 20px);justify-content:space-around}.thai-nav :is(button,a:where([data-route])){padding:9px 4px;font-size:.76rem}}.thai-card hr{border:0;border-top:1px solid #e2e6e2;margin:22px 0}.thai-card input[type=file],.thai-card input[type=password]{display:block;width:min(100%,420px);box-sizing:border-box;margin-top:7px;padding:9px;border:1px solid #c9d2cc;border-radius:8px;background:#fff}.thai-restore-summary{margin-top:16px;padding:16px;border-radius:12px;background:#fff4dc}.thai-danger{background:#a44230!important;border-color:#a44230!important;color:#fff!important;font-weight:700}.thai-download{padding:9px 0}body.ps-body{background:#edf5eb;color:#535651}body.ps-body #app{overflow:auto}.ps-app{min-height:100%;font:15px/1.55 system-ui,Yu Gothic UI,sans-serif;color:#535651;background:radial-gradient(ellipse at 40% 0,#f9fbef,#edf5eb 70%);padding:20px max(12px,env(safe-area-inset-right)) 30px}.ps-app *,.ps-app *:before,.ps-app *:after{box-sizing:border-box}.ps-app :is(button,a:where([data-route])),.ps-app input,.ps-app select{font:inherit;letter-spacing:inherit;min-width:0}.ps-app :is(button,a:where([data-route])){cursor:pointer}.ps-app :is(button,a:where([data-route])):disabled{opacity:.35;cursor:default}.ps-app :focus-visible{outline:3px solid #48a69b;outline-offset:3px}.ps-app [hidden]{display:none!important}.ps-list-screen{max-width:1280px;margin:auto}.ps-list-header{display:flex;gap:14px;align-items:center;padding:8px 0 23px;flex-wrap:wrap}.ps-app .ps-portal-back{color:#5a7665;background:#ffffffc4;border:1px solid #d4e3ce;border-radius:30px;padding:9px 16px;margin-right:8px}.ps-moon{font-size:45px;line-height:1;color:#e4b449}.ps-list-header p{font-size:10px;letter-spacing:.22em;color:#72916c;margin:0;font-weight:800}.ps-list-header h1{font-size:25px;letter-spacing:.03em;margin:1px 0 0;color:#485e4b}.ps-total{margin-left:auto;font-weight:900;background:#78b66a;color:#fff;padding:7px 20px;border-radius:24px;box-shadow:0 3px #609657}.ps-tools{background:#ffffffa8;border:1px solid #fff;border-radius:20px;padding:16px;display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(120px,1fr));gap:12px;box-shadow:0 5px 20px #60804f08}.ps-tools label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;color:#72806a}.ps-tools input,.ps-tools select{width:100%;padding:10px 12px;border-radius:12px;border:1px solid #dce5d4;background:#fff;color:#4c5b48;height:43px}.ps-result-line{display:flex;align-items:center;justify-content:space-between;padding:23px 5px 13px}.ps-result-line h2{font-size:16px;margin:0;color:#5b7055}.ps-result-count{font-size:12px;color:#7b8f74}.ps-status{margin:4px 0;text-align:center;color:#6f8068}.ps-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(174px,1fr));gap:13px}.ps-app .ps-pokemon-card{min-width:0;display:flex;flex-direction:column;align-items:center;position:relative;text-align:center;border:2px solid #fff;background:linear-gradient(#fffdf5,#fffefb);border-radius:22px;padding:10px 9px 13px;color:#535651;box-shadow:0 4px #c5d5b6,0 7px 16px #67834e08;transition:transform .15s,box-shadow .15s}.ps-pokemon-card:hover{transform:translateY(-3px);box-shadow:0 7px #c5d5b6,0 10px 20px #67834e20}.ps-card-top{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:4px}.ps-level{font-size:10px;font-weight:800;color:#6f9f4c}.ps-level b{font-size:16px;margin-left:2px}.ps-card-sp{font-size:10px;color:#a0a18e}.ps-art{display:inline-flex;align-items:center;justify-content:center;position:relative;flex-shrink:0}.ps-art img{display:block;width:100%;height:100%;object-fit:contain}.ps-card-art{width:100%;height:108px;background:radial-gradient(ellipse,#f2f7d5 5%,transparent 65%)}.ps-image-missing{font-size:11px;color:#869282;padding:10px}.ps-species{font-size:14px;line-height:1.35;overflow-wrap:anywhere;margin:2px 0;min-height:19px}.ps-nickname{font-size:10px;color:#929480;margin-bottom:9px;overflow-wrap:anywhere}.ps-card-badges{display:flex;justify-content:center;gap:4px;flex-wrap:wrap;margin-top:auto}.ps-type{display:inline-block;color:#fff;background:var(--type);font-size:10px;font-weight:800;border-radius:5px;padding:2px 7px;white-space:nowrap}.ps-specialty{display:inline-block;font-size:10px;font-weight:700;color:#708165;background:#edf2df;border-radius:5px;padding:2px 6px;white-space:nowrap}.ps-list-footer{text-align:center;font-size:10px;color:#94a08c;margin-top:30px}.ps-list-footer a{color:#6f9078}.ps-app .ps-retry,.ps-app .ps-return-load{border:1px solid #c6d7c0;background:#fff;color:#4c7051;border-radius:25px;padding:10px 20px;margin:15px}.ps-detail-loading{padding:60px 16px;text-align:center}.ps-app.ps-show-detail{padding:0;background:#f1f5ef}.ps-detail-screen{max-width:680px;margin:auto;min-height:100dvh;background:#fff;box-shadow:0 0 40px #4b674515}.ps-detail{padding:0 24px calc(115px + env(safe-area-inset-bottom));background:#fff;color:#555653}.ps-detail-top{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 0;color:#899281;font-size:11px}.ps-app .ps-detail-top :is(button,a:where([data-route])){border:0;background:#eef6e9;border-radius:20px;color:#7d9670;padding:7px 12px;font-size:12px}.ps-profile{display:flex;align-items:center;justify-content:space-between;padding:20px 3px 26px;gap:10px}.ps-profile-info{min-width:0;flex:1}.ps-detail-sp{color:#ff8561;font-weight:800;font-size:14px;white-space:nowrap}.ps-detail-sp b{color:#535653;font-size:25px;margin-left:7px}.ps-profile-name{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;margin-top:11px}.ps-profile-name>span{color:#34ca62;font-size:15px;font-weight:900;white-space:nowrap}.ps-profile-name h1{font-size:21px;font-weight:900;margin:0;line-height:1.3;overflow-wrap:anywhere}.ps-profile-info>p{font-size:12px;color:#999d91;margin:5px 0 10px}.ps-profile-badges{display:flex;gap:5px;flex-wrap:wrap}.ps-profile-art{width:170px;height:160px;background:radial-gradient(ellipse,#f7f9dc 12%,transparent 67%)}.ps-facts{padding:6px 4px 0}.ps-fact{display:grid;grid-template-columns:36% 1fr;gap:20px;align-items:center;margin:18px 0}.ps-pill{background:#65e43d;border-radius:28px;color:#fff;text-align:center;font-size:15px;font-weight:900;padding:5px;line-height:1.4}.ps-berry{display:flex;align-items:center;gap:13px;font-size:12px;font-weight:700}.ps-berry .ps-art{width:63px;height:63px;background:#fcfce8;border-radius:50%}.ps-food-row{align-items:center;margin-top:12px}.ps-food-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0}.ps-food{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0}.ps-slot-lock{font-size:10px;font-weight:900;color:#ac7d4b;height:18px;white-space:nowrap}.ps-food .ps-art{width:72px;max-width:100%;height:72px;background:#fcfce8;border-radius:50%}.ps-food-qty{margin-top:-7px;position:relative;background:#fff;border:1.5px solid #e4b258;border-radius:18px;padding:0 9px;font-size:12px;font-weight:800;color:#9c6847;white-space:nowrap;box-shadow:0 2px 2px #ddd8}.ps-food-name{font-size:9px;text-align:center;margin-top:5px;color:#9a9e8b;line-height:1.3;overflow-wrap:anywhere}.ps-locked .ps-art{opacity:.38}.ps-unset{height:72px;display:grid;place-items:center;color:#e6d8a0;font-size:30px}.ps-number-row{margin:30px 0}.ps-number-row strong{font-size:24px;font-weight:900;line-height:1.35}.ps-green-heading{background:#20ce67;color:#fff;font-size:20px;font-weight:900;line-height:1.3;padding:6px 15px;margin:0;position:relative;border-left:7px solid #20ce67;clip-path:polygon(0 0,100% 0,97% 100%,0 100%)}.ps-green-heading:before{content:"";position:absolute;top:0;left:4px;bottom:0;width:6px;background:#fff}.ps-skills{margin-top:65px}.ps-main-skill{display:grid;grid-template-columns:95px minmax(0,1fr);border:3px solid #f5bc3b;border-radius:12px;box-shadow:0 4px #d8d8cf;background:#fffef5;margin:42px 0 44px;min-height:138px;overflow:hidden;outline:1px solid #f2c768;outline-offset:3px}.ps-skill-icon{background:#fffbd8;color:#fff;font-size:38px;display:grid;place-items:center;text-shadow:0 0 2px #ffc01b;background:radial-gradient(circle at center,#ffc01b 33%,#fffbd8 34%)}.ps-skill-copy{min-width:0;padding:17px 17px 18px}.ps-skill-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:2px solid #f7e2b1;padding-bottom:10px}.ps-skill-title h3{font-size:18px;line-height:1.45;margin:0;font-weight:900;overflow-wrap:anywhere}.ps-skill-title>span{font-size:19px;font-weight:900;white-space:nowrap}.ps-skill-copy>p{font-size:16px;font-weight:750;white-space:pre-line;line-height:1.6;margin:12px 0 0}.ps-subskill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 23px;padding:0 5px}.ps-subskill{min-height:58px;border:2px solid #d7d8d3;background:#fff;border-radius:9px;box-shadow:0 4px #d5d6ce;position:relative;display:grid;place-items:center;text-align:center;padding:8px 9px;font-size:15px;font-weight:900;line-height:1.4;color:#8e543d}.ps-rarity-blue{border-color:#9bddfc;background:linear-gradient(#d1f5ff,#b3ebff);color:#224763;box-shadow:0 3px #6eaff5,inset 0 0 3px #63b7ff}.ps-rarity-gold{background:linear-gradient(#fff5ac,#ffe26b);border-color:#f4d280;color:#927131;box-shadow:0 3px #f3ba50}.ps-subskill.ps-locked>span:last-child{opacity:.42}.ps-subskill.ps-locked{box-shadow:0 3px #dfe0d8;filter:saturate(.65)}.ps-sub-lock{position:absolute;left:-6px;top:-15px;font-size:10px;color:#fff;background:#a07c59;border-radius:16px;padding:2px 14px;white-space:nowrap;line-height:1.5}.ps-nature-section{margin-top:78px}.ps-nature-row{display:grid;grid-template-columns:44% 1fr;gap:24px;align-items:center;margin:52px 4px 20px}.ps-nature-name{position:relative;border:3px solid #32cd6b;border-radius:60px;min-height:68px;display:grid;place-items:center;padding:13px 8px;font-size:19px;font-weight:900}.ps-nature-name>span{position:absolute;left:0;top:-14px;border-radius:16px;background:#65e43d;color:#fff;padding:0 14px;font-size:12px;line-height:1.6}.ps-nature-effects p{font-size:13px;font-weight:800;margin:8px 0;line-height:1.5}.ps-nature-effects b{white-space:nowrap;margin-left:5px}.ps-buff{color:#ff784c}.ps-nerf{color:#32aef3}.ps-detail-footer{position:fixed;z-index:5;bottom:0;left:50%;transform:translate(-50%);width:min(680px,100%);padding:18px 25px calc(18px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;background:#ff7a52;border:4px solid #ffa58b;border-bottom:0;border-radius:22px 22px 0 0;box-shadow:0 -4px #d4d4d0;min-height:96px}.ps-app .ps-original-back{background:#fff;color:#555;font-weight:900;font-size:18px;padding:10px 30px;border:0;box-shadow:0 4px #adafad;border-radius:15px;clip-path:polygon(12% 0,100% 0,100% 100%,12% 100%,0 50%);min-height:48px}.ps-neighbors{display:flex;gap:12px}.ps-app .ps-neighbors :is(button,a:where([data-route])){border:0;background:#fff9f2;color:#27bd78;border-radius:30px;width:44px;height:44px;padding:0;font-size:31px;font-weight:900;line-height:1}@media (min-width:1400px){.ps-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}@media (max-width:640px){.ps-app{padding:12px 10px 25px}.ps-list-header{gap:8px;padding:4px 2px 18px}.ps-app .ps-portal-back{font-size:11px;padding:7px 10px;margin-right:1px}.ps-moon{font-size:34px}.ps-list-header h1{font-size:19px}.ps-list-header p{font-size:8px}.ps-total{font-size:12px;padding:5px 12px}.ps-tools{padding:11px;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:17px}.ps-search{grid-column:1/-1}.ps-tools input,.ps-tools select{font-size:12px;height:39px;padding:7px}.ps-tools label{font-size:10px}.ps-result-line{padding:18px 3px 10px}.ps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px}.ps-app .ps-pokemon-card{border-radius:18px;padding:8px 6px 11px}.ps-card-art{height:100px}.ps-species{font-size:13px}.ps-nickname{font-size:9px;margin-bottom:7px}.ps-card-sp{font-size:9px}.ps-type,.ps-specialty{font-size:9px;padding:2px 5px}.ps-detail{padding:0 17px calc(112px + env(safe-area-inset-bottom))}.ps-profile{padding:17px 0 25px;gap:5px}.ps-profile-art{width:120px;height:135px}.ps-detail-sp{font-size:12px}.ps-detail-sp b{font-size:24px;margin-left:4px}.ps-profile-name{gap:6px}.ps-profile-name h1{font-size:18px}.ps-profile-name>span{font-size:13px}.ps-profile-info>p{font-size:10px}.ps-profile-badges .ps-specialty{font-size:9px}.ps-facts{padding:0}.ps-fact{grid-template-columns:34% minmax(0,1fr);gap:13px}.ps-pill{font-size:12px;padding:4px 2px}.ps-food-grid{gap:3px}.ps-food .ps-art{width:61px;height:61px}.ps-food-qty{font-size:10px;padding:0 7px}.ps-food-name{font-size:8px}.ps-slot-lock{font-size:9px}.ps-berry .ps-art{width:54px;height:54px}.ps-number-row{margin:28px 0}.ps-number-row strong{font-size:20px}.ps-skills{margin-top:52px}.ps-green-heading{font-size:17px;padding:6px 12px}.ps-main-skill{grid-template-columns:62px minmax(0,1fr);margin:35px 0 39px;min-height:120px}.ps-skill-copy{padding:13px 11px}.ps-skill-title{gap:7px;padding-bottom:9px}.ps-skill-title h3{font-size:14px}.ps-skill-title>span{font-size:15px}.ps-skill-copy>p{font-size:13px;margin-top:9px}.ps-skill-icon{font-size:28px}.ps-subskill-grid{gap:29px 16px;padding:0 3px}.ps-subskill{font-size:12px;min-height:56px;padding:8px 4px}.ps-sub-lock{font-size:9px;padding:2px 11px;top:-14px}.ps-nature-section{margin-top:65px}.ps-nature-row{margin-top:42px;gap:16px;grid-template-columns:43% minmax(0,1fr)}.ps-nature-name{font-size:17px;min-height:64px}.ps-nature-effects p{font-size:11px}.ps-detail-footer{padding:15px 22px calc(15px + env(safe-area-inset-bottom));min-height:90px}.ps-app .ps-original-back{font-size:16px;padding:9px 25px}.ps-app .ps-neighbors :is(button,a:where([data-route])){height:42px;width:42px}.ps-neighbors{gap:9px}}@media (max-width:350px){.ps-list-header h1{font-size:16px}.ps-moon{display:none}.ps-detail{padding-left:12px;padding-right:12px}.ps-profile-art{width:100px}.ps-profile-name h1{font-size:16px}.ps-number-row strong{font-size:18px}.ps-food .ps-art{height:50px}.ps-subskill{font-size:11px}.ps-skill-copy{padding:12px 8px}.ps-main-skill{grid-template-columns:48px minmax(0,1fr)}.ps-skill-title h3{font-size:13px}}@media (prefers-reduced-motion:reduce){.ps-pokemon-card{transition:none}.ps-pokemon-card:hover{transform:none}}a[data-route]{text-decoration:none;cursor:pointer;box-sizing:border-box}a[data-route]:focus-visible{outline:3px solid #48a69b;outline-offset:3px}
