/* Pokémon homepage: shared brand, product frames and privacy preference. */
.pokemon-home{padding:24px 0 32px;color:var(--ink)}
.pokemon-home-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}
.pokemon-home-heading h1{font-size:1.7rem;line-height:1.25;letter-spacing:-.055em;margin:0}
.pokemon-home-heading p,.pokemon-home-top .pokemon-home-panel-head p{color:var(--muted);font-size:.8125rem;margin-top:5px}
.pokemon-home-heading .button{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;min-height:44px}
.pokemon-home .panel{margin:0;padding:22px;border-radius:var(--radius-panel)}
.pokemon-home-overview{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:22px;align-items:stretch;margin-bottom:22px}
.pokemon-home-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:28px;padding:32px 36px;margin:0;border-radius:var(--radius-panel);background:linear-gradient(110deg,#0c2f55,#186677);color:#fff;box-shadow:var(--shadow)}
.pokemon-home-hero::before{content:"";position:absolute;z-index:-1;inset:0 0 0 45%;background-image:radial-gradient(circle,rgba(48,172,167,.22) 1.5px,transparent 1.8px);background-size:12px 12px;mask-image:linear-gradient(90deg,transparent,#000 90%);pointer-events:none}
.pokemon-home-hero-main{min-width:0}.pokemon-home-hero-main>p{font-size:.875rem;color:#e1edf3}
.pokemon-home-total{display:flex;align-items:center;gap:18px;margin-top:8px;min-width:0}
.pokemon-home-total-value{font-size:clamp(2rem,3.3vw,3rem);line-height:1.2;font-weight:750;letter-spacing:-.055em;min-width:0;font-variant-numeric:tabular-nums}
.pokemon-home-total-value .wealth-number{white-space:nowrap}.pokemon-home-total-value .wealth-currency{font-size:.6em;white-space:nowrap;letter-spacing:-.02em}
.pokemon-home .dashboard-sensitive,.pokemon-home .motion-number{max-width:100%}.pokemon-home .motion-number{width:auto!important}
.pokemon-home-total .dashboard-value-eye{width:44px;min-width:44px;height:44px;padding:10px}
.pokemon-home-eur{font-size:1.075rem;color:#d3edf0;margin-top:7px;font-variant-numeric:tabular-nums}
.pokemon-home-saved{display:flex;align-items:center;gap:7px;color:#c8dce4;font-size:.725rem;margin-top:24px}.pokemon-home-saved .ui-icon{width:15px;height:15px}
.pokemon-home-hero-side{border-left:1px solid #ffffff28;padding-left:34px;display:grid;gap:28px;min-width:0}
.pokemon-home-hero-side>div{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}.pokemon-home-hero-side>div>span{font-size:.875rem;color:#dae8ed}
.pokemon-home-hero-side strong{font-size:1.125rem;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.pokemon-home-result{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;justify-content:flex-end}.pokemon-home-result small{font-size:.775rem;color:inherit}
.pokemon-home-result.positive{color:#9fe2b5}.pokemon-home-result.negative{color:#ffb7c4}.pokemon-home-result.neutral{color:#e4edf3}
.pokemon-home .pokemon-home-summary{display:grid;grid-template-rows:1fr 1fr 1.2fr;padding:10px 22px;min-width:0}
.pokemon-home-stat{padding:17px 0;display:flex;align-items:center;gap:13px;min-width:0;border-bottom:1px solid var(--line)}.pokemon-home-stat:last-child{border-bottom:0}
.pokemon-home-stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--soft);color:var(--brand-action);flex:none}.pokemon-home-stat-icon .ui-icon{width:20px;height:20px}
.pokemon-home-stat>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;flex:1;min-width:0}
.pokemon-home-stat h2{font-size:.775rem;font-weight:500;color:var(--muted);line-height:1.4;margin:0}.pokemon-home-stat p{display:flex;align-items:center;gap:6px;font-size:.875rem;margin:0}.pokemon-home-stat p strong{font-size:1.55rem;line-height:1.2;color:var(--ink)}.pokemon-home-stat small{font-size:.725rem}
.pokemon-home-cm:hover{text-decoration:none}.pokemon-home-cm>div{display:block}.pokemon-home-cm h2{margin-bottom:6px}.pokemon-home-cm p{font-size:.8125rem;flex-wrap:wrap}.pokemon-home-cm small{display:block;margin-top:5px}.pokemon-home-check{display:inline-block;width:7px;height:7px;border-radius:50%;flex:none}.pokemon-home-check.is-okay{background:var(--state-green)}.pokemon-home-check.is-unknown{background:var(--state-amber)}
.pokemon-home-middle{display:grid;grid-template-columns:minmax(0,2.35fr) minmax(260px,1fr);gap:22px;margin-bottom:22px}.pokemon-home-middle.no-tasks{grid-template-columns:minmax(0,1fr)}
.pokemon-home-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.pokemon-home-panel-head h2{font-size:1.0625rem;font-weight:650;line-height:1.4;letter-spacing:-.025em;margin:0}
.pokemon-home-periods{display:flex;gap:3px;flex-wrap:wrap}.pokemon-home-periods button{min-height:36px;border:0;background:transparent;color:var(--muted);font-size:.7rem;padding:7px 9px;border-radius:7px;white-space:nowrap;box-shadow:none}.pokemon-home-periods button[aria-pressed="true"]{background:var(--soft);color:var(--brand-action);font-weight:650}
.pokemon-home-chart{height:235px;margin-top:14px;min-width:0;overflow:hidden}.pokemon-home-chart-note{font-size:.75rem;color:var(--muted)}.pokemon-home-chart-note:empty{display:none}.pokemon-home-chart-legend{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:.7rem;margin-top:8px}.pokemon-home-chart-legend>span{width:7px;height:7px;border-radius:50%;background:var(--brand-accent)}
.pokemon-home-task-count{min-width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#fff4df;color:var(--state-amber);font-size:.7rem}
.pokemon-home-task{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--line)}.pokemon-home-task>span{width:30px;height:30px;display:grid;place-items:center;background:var(--soft);border-radius:7px;color:var(--brand-action);flex:none}.pokemon-home-task>div{flex:1;min-width:0}.pokemon-home-task strong{display:block;font-size:.8rem;font-weight:600}.pokemon-home-task small{display:block;font-size:.7rem;margin-top:3px}.pokemon-home-task>.ui-icon{width:14px;height:14px}.pokemon-home-task:hover{text-decoration:none}.pokemon-home-task-link{display:inline-flex;align-items:center;gap:7px;font-size:.75rem;margin-top:18px}.pokemon-home-task-link>.ui-icon{width:14px;height:14px}
.pokemon-home-top>.pokemon-home-panel-head>a{font-size:.8rem;display:inline-flex;align-items:center;gap:6px}.pokemon-home-top>.pokemon-home-panel-head>a>.ui-icon{width:14px;height:14px}
.pokemon-home .pokemon-home-top{padding:28px 28px 32px}
.pokemon-home .pokemon-home-products{gap:28px;margin-top:26px}
.pokemon-home-product{display:block;min-width:0;color:var(--ink)}.pokemon-home-product:hover,.pokemon-home-product:focus-visible{text-decoration:none;color:var(--ink)}
.pokemon-home-product .product-rank{border-color:#fff}
.pokemon-home-top .collection-identity{padding-top:16px;gap:6px}
.pokemon-home-top .collection-identity>strong{min-height:2.6em;width:100%;display:block}
.pokemon-home-top .preview-product-price>b{white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-dashboard-values="hidden"] .pokemon-home-chart .apexcharts-yaxis,html[data-dashboard-values="hidden"] .pokemon-home-chart .apexcharts-yaxistooltip{visibility:hidden}
/* Related details retain the same accessible monetary wrappers. */
.pokemon-privacy-control{display:inline-flex;float:right;margin:0 0 12px 12px}
.pokemon-privacy-control .dashboard-value-eye{color:var(--brand-action);background:var(--soft);border-color:var(--brand-border)}
html[data-dashboard-values="hidden"] .app-mode-pokemon .card-price-plot,
html[data-dashboard-values="hidden"] .app-mode-pokemon .card-detail pre{visibility:hidden}
html[data-dashboard-values="hidden"] .app-mode-pokemon input[data-czk-input],
html[data-dashboard-values="hidden"] .app-mode-pokemon select[name="supersedes_id"]{filter:blur(8px)}
.pokemon-home-total-value.pokemon-home-long-value{font-size:clamp(.9rem,2.5vw,2rem)}
@media(max-width:1250px){.pokemon-home-hero{grid-template-columns:minmax(0,1fr);padding:28px;gap:22px}.pokemon-home-hero-side{border-left:0;border-top:1px solid #ffffff28;padding:18px 0 0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.pokemon-home-hero-side>div{display:block}.pokemon-home-hero-side strong{display:block;margin-top:6px}.pokemon-home-result{justify-content:flex-start}.pokemon-home-hero .pokemon-home-result{display:flex}}
@media(max-width:1100px){.pokemon-home-middle{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.pokemon-home-panel-head{flex-wrap:wrap}.pokemon-home .pokemon-home-summary{padding-inline:18px}}
@media(max-width:800px){.pokemon-home-overview{grid-template-columns:minmax(0,1fr)}.pokemon-home-middle{grid-template-columns:minmax(0,1fr)}.pokemon-home-task{padding:12px 0}.pokemon-home-total-value{font-size:2.4rem}.pokemon-home-saved{margin-top:16px}.pokemon-home .pokemon-home-summary{grid-template-rows:auto;padding-block:4px}}
@media(max-width:480px){.pokemon-home{padding-top:20px}.pokemon-home-heading{align-items:flex-start;gap:12px}.pokemon-home-heading h1{font-size:1.35rem;max-width:12rem}.pokemon-home-heading .button{padding:10px;font-size:.725rem}.pokemon-home-heading .button>.ui-icon{width:16px}.pokemon-home-heading p{font-size:.725rem}.pokemon-home-hero{padding:22px 20px;border-radius:18px}.pokemon-home-total{gap:10px}.pokemon-home-total-value{font-size:clamp(1.35rem,7.2vw,2.4rem)}.pokemon-home-total .dashboard-value-eye{min-width:44px;width:44px;height:44px}.pokemon-home-hero-side{grid-template-columns:1fr;gap:18px}.pokemon-home-hero-side>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.pokemon-home-hero-side strong{font-size:1rem;margin-top:0}.pokemon-home-stat{gap:10px;padding-block:14px}.pokemon-home-stat-icon{width:32px;height:32px;border-radius:9px}.pokemon-home-stat-icon .ui-icon{width:18px;height:18px}.pokemon-home-stat p strong{font-size:1.3rem}.pokemon-home .panel{padding:18px 16px}.pokemon-home .pokemon-home-summary{padding:4px 16px}.pokemon-home .pokemon-home-top{padding:22px 16px 28px}.pokemon-home .pokemon-home-products{gap:22px 14px}.pokemon-home-panel-head h2{font-size:1rem}.pokemon-home-periods button{min-height:44px;padding:8px}.pokemon-home-chart{height:220px}.pokemon-home-top>.pokemon-home-panel-head>a{font-size:.7rem}}

@media(pointer:coarse){.pokemon-home-periods button{min-height:44px;min-width:44px}}
html[data-dashboard-values="hidden"] .pokemon-home-chart .apexcharts-tooltip{visibility:hidden}

/* Collection-only palette. Original brand tokens remain intact, particularly inside
   Nejcennější kousky; semantic colours and the full financial mode are untouched. */
body.app-mode-pokemon{--pk-paper:#f5f4fa;--pk-ink:#21315c;--pk-muted:#58617b;--pk-line:#eae7f4;--pk-action:#6956af;--pk-yellow:#ffe176;--ink:var(--pk-ink);--muted:var(--pk-muted);--line:var(--pk-line);--paper:var(--pk-paper);background:var(--pk-paper);color:var(--pk-ink)}
.app-mode-pokemon .pokemon-home{color:var(--pk-ink)}
.app-mode-pokemon :is(h1,h2,h3):not(.pokemon-home-top *){color:var(--pk-ink)}
.app-mode-pokemon :is(a,.text-link,.text-button):not(.pokemon-home-top *):not(.button):not(.danger):not(.cancel):not([aria-current=page]){color:var(--pk-action)}
.app-mode-pokemon .panel:not(.pokemon-home-top):not(.pokemon-home-top *){background:#fff;border-color:var(--pk-line);box-shadow:0 .25rem 1.5rem rgb(61 43 108 / .07)}
.app-mode-pokemon .button.primary:not(.pokemon-home-top *):not(.danger):not(.cancel){background:var(--pk-yellow);border-color:#f2d369;color:#443c27}
.app-mode-pokemon .button.primary:not(.pokemon-home-top *):not(.danger):not(.cancel):hover{background:#ffda58;border-color:#e1bd4f;color:#443c27}
.app-mode-pokemon .button.secondary:not(.pokemon-home-top *):not(.danger):not(.cancel){background:#fff;border-color:var(--pk-action);color:var(--pk-action)}
.app-mode-pokemon .button.secondary:not(.pokemon-home-top *):not(.danger):not(.cancel):hover{background:#f1edfc;color:#51418b}
.app-mode-pokemon :focus-visible:not(.pokemon-home-top *){outline-color:var(--pk-action);box-shadow:0 0 0 6px rgb(105 86 175 / .15)}
.app-mode-pokemon :is(.danger,.cancel):focus-visible{outline-color:var(--state-red);box-shadow:0 0 0 6px var(--state-red-soft)}
.app-mode-pokemon :is(input:not([type=checkbox]),select,textarea){border-color:#b4a8d6;color:var(--pk-ink)}
.app-mode-pokemon :is(input[readonly],input[aria-disabled=true]){background:var(--pk-paper)}
.app-mode-pokemon .nav a[aria-current=page]{background:#fff0b5;color:#443c27}
.app-mode-pokemon .pokemon-home-hero{background:linear-gradient(118deg,#344b9e 0%,#4e51b5 50%,#7c59c1 100%)}
.app-mode-pokemon .pokemon-home-hero::before{background-image:radial-gradient(circle,rgba(230,218,255,.25) 1.5px,transparent 1.8px)}
.app-mode-pokemon .pokemon-home-hero :is(.pokemon-home-hero-main>p,.pokemon-home-eur,.pokemon-home-saved,.pokemon-home-hero-side>div>span){color:#f3efff}
.app-mode-pokemon .pokemon-home-result.positive{color:#d2ffdd}
.app-mode-pokemon .pokemon-home-result.negative{color:#ffeef2}
.app-mode-pokemon .tabs a.selected{background:var(--pk-action);color:#fff}
.app-mode-pokemon .pokemon-home-stat-icon{background:#f1edfc;color:var(--pk-action)}
.app-mode-pokemon .pokemon-home-stat:nth-child(1) .pokemon-home-stat-icon{background:#fff0ba;color:#6b5620}
.app-mode-pokemon .pokemon-home-stat:nth-child(2) .pokemon-home-stat-icon{background:#fce6e5;color:#82504d}
.app-mode-pokemon .pokemon-home-stat:nth-child(3) .pokemon-home-stat-icon{background:#eff8f3;color:#35634c}
.app-mode-pokemon .pokemon-home-periods button[aria-pressed=true]{background:#f1edfc;color:#51418b}
.app-mode-pokemon .pokemon-home-task>span{background:#f1edfc;color:var(--pk-action)}
.app-mode-pokemon [data-collection-content]>.pagination{margin-top:var(--space-24)}
/* Protected section: only the non-interactive top decoration is new. Restore
   inherited ink explicitly; no descendant, geometry or existing token changes. */
.app-mode-pokemon .pokemon-home-top{--ink:var(--rk-text);--muted:var(--rk-muted);--line:var(--rk-line);--paper:var(--rk-bg);position:relative;color:var(--ink)}
.app-mode-pokemon .pokemon-home-top::before{content:"";position:absolute;left:0;right:0;top:0;height:var(--radius-panel);border-radius:var(--radius-panel) var(--radius-panel) 0 0;background:linear-gradient(90deg,#ffd96c,#f4b8bc,#baa7e7,#a7d7d9);clip-path:inset(0 0 calc(100% - 4px) 0);pointer-events:none}

/* Only a rendered snapshot warning separates itself from the existing hero row. */
.pokemon-home>.pokemon-snapshot-alert{margin-bottom:var(--space-24)}
