/* Match the native five-tab hierarchy, system typography and berry controls. */
:root{--accent:#c93c65;--deep:#a72f58;--soft:#f9e8ed;--ink:#1c1c1e;--muted:#68666c;--line:#e0dde2;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light dark}
[hidden]{display:none!important}body{background:#f2f2f7;color:var(--ink)}h1,h2,h3{font-family:inherit}.primary{background:#b72f59;color:#fff;border-radius:13px;min-height:50px;font-size:16px}.secondary{background:var(--soft);color:var(--accent);border:0;border-radius:13px;min-height:48px;font-size:16px}.icon-button{min-width:44px;min-height:44px}.brand-mark{object-fit:contain;border-radius:6px}.workspace-brand .brand-mark{height:38px;width:38px}.desktop-navigation{gap:26px}.desktop-navigation a{min-width:58px;justify-content:center}.workspace-header{gap:40px}.header-profile{display:grid;place-items:center;text-decoration:none;color:var(--muted);border:0;background:transparent}.library-header{align-items:center;display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.library-header p{color:var(--muted);font-size:14px;margin-top:8px}.library-header .icon-button{display:grid;place-items:center;text-decoration:none;color:var(--accent);background:transparent;border:0}.library-account{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;color:var(--muted);font-size:14px}.library-account .secondary{font-size:14px;min-height:44px}.library-filters{margin:16px 0 22px}.personal-hero h1{font-size:28px}.personal-counts{border:0}.profile-privacy{display:grid;gap:8px;margin-top:28px;padding:20px 0}.profile-privacy>a,.profile-privacy>.text-button{justify-content:flex-start;display:flex;align-items:center;min-height:44px;font-size:15px}.profile-ai-setting{display:flex;align-items:center;gap:20px;margin-bottom:8px}.profile-ai-setting>div{flex:1}.profile-ai-setting h2{font-size:16px;font-weight:500}.profile-ai-setting p{font-size:13px;color:var(--muted);line-height:1.7;margin-top:8px}.consent-switch{width:51px;height:31px;border-radius:18px;background:#d4d1d7;position:relative;padding:3px;flex:none;min-width:51px;touch-action:manipulation}.consent-switch:before{content:'';position:absolute;inset:-7px -4px}.consent-switch>span{display:block;background:white;width:25px;height:25px;border-radius:50%;box-shadow:0 1px 4px #0003;transition:transform .15s}.consent-switch[aria-checked=true]{background:#b72f59}.consent-switch[aria-checked=true]>span{transform:translateX(20px)}.danger-text{color:#b72739}.profile-privacy .danger-text{padding-left:0}.account-delete-explanation p{line-height:1.8;margin:18px 0;font-size:15px}.account-delete-explanation h3{font-size:21px}.account-consent input{flex:none}.delete-final-confirm>p{line-height:1.8}.ai-consent-dialog{padding:0;overflow:hidden;max-height:calc(100dvh - 30px);width:min(640px,calc(100vw - 24px))}.ai-consent-dialog[open]{display:flex;flex-direction:column}.ai-consent-dialog .dialog-head{padding:18px 22px;margin:0;position:static;flex:none}.ai-consent-dialog .dialog-body{overflow:auto;padding:22px}.ai-consent-dialog .dialog-body h3{font-size:22px;line-height:1.5;margin-bottom:20px}.ai-consent-dialog .dialog-body p{font-size:16px;line-height:1.8;margin:16px 0}.ai-consent-dialog .dialog-body .muted{font-size:14px}.ai-consent-dialog .dialog-body a{display:inline-flex;align-items:center;min-height:44px}.consent-footer{padding:12px 22px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;flex:none}.cooking-root>.plan-controls{margin-top:24px}.cooking-root .section-heading h2{font-size:19px}.cooking-meal-dishes{display:grid;gap:12px;margin-top:20px}.cooking-meal-dishes>a{display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none;border:1px solid var(--line);padding:12px;background:white;border-radius:13px}.cooking-meal-dishes .cover{height:65px;width:75px;aspect-ratio:auto;border-radius:9px;flex:none}.import-content>.import-method{margin:26px 0;padding:0 0 26px;border-bottom:1px solid var(--line)}.import-method>h2{font-size:19px;margin-bottom:14px}.import-method>p{color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:14px}.import-method>#link-form{background:transparent;border:0;padding:0}.import-method .feed-search-row{max-width:none}.import-method .discovery{margin:0}.import-method .feed-search{max-width:none}.import-method .feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.import-method .form-field{font-size:14px}.import-method .feed-section-title{font-size:18px}.import-method .feed-title h2{font-size:15px}.import-content .compact-page-title{margin-bottom:6px}.import-content>.muted{margin-bottom:20px}.feed-photo{aspect-ratio:1.12}.feed-grid .feed-card-copy{padding:12px}.feed-title h2{font-size:15px;line-height:1.65}.feed-card .feed-import{background:var(--soft);color:var(--accent);border:0;min-height:44px;font-size:13px;border-radius:9px}.feed-card .feed-import.is-saved{background:transparent;color:var(--muted)}.feed-author>span:nth-child(2){font-size:13px}.feed-author .feed-published{display:none}.feed-search-row{max-width:none;display:flex;gap:6px}.feed-search{flex:1;border:1px solid var(--line);padding-right:4px;min-height:48px}.feed-search input{min-width:0;min-height:48px;font-size:16px}.feed-search>button{min-height:44px;min-width:52px;color:var(--accent);font-size:15px;font-weight:600;flex:none}.feed-search>button:last-child{border-left:1px solid var(--line)}.feed-search>button.feed-search-clear{font-size:24px;min-width:36px;color:var(--muted);border:0}.search-platforms{display:flex;gap:4px;border-radius:10px;padding:4px;background:#e6e5ea;margin:14px 0 18px}.search-platforms>button{flex:1;min-height:40px;font-size:14px;border-radius:7px}.search-platforms>button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #0001}.search-section-title{font-size:19px;margin:28px 0 14px}.feed-channel-bar{display:flex;gap:12px;align-items:center;margin:16px 0}.feed-platforms{background:#e6e5ea;border:0;border-radius:10px;display:flex;flex:1;padding:3px;gap:0;margin:0!important}.feed-platforms>button{flex:1;border:0;padding:8px 10px;min-height:38px;font-size:15px;border-radius:8px;font-weight:500;color:var(--ink)}.feed-platforms>button[aria-pressed=true]{border:0;background:white;color:var(--ink);box-shadow:0 1px 4px #0001}.feed-platform-picker{flex:none}.feed-platform-picker>summary{display:flex;gap:6px;align-items:center;min-height:44px;color:var(--accent);font-size:14px;padding:0 10px}.feed-platform-picker>summary .icon{height:21px;width:21px}.feed-platform-picker>div{min-width:200px}.feed-platform-picker hr{border:0;border-top:1px solid var(--line);margin:6px 0}.active-feed-filters{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:var(--muted);margin-bottom:14px}.feed-update-meta{display:none}.follow-author-info small{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-top:4px}.creator-category{color:var(--accent)!important}.follow-author-row .feed-avatar{width:48px;height:48px}.feed-profile .feed-avatar{width:60px;height:60px}.feed-profile>div p{font-size:14px;margin-top:8px;color:var(--muted);line-height:1.8}.feed-profile h1{font-size:25px}.creator-profile-actions{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}.creator-profile-actions .follow-button,.creator-profile-actions .secondary{flex:1;min-height:44px;font-size:15px;text-align:center;display:flex;align-items:center;justify-content:center;text-decoration:none;white-space:normal}.discovery .follow-button{min-height:44px}.feed-grid{gap:18px 14px}.feed-author>.icon{display:none}.feed-card-copy>.feed-title{color:var(--ink)}.feed-note{line-height:1.8}.brand-signature .brand-mark{width:46px;height:46px}
@media(min-width:701px){.workspace-header{background:#fff}.container{padding-top:28px}.discovery,.cooking-root{max-width:1000px;margin:auto}.library-search{max-width:none}.recipe-card .cover{aspect-ratio:1.12}.recipe-grid{gap:24px}.feed-search-row{max-width:760px}.profile-privacy{max-width:680px}.cooking-root .plan-controls{max-width:720px}}
@media(max-width:850px) and (min-width:701px){.workspace-header{gap:16px}.desktop-navigation{gap:12px}.workspace-brand>span{display:none}.desktop-navigation a{min-width:50px}}
@media(max-width:700px){.workspace-header{display:none}.container{padding:20px 20px calc(106px + env(safe-area-inset-bottom));min-height:100dvh}.workspace-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;min-height:64px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#f9f9fbf2;backdrop-filter:blur(18px)}.workspace-mobile-nav>a{font-size:11px;min-height:50px;gap:4px;min-width:0;line-height:1.2}.workspace-mobile-nav .icon{width:23px;height:23px}.workspace-mobile-nav>a.navigation-import .icon{width:29px;height:29px;border-radius:9px;background:var(--soft);padding:3px}.workspace-mobile-nav a[aria-current]{color:var(--accent)}.library-header h1,.compact-page-title,.page-heading h1{font-size:27px;font-weight:650}.library-header p{font-size:13px;line-height:1.8}.library-header{margin-bottom:12px}.library-account{font-size:13px;margin-bottom:18px}.library-filters{margin-bottom:18px}.feed-grid,.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.feed-photo{aspect-ratio:1.12}.feed-card-copy{padding:11px!important}.feed-title h2{font-size:14px;line-height:1.65;min-height:3.3em}.feed-card .feed-import{font-size:12px;padding:7px 4px}.feed-author>span:nth-child(2){font-size:12px}.feed-card{border-radius:14px}.feed-platform{font-size:10px;left:8px;bottom:8px}.recipe-card h3{font-size:16px}.recipe-card p{font-size:12px}.recipe-card .cover{aspect-ratio:1.12}.personal-hero h1{font-size:26px}.personal-hero{margin-top:12px}.import-content>.muted{font-size:14px}.import-content .feed-grid{gap:16px 12px}.import-method .feed-search input{font-size:15px}.feed-platform-picker>summary>span{display:none}.feed-platform-picker>summary{padding:0;min-width:44px;justify-content:center}.feed-channel-bar{gap:10px}.feed-search-row{gap:2px}.feed-search-row>.icon-button{min-width:36px;width:36px;border:0;background:transparent}.feed-search{gap:6px;padding-left:10px}.feed-search input{font-size:15px}.feed-search>button{min-width:47px;font-size:14px}.feed-profile{gap:12px}.follow-author-info>span{min-width:0}.follow-author-info b{font-size:16px;overflow-wrap:anywhere}.follow-author-row{gap:10px}.follow-author-row .follow-button{font-size:13px;padding:9px 12px}.profile-privacy a{font-size:14px}.ai-consent-dialog .dialog-body{padding:20px}.ai-consent-dialog .dialog-body h3{font-size:21px}.ai-consent-dialog .dialog-head{padding:15px 20px}.profile-ai-setting{gap:14px}.cooking-root .section-heading h2{font-size:18px}.empty-state{padding:30px 18px}.empty-state p{font-size:14px}.empty-state h2{font-size:22px}.personal-counts span{font-size:12px}.job-row .secondary{font-size:12px;min-height:44px}.profile-privacy .text-button{font-size:14px}}
@media(max-width:359px){.container{padding-left:14px;padding-right:14px}.feed-grid,.recipe-grid{gap:16px 10px}.feed-card-copy{padding:9px!important}.feed-card .feed-import{font-size:11px}.feed-search input{font-size:14px}.feed-search>button{min-width:44px}}
@media(prefers-color-scheme:dark){:root{--ink:#f4f2f5;--muted:#aea8b1;--line:#48454c;--soft:#40252f;--accent:#ff8cad}body{background:#1c1c1e}.workspace-header,.feed-card,.empty-state,.menu,.feed-search,.cooking-meal-dishes>a,dialog,.dialog-head,.consent-footer,.profile-privacy .consent-footer,.account-popover{background:#2c2c2e;color:var(--ink)}.workspace-mobile-nav{background:#252527f2}.feed-platforms,.search-platforms{background:#343438}.feed-platforms>button[aria-pressed=true],.search-platforms>button[aria-pressed=true]{background:#55545b;color:#fff}.feed-card .feed-import.is-saved{color:var(--muted)}.account-entry,.account-consent,.personal-hero p,.library-header p,.profile-ai-setting p{color:var(--muted)}.feed-platform-picker>div,.account-dropdown .account-popover{background:#2c2c2e}.feed-profile>div p,.follow-author-info small{color:var(--muted)}input,textarea,select{color:var(--ink);background:#2c2c2e;border-color:var(--line)}.recipe-card p,.recipe-meta,.ingredient>b,.step-row p{color:var(--muted)}.brand-signature strong{color:var(--accent)}.brand-signature p{color:var(--muted)}}
@media print{.workspace-mobile-nav,.profile-privacy{display:none!important}}
.feed-partial-warning{font-size:14px;color:var(--muted);margin-bottom:16px}.feed-partial-warning summary{display:list-item;min-height:44px;padding:10px 0}.feed-partial-warning p{font-size:13px;line-height:1.8;padding-bottom:12px}button:active,a:active{opacity:.75}.feed-search:has(input:not(:placeholder-shown))>.icon{display:none}
.profile-back{display:inline-flex;align-items:center;gap:6px;text-decoration:none;padding-left:0;margin:0 0 16px}.single-cook-completed{display:grid;place-items:center}.single-cook-completed .done-panel{width:min(100%,480px);margin:auto}.single-cook-completed h1{font-family:inherit;font-size:30px;line-height:1.5;margin:16px 0}.single-cook-completed .done-panel h2{font-size:21px;font-family:inherit}.single-cook-completed .done-panel>p{margin-bottom:28px}.cook-top .icon-button{min-width:44px;min-height:44px}.cook-navigation>button{min-height:50px}.single-sync-error{margin:16px 0}
@media(prefers-color-scheme:dark){
 :root{--surface:#2c2c2e;--deep:#ff8cad;background:#1c1c1e;color:var(--ink)}
 .search,.search input,.library-favorite,.account-phone,.menu-search,.panel,.timer,.source-card,.ingredient-list,.stepper,.ingredient-edit-row,.import-option,.creator-card,.work-card,.shopping-group,.date-calendar,.date-strip .date-chip,.meal-options>button,.buy-meal,.day-button,.recipe-extra,.editor-reference,.review-source,.step-settings-body,.recipe-source-menu>div,.reader-dishes button,.recipe-more[open],.recipe-workspace .recipe-action-dock,.reader-grid>.reader-actions,.reader-actions,.date-shortcuts .date-quick,.screenshot-upload,.upload-box,.upload-box input,.ocr-preview,.meal-order-invite,.card-deck-front,.card-deck-back,.dish-browser-dialog .work-dish-switcher,.dish-browser-dialog .dialog-header,.dish-choice{background:var(--surface);color:var(--ink);border-color:var(--line)}
 .food-placeholder{background:radial-gradient(ellipse at center,#343237 0 34%,#55434c 34.5% 36%,#383038 36.5% 42%,#302a31 42.5%);color:#b6849b}
 .search input::placeholder,input::placeholder,textarea::placeholder{color:#a59da8;opacity:1}
 .search>.icon,.library-favorite,.library-filters small,.form-field,.ingredient-amount,.review-origin,.review-origin a,.recipe-review .edit-step .edit-step-instruction,.ingredient-note,.equipment-caution,.recipe-review .ingredient-amount textarea,.ingredient-edit-row>.ingredient-name{color:var(--muted)}
 .date-strip .date-chip b,.week-day h3 b,.step-number,.stepper b,.recipe-review .review-name,.recipe-review .edit-step .edit-step-title{color:var(--ink)}
 .editor-shortcuts,.wide-dialog .editor-footer,.editor-footer,.schedule-footer,.buy-picker-footer,.menu-footer,.cook-navigation{background:#252527;border-color:var(--line)}
 .editor-shortcuts button,.personal-avatar,.creator-avatar,.feed-avatar,.current-ingredients,.ingredient-group-title,.source-fields,.pill,.pill.neutral{background:#3c2d35;color:var(--muted)}
 .date-strip .date-chip.selected,.meal-options>button.selected,.day-button.active,.date-shortcuts .date-quick.selected,.buy-meal.selected{background:var(--soft);color:var(--accent);border-color:var(--accent)}
 .ingredient-group-title{color:var(--ink)}
 .recipe-review textarea:hover,.recipe-review textarea:focus,.recipe-review .step-inline-timer input:focus,.recipe-review .equipment-section textarea:focus{background:#3e333b;color:var(--ink)}
 .notice{background:#302b32;color:var(--ink);border-color:#705163}.notice.warning,.shopping-item.uncertain{background:#3a3324;color:#f3d39b;border-color:#8f7446}.notice.error{background:#3f292b;color:#ffb4ab;border-color:#a36c67}.inline-error,.error-text,.danger-text{color:#ffb4ab}.danger{background:#4b2d32;color:#ffb4ab}
 .pill.warning{background:#493c25;color:#f3d39b}.quiet-button,.shopping-toolbar .secondary,.plan-bottom .secondary,.icon-button,.detail-image>.icon-button{background:var(--surface);color:var(--accent);border-color:var(--line)}
 .meal-view{background:#343438}.meal-view button[aria-pressed=true]{background:#55545b;color:#fff}.week-board{background:var(--surface);border-color:var(--line)}.week-day>h3{background:#343438}.week-day.selected>h3{background:var(--soft);color:var(--accent)}
 .current-ingredients p,.current-ingredients small,.cook-top,.cook-bottom>p,.cook-gesture-hint,.recipe-meta,.ingredient>b,.recipe-author-identity small,.shopping-footnote,.personal-counts span{color:var(--muted)}
 .timer .timer-clock,.personal-counts b,.card-save,.card-save.saved,.library-favorite:has(input:checked){color:var(--accent)}
 .recipe-action-dock h2,.reader-actions h2,.recipe-author-identity b,.menu-dish-copy b,.menu-group-head b{color:var(--ink)}
}
.recipe-card-cover{position:relative;display:block}.recipe-cover-note{position:absolute;bottom:8px;left:8px;background:var(--surface);color:var(--muted);font-size:12px;padding:5px 8px;border-radius:18px}.recipe-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;margin-top:10px}.recipe-card-heading .recipe-open{flex:1;min-width:0}.recipe-card-heading h3{margin:0;font-size:16px;line-height:1.65}.recipe-card .card-save{position:static;min-width:44px;min-height:44px;display:grid;place-items:center;flex:none;padding:10px;margin-top:-6px}.recipe-card p{margin-top:7px;color:var(--muted)}.recipe-card .pill{margin-top:10px}.food-placeholder{background:var(--soft)}.food-placeholder>.brand-mark{width:32px;height:32px}.library-filters{display:block}.library-favorite{display:flex;justify-content:space-between;gap:12px;width:100%;background:transparent;border:0;border-radius:0;padding:0;min-height:44px;font-size:16px;color:var(--ink)}.library-favorite>input{position:absolute;opacity:0;width:1px;height:1px}.library-switch{position:relative;display:block;width:51px;height:31px;background:#c5c4c9;border-radius:20px;flex:none}.library-switch:before{content:'';position:absolute;left:3px;top:3px;width:25px;height:25px;background:white;border-radius:50%;transition:transform .15s}.library-favorite:has(input:checked){background:transparent;color:var(--ink)}.library-favorite input:checked+.library-switch{background:#b72f59}.library-favorite input:checked+.library-switch:before{transform:translateX(20px)}.library-header h1{font-size:20px!important;font-weight:600}.ingredient-edit-options{grid-column:1/-1;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.ingredient-edit-options>label:first-child{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:13px}.ingredient-edit-options select{padding:6px 10px;min-height:44px;font-size:14px;width:auto}.ingredient-uncertain{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px}.ingredient-edit-options>small{display:block;flex-basis:100%;font-size:12px;line-height:1.7;color:var(--muted)}
@media(max-width:700px){.recipe-card-heading h3{font-size:15px}.recipe-card p{font-size:12px}.recipe-card-cover .cover{aspect-ratio:1.22}.workspace-mobile-nav{border:1px solid var(--line);border-radius:40px;width:calc(100% - 24px);max-width:640px;bottom:max(10px,env(safe-area-inset-bottom));padding:6px;box-shadow:0 5px 30px #0001}.workspace-mobile-nav>a{border-radius:32px}.workspace-mobile-nav>a[aria-current]{background:#e7e6eb}.workspace-mobile-nav>a.navigation-import .icon{background:transparent;padding:0;width:26px;height:26px}}
@media(prefers-color-scheme:dark){.food-placeholder{background:#382a32}.library-favorite,.library-favorite:has(input:checked){color:var(--ink);background:transparent}.workspace-mobile-nav>a[aria-current]{background:#414046}.recipe-card-cover .recipe-cover-note{background:var(--surface)}}

/* A photo-led tutorial gallery, with compact author and collection actions. */
.feed-grid{column-gap:22px;row-gap:28px;margin-top:16px}
.feed-grid>.feed-card{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.feed-grid .feed-photo{aspect-ratio:4/3;border-radius:14px;isolation:isolate;background:var(--line)}
.feed-grid .feed-photo img{transition:transform .2s ease}
.feed-grid .feed-platform{top:10px;bottom:auto;left:10px;padding:4px 8px;border-radius:6px;background:#ffffffed;color:#454047;font-size:11px;line-height:1.3;backdrop-filter:blur(8px)}
.feed-grid .feed-card-copy{padding:12px 0 0!important}
.feed-grid .feed-title h2{font-size:16px;font-weight:600;line-height:1.55;min-height:3.1em;letter-spacing:.01em}
.feed-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.feed-card-footer>.feed-author{width:auto;flex:1;min-width:0;min-height:44px;padding:6px 0;gap:7px}
.feed-card-footer .feed-avatar{width:26px;height:26px;flex:none;font-size:12px}
.feed-card-footer>.feed-author>span:nth-child(2){font-size:12px;line-height:1.5}
.feed-grid .feed-import-compact{flex:none;width:auto;min-width:96px;min-height:44px;padding:9px 12px;border:1px solid #dbbeca;border-radius:10px;background:transparent;color:var(--deep);font-size:12px;font-weight:550;line-height:1.4;white-space:nowrap;transition:background-color .16s,border-color .16s,color .16s}
.feed-grid .feed-import-compact>.icon{height:16px;width:16px}
.feed-grid .feed-import-compact:hover:not(:disabled){background:var(--soft);border-color:var(--accent);filter:none}
.feed-grid .feed-import-compact.is-saved{background:#edf3ee;border-color:#d6e2d8;color:#42614d}
.feed-grid .feed-import-compact.is-saved:hover{background:#e2ece4;border-color:#aebfb1}
.feed-grid .feed-import-compact:disabled{opacity:1;background:var(--soft);color:var(--deep);border-color:var(--line);cursor:wait}
.feed-grid .feed-card-error{font-size:12px;margin-top:6px}
.feed-footer{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:26px;padding:18px 0 2px;border-top:1px solid var(--line)}
.feed-footer.has-status{justify-content:space-between}
.feed-footer-note,.feed-footer>.feed-end{margin:0;padding:0;color:var(--muted);font-size:13px;line-height:1.7;text-align:left}
.feed-footer>.feed-partial-warning{flex:1;margin:0;min-width:0;font-size:13px}
.feed-footer .feed-partial-warning summary{width:fit-content;min-height:44px;padding:11px 0;cursor:pointer}
.feed-footer .feed-partial-warning p{padding:0 0 8px;max-width:520px;font-size:13px;line-height:1.7}
.feed-footer>.feed-more{flex:none;min-height:46px;margin:0;padding:10px 20px;gap:10px;border:1px solid var(--line);border-radius:11px;background:transparent;color:var(--ink);font-size:14px;font-weight:500}
.feed-footer>.feed-more:hover:not(:disabled){background:var(--surface);border-color:var(--muted);filter:none}
.feed-footer>.feed-more .icon{height:17px;width:17px;transform:rotate(90deg)}
.feed-footer>.feed-more:disabled .icon{transform:none}
@media(max-width:700px){
  .feed-grid{column-gap:14px;row-gap:22px}
  .feed-grid .feed-card-copy{padding-top:10px!important}
  .feed-grid .feed-title h2{font-size:14px;line-height:1.6;min-height:3.2em}
  .feed-grid .feed-platform{top:8px;left:8px;font-size:10px}
  .feed-card-footer{gap:8px;margin-top:6px}
  .feed-card-footer .feed-avatar{width:23px;height:23px;font-size:11px}
  .feed-grid .feed-import-compact{min-width:88px;padding:8px 10px}
  .feed-footer{margin-top:22px;padding-top:14px;gap:12px}
}
@media(max-width:519px){
  .feed-card-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .feed-card-footer>.feed-author{width:100%;min-height:44px;padding:5px 0}
  .feed-grid .feed-import-compact{width:100%;min-width:0}
  .feed-footer.has-status{align-items:flex-start;flex-direction:column;gap:8px}
  .feed-footer>.feed-more{align-self:center;min-width:180px}
}
@media(prefers-color-scheme:dark){
  .feed-grid .feed-platform{background:#242126de;color:#f4eef1}
  .feed-grid .feed-import-compact{border-color:#775260;color:#f0acc2}
  .feed-grid .feed-import-compact:hover:not(:disabled){border-color:#df8faa;background:#3e2933}
  .feed-grid .feed-import-compact.is-saved{background:#243b2e;border-color:#435e4b;color:#b2d5b9}
  .feed-grid .feed-import-compact.is-saved:hover{background:#2d4937;border-color:#74967d}
  .feed-grid .feed-import-compact:disabled{background:#3e2933;color:#f0acc2}
}
@media(prefers-reduced-motion:reduce){
  .feed-grid .feed-photo img,.feed-grid .feed-import-compact{transition:none}
  .feed-grid .feed-photo:hover img{transform:none}
}

/* Pagination is automatic; keyboard and older browsers retain an explicit fallback. */
.feed-pagination{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;text-align:center}
.feed-pagination-status,.feed-pagination.is-paused>p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.feed-pagination.is-paused{flex-wrap:wrap}
.feed-pagination .feed-more{margin:0}
.feed-pagination .feed-more-fallback:not(:focus){position:absolute;width:1px;min-width:0;height:1px;min-height:0;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.feed-pagination .feed-more-fallback:focus{position:relative;clip-path:none}
@media(max-width:519px){.feed-pagination{width:100%}.feed-pagination.is-paused{flex-direction:column}}
