/* Readable body copy and controls, including compact screens. */
html[data-design="2"] body{font-size:16px;line-height:1.6}
html[data-design="2"] :is(.rt-lead,.egg-intro p,.egg-finder p,.ec-event-copy p,.rt-panel,.rt-code-card p,.demo-dialog p){font-size:16px!important;line-height:1.65!important}
html[data-design="2"] :is(.rt-card-meta,.rt-card-copy>p,.rt-data-note,.rt-art-note,.rt-results,.demo-caught-card small,.demo-home-pet small,.demo-facilities small,.rt-code-card .rt-badge,.egg-card small,.egg-map-info,.egg-footnote,.ec-note){font-size:14px!important;line-height:1.55!important}
html[data-design="2"] :is(.hub-nav a,.hub-footer,.rt-toolbar label,.rt-tabs a,.rt-toolbar button,.rt-paging button,.rt-copy,.rt-caught-toggle,.rt-caught-form-toggle,.demo-context-tabs button,.rt-collection-controls button,.egg-controls label,.ec-toolbar label){font-size:15px!important;line-height:1.5!important}
html[data-design="2"] :is(.rt-toolbar input,.rt-toolbar select,.ec-toolbar input,.ec-toolbar select,.demo-caught-toolbar input,.profile-link-dialog input){font-size:16px!important;min-height:44px!important}
html[data-design="2"] :is(.rt-creature-card h3,.demo-home-pet b,.demo-caught-card b){font-size:16px!important;line-height:1.4!important}
html[data-design="2"] .rt-chips span{font-size:13px!important}
html[data-design="2"] .hub-account-actions :is(button,a),html[data-design="2"] .hub-utilities .hub-support{font-size:14px!important;min-height:44px!important;height:44px!important;max-height:none!important}
html[data-design="2"] .hub-account-actions [data-mode-toggle]{width:78px!important;min-width:78px!important}
html[data-design="2"] body.nightfall-homeland .planner-sidebar :is(label,summary,.hint,.goal-shared-note,button,select){font-size:14px!important;line-height:1.5!important}
html[data-design="2"] body.nightfall-homeland .shell .setup-mode-switch button{min-height:44px!important}
html[data-design="2"] :is(.et-key,.et-event-label,.et-banner-dates,.et-axis button,.ec-event-copy small){font-size:12px!important}
.egg-map-stage{transition:none!important}.egg-map-port{user-select:none;touch-action:none;overscroll-behavior:contain}
@media(max-width:750px){html[data-design="2"] :is(.rt-card-copy h3,.rt-creature-card h3){font-size:17px!important}html[data-design="2"] .rt-card-copy>p{min-height:42px}html[data-design="2"] .rt-card-meta{min-height:44px}html[data-design="2"] .hub-nav{gap:7px 10px!important}html[data-design="2"] .hub-nav a{padding:8px 5px!important;font-size:14px!important}html[data-design="2"] :is(.rt-tabs a,.rt-caught-toggle,.egg-tiers button,.demo-context-tabs button){min-height:44px!important;font-size:14px!important}.demo-home-grid{grid-template-columns:1fr!important}.demo-caught-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.demo-heading{padding:10px 0}.demo-identity{font-size:13px!important}.rt-dex-dialog .rt-appearance-choice span{font-size:12px!important}}
.profile-link-dialog{width:min(620px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:25px;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--text);font:16px/1.6 'Segoe UI',system-ui,sans-serif}.profile-link-dialog::backdrop{background:#000a;backdrop-filter:blur(4px)}.profile-link-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.profile-link-heading h2{font-size:26px;margin:8px 0}.profile-link-heading small{font-size:12px;letter-spacing:.05em;color:var(--muted)}.profile-link-dialog button,.profile-link-invite button{font:650 15px/1.5 inherit;font-family:inherit;font-size:15px;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--raised);color:var(--text);cursor:pointer}.profile-link-dialog [data-close]{width:44px;flex:none}.profile-link-dialog [data-verify]{background:var(--accent);color:var(--accent-contrast);border-color:var(--accent)}.profile-link-dialog button:disabled{opacity:.5;cursor:not-allowed}.profile-link-code{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px;border:2px solid var(--accent);border-radius:12px;background:var(--raised)}.profile-link-code strong{font:750 30px/1.2 monospace;letter-spacing:.12em;color:var(--text);user-select:all}.profile-link-dialog label{display:grid;gap:7px;font-weight:650}.profile-link-dialog input{background:var(--raised);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:11px;width:100%;box-sizing:border-box}.profile-link-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.profile-link-note{font-size:14px;color:var(--muted);line-height:1.55}.profile-link-invite{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--raised);margin:16px 0}.profile-link-invite h3{margin:0 0 8px}.profile-link-invite p{margin:0 0 12px}.profile-link-invite small{display:block;font-size:13px;line-height:1.5;color:var(--muted);margin-top:12px}
html[data-design="2"] .hub-utilities>#language-trigger{position:relative!important;inset:auto!important;align-self:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:44px!important;padding:7px 11px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--raised)!important;color:var(--text)!important;font:650 14px/1.4 'Segoe UI',sans-serif!important;box-shadow:none!important}.hub-utilities>#language-trigger img{width:28px!important;height:20px!important;object-fit:cover}.hub-utilities{flex-wrap:wrap!important}
