/* AniTsugi 6.3 — visual system. No data or behavior changes. */
:root{--a63-surface:#101216;--a63-raised:#171a20;--a63-hover:#20242b;--a63-muted:#a3a8b3;--a63-rule:#ffffff0c;--a63-blue:#21b5f5}
body{--bg:#000;--panel:#101216;--panel2:#171a20;--line:#ffffff12;--accent:var(--a63-blue);--accent2:#1697d5;--text:#f5f6f8;--muted:var(--a63-muted);--a62-border:transparent;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#000;color:var(--text)}
body .at60-wrap,body .at60-nav-inner{width:min(1440px,100%);padding-inline:clamp(16px,3vw,42px)}
body .at60-wrap{padding-bottom:36px}
body :where(.at60-wrap,.tsugi-shell){line-height:1.55}
body .at60-nav{background:#08090b;border-bottom:1px solid #ffffff0c;box-shadow:none}
body .at60-nav-inner{gap:clamp(10px,1.6vw,24px);min-height:68px}
body .at60-brand{font-size:26px;font-weight:800;letter-spacing:-1.15px;gap:0}
body .at60-nav nav{gap:2px;min-width:0}
body .at60-nav nav a{font-size:13px;letter-spacing:-.1px;font-weight:550;padding:23px 8px;color:#aeb4bf;box-shadow:none}
body .at60-nav nav a:hover,body .at60-nav nav a.on{color:#f5f7fa}
body .at60-nav nav a.on{box-shadow:inset 0 -2px var(--accent)}
body .at60-nav nav a.on .a62-icon{color:var(--accent)}
.at60-nav .yn40-menu summary{border:0;background:#15171b;border-radius:9px}
.at60-nav-actions{gap:10px}
.at60-wrap h1{font-size:clamp(29px,3.1vw,46px);font-weight:760;letter-spacing:-1.6px;line-height:1.12}
.at60-wrap h2{font-size:clamp(20px,1.8vw,26px);font-weight:700;letter-spacing:-.65px}
.at60-wrap h3{font-weight:650;letter-spacing:-.2px}
body .at60-heading{margin:0 0 17px;gap:10px}
body .at60-heading h2{gap:9px}
body .at60-heading h2 .a62-icon{width:23px;height:23px;color:var(--accent)}
body .at60-heading p{margin:5px 0 0 32px;color:var(--muted);font-size:13px}
body .at60-more{font-weight:550;letter-spacing:0;color:#66caff;font-size:12px}
/* Structure uses whitespace, not outlines. */
.a62-section,.at60-section{padding:26px 0;border:0}
.a62-home-hero,.a62-intro,.a62-catalog-intro{border:0;margin-bottom:8px;padding-bottom:0}
.a62-home-bottom>section+section,.a62-home-chat,.a62-detail-info>section+section,.a62-community>div+div,.a62-related aside{border:0}
.a62-stack{gap:22px}.a62-split{gap:24px}.a62-home-bottom{gap:32px}
.a62-home-bottom>section+section{padding-left:0}
.a62-box,.a62-filter,.at60-panel,.a62-cta,.a62-anime-chat,.a62-services{border:0;background:var(--a63-surface);border-radius:14px;box-shadow:none}
.a62-box{padding:20px}.a62-empty{border:0;background:var(--a63-surface);color:var(--muted);padding:16px}
.a62-cta,.a62-anime-chat{background:#10151b}
.a62-intro,.a62-catalog-intro{gap:28px;min-height:200px}
.a62-intro-title p,.a62-catalog-intro p,.a62-home-left p{color:#b0b5bf;line-height:1.45;font-size:15px}
.a62-hello{gap:16px}.a62-speech{border:0;border-radius:13px;background:#151c25;padding:18px;box-shadow:none}
.a62-speech:before{border:0;background:#151c25}.a62-speech strong{font-size:16px}
.a62-home-hero{gap:32px;min-height:268px;padding-top:16px;align-items:center}
.a62-home-left{gap:20px}.a62-home-left h1{font-size:clamp(24px,2.4vw,36px)}.a62-home-left h1 b{font-size:1.55em}
.a62-home-chat{padding:8px 0 12px 0}.a62-home-greet p{background:#121e2b;border:0;padding:12px 16px}
.a62-home-chat form,.a62-search,.a62-anime-chat .at60-fact-form{background:#171b22;border:1px solid transparent;border-radius:14px;box-shadow:none}
.a62-home-chat form:focus-within,.a62-search:focus-within,.a62-anime-chat .at60-fact-form:focus-within{border-color:#4f9fc7}
.a62-home-chat textarea{min-height:80px;resize:vertical;color:#fff}.a62-home-chat textarea::placeholder{color:#949ba8}
/* Flat controls with a visible focus state and readable contrast. */
body :is(.at60-wrap,.tsugi-shell) :is(button,.btn,select,input:not([type=checkbox]):not([type=radio]):not([type=range])){border-color:transparent;box-shadow:none}
body :is(.at60-wrap,.tsugi-shell) :is(button,.btn){border-radius:9px;font-weight:600}
body :is(.at60-wrap,.tsugi-shell) :is(button,.btn):not(.primary):not([aria-pressed=true]){background-color:var(--a63-raised)}
body :is(.at60-wrap,.tsugi-shell) :is(button,.btn):hover:not(.primary){background-color:var(--a63-hover);color:#fff}
body :is(.at60-wrap,.tsugi-shell) :is(button,.btn).primary{background:var(--accent);color:#03131b!important;border-color:transparent}
body :is(.at60-wrap,.tsugi-shell) :is(button,.btn).primary:hover{background:#69d0ff}
body :is(.at60-wrap,.tsugi-shell) :is(input,select,textarea,button,a,summary):focus-visible{outline:2px solid #6bcbff;outline-offset:3px}
body :is(.at60-wrap,.tsugi-shell) :is(select,input:not([type=checkbox]):not([type=radio]):not([type=range])){background:#191d24;border-radius:8px}
body .a62-search input,body .a62-anime-chat .at60-fact-form input{background:transparent!important}
body .at60-chips{gap:6px;margin-block:10px}
body .at60-chips :is(button,span,a),body .tsugi-shell .tsugi-refine .chip{border:0;border-radius:7px;background:#181b21;color:#c5cbd4;padding:7px 11px;font-size:12px;font-weight:550}
body .at60-chips button[aria-pressed=true],body .tsugi-shell .tsugi-refine .chip.active{background:#133c51!important;color:#8edcff!important}
body .a62-home-chat form button{border-radius:50%}
/* The artwork is the card: no frame and no clipped titles beyond two lines. */
.a62-cards,.a62-radar-cards,.a62-news-grid,.a62-collections,.a62-episodes{gap:16px}
.a62-poster,.a62-radar-card,.a62-episode,.a62-collection,.a62-news-card,.a62-character-grid article{border:0;background:transparent;border-radius:0;box-shadow:none;overflow:visible;min-width:0}
.a62-poster>a,.a62-radar-card>a,.a62-episode>a,.a62-news-card>a,.a62-collection{transition:color .15s ease}
.a62-poster a:hover{outline:0}.a62-poster a:hover .a62-cover,.a62-radar-card a:hover .a62-cover,.a62-news-card a:hover .a62-wide,.a62-collection:hover .a62-wide,.a62-episode a:hover .a62-wide{filter:brightness(1.08)}
.a62-cover,.a62-poster .poster,.a62-wide,.a62-character-image,.a62-episode-fallback,.a62-collection-fallback,.a62-news-fallback{border-radius:10px;background:#11151a;object-fit:contain!important;overflow:hidden}
.a62-cover,.a62-poster .poster{padding:0!important}
.a62-poster-copy,.a62-radar-copy,.a62-news-copy,.a62-episode-copy{padding:10px 1px 2px;min-width:0}
.a62-poster-copy{min-height:65px}.a62-poster h3{font-size:14px;font-weight:650;line-height:1.35;min-height:2.7em}
.a62-poster small,.a62-radar-copy>span,.a62-news-copy span,.a62-episode-copy span{color:var(--muted);font-size:12px}
.a62-radar-copy small{background:#1b2530;color:#9edaff;font-weight:600;padding:4px 7px}
.a62-collection>strong{padding:10px 1px 2px;font-size:15px;line-height:1.3;min-height:2.6em}
.a62-episode-copy{padding-right:37px;gap:4px}.a62-episode-copy strong{font-size:16px;line-height:1.3}.a62-episode-copy b{background:#152f40;color:#a0dfff;font-weight:650;padding:3px 6px}
.a62-play{border:0;background:#171a20;width:30px;height:30px;right:0;bottom:5px}.a62-play .a62-icon{width:16px;height:16px}
.a62-news-copy h3{line-height:1.35;font-weight:650}.a62-news-copy small{font-weight:600;color:#7ecfff}
.a62-episode-fallback .a62-cover,.a62-collection-fallback .a62-cover,.a62-news-fallback .a62-cover{border-radius:0}
.a62-episode-fallback>span{font-size:clamp(12px,1.4vw,19px);color:#e0e4eb}
/* Secondary navigation, discovery and providers. */
.a62-shortcuts{gap:12px}.a62-shortcuts>a,.a62-moods>a,.a62-service{border:0;background:#14171c;border-radius:10px;box-shadow:none;padding:15px 12px;transition:background .15s}
.a62-shortcuts>a:hover,.a62-moods>a:hover,.a62-service:hover{background:#20252d}
.a62-shortcuts .a62-icon{width:25px;height:25px}.a62-shortcuts small{color:var(--muted)}
.a62-services{padding:16px;gap:14px;margin:12px 0 20px}.a62-service-grid{gap:9px}.a62-service{background:#1b1e24;min-height:65px;padding:11px 9px}.a62-service small{color:#a9b5c3}
.a62-tabbar,.a62-alpha,.at60-tabs{border:0;background:#111317;border-radius:10px;padding:5px;gap:4px}
.a62-tabbar a,.a62-alpha a{color:#b5bec9;white-space:nowrap;border-radius:7px}
.a62-tabbar a.on,.a62-alpha a.on{background:#222d37;color:#a7ddff;font-weight:700}
.a62-tabbar a:hover,.a62-alpha a:hover{background:#20262e;color:#fff}
.a62-filter{padding:18px;background:#111317}.a62-filter summary{border:0;color:#f3f5f8;padding-bottom:5px}
.a62-filter h3{border-color:#ffffff0b;font-weight:650}.a62-filter label{color:#c2c7d0}.a62-filter-genres{scrollbar-color:#414752 transparent}
.a62-catalog-grid{gap:24px}.a62-toolbar{margin:18px 0}.a62-toolbar label{color:var(--muted)}
.a62-hot>div,.a62-mini,.a62-rank,.a62-vote,.a62-info-row{border-bottom:1px solid #ffffff0a}
body .a62-hot .btn{background:transparent!important;border:0;color:#dbe1e9;padding:12px 2px;justify-content:flex-start;font-weight:550}
.a62-rank{padding:10px 0}.a62-rank-num{color:#8994a4}.a62-rank-score{color:#f6d078}
.a62-rank .a62-cover{border-radius:6px}.a62-ranking-list .a62-status{background:#222c34;color:#b9d8e7;font-size:10px}
.a62-meter{background:#292e36;height:5px}.a62-meter>i{background:#24b0e9}
.a62-journey-info,.a62-roulette-pick,.a62-profile-person,.a62-match,.a62-community-score,.a62-score{border:0;background:#1a1d24;border-radius:10px}
.a62-daily{border:0}.a62-timeline span{border-color:#3c424e}.a62-timeline>div:before{background:#2c333d}.a62-timeline>div>span{background:#20242b}
.a62-stats{background:transparent;gap:8px;border:0}.a62-stats>div{background:#1a1d23;border-radius:8px}.a62-user-avatar{border:0;background:#222b36}
.a62-universe-nav>a:first-of-type{background:#203344;color:#a7deff}.a62-universe-nav>a:hover{background:#20242b}
.a62-library-grid .a62-box{padding:12px}.a62-library-grid .a62-poster-copy{padding:7px 0;min-height:38px}
.a62-detail-top{padding:24px 0 20px;gap:25px}.a62-detail-copy h1{font-size:clamp(28px,3.1vw,44px)}
.a62-score{background:transparent;padding:4px 10px 4px 0;text-align:left}.a62-score strong{font-size:32px}
.a62-detail-tabs{border-bottom:1px solid #ffffff0e;gap:6px}.a62-detail-tabs a{color:#aeb5c0}.a62-detail-tabs a:first-child{color:var(--accent);border-width:2px}
.a62-detail-info>section+section,.a62-community>div+div,.a62-related aside{padding-left:0}.a62-detail-info,.a62-community,.a62-related{gap:24px}
.a62-community-score{background:#181b21}.a62-question-grid a,.a62-question-grid button{border:0;background:#191e25!important;border-radius:8px;line-height:1.35}
.a62-anime-chat #at60-fact-result:not(:empty){background:#19242e}
/* Chat uses the original Core engine; only presentation is modified. */
body .tsugi-shell{--tsugi:var(--accent);gap:22px!important;max-width:1356px!important;padding:20px 0!important}
body .tsugi-shell>.tsugi-sidebar,.a62-chat-side{border:0!important;background:#111317!important;border-radius:12px;padding:15px;box-shadow:none}
body .tsugi-shell .tsugi-top{border:0;padding-bottom:4px}body .tsugi-shell .tsugi-top h1{color:#f3f6fa;font-size:32px;letter-spacing:-1px}
body .tsugi-shell .tsugi-welcome{padding:14px 0!important;gap:12px 18px!important}
body .tsugi-shell .tsugi-examples button,.a62-chat-side button{border:0!important;background:#191d23!important;color:#dbe2ec;text-align:left}
body .tsugi-shell .tsugi-results .tsugi-compact-row{border:0!important;background:transparent!important;padding:0!important;border-radius:0;box-shadow:none;gap:9px}
body .tsugi-shell .tsugi-results{gap:14px!important}
body .tsugi-shell .tsugi-result-title{font-size:14px!important;line-height:1.35!important;font-weight:650}
body .tsugi-shell .tsugi-result-reason{color:#b5bcc7!important;font-size:12px!important;line-height:1.5!important}
body .tsugi-shell .tsugi-compact-row .tsugi-cover{border-radius:10px;background:#15191f}
body .tsugi-shell .tsugi-results .tsugi-cover img{object-fit:contain!important}
body .tsugi-shell .tsugi-compose{background:#191d24!important;border:1px solid transparent!important;border-radius:15px!important;box-shadow:0 -9px 22px #0009}
body .tsugi-shell .tsugi-compose:focus-within{border-color:#4f9fc7!important}
body .tsugi-shell .tsugi-user span{background:#18334b!important;border:0!important}
body .tsugi-shell .tsugi-intro{line-height:1.6;color:#eef0f4}
.a62-chat-greet{border:0;background:#141b24;border-radius:12px}.a62-chat-side li{border-color:#ffffff0a}.a62-chat-side li button{background:transparent!important}
.a62-note,.a62-demo{color:#dbbf8c!important;font-weight:500}
/* No new assets or fonts loaded; keyboard and reduced-motion support. */
@media(min-width:1250px){.a62-catalog-main .a62-cards{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:800px) and (max-width:1190px){body .at60-nav-inner{gap:10px;padding-inline:18px}body .at60-nav nav a{padding-inline:6px;font-size:12px}body .at60-nav nav .a62-icon{display:none}.at60-nav-actions .a62-profile span{display:none}.at60-nav-actions{gap:8px}}
@media(max-width:800px){body .at60-wrap{padding-inline:16px;padding-bottom:24px}body .at60-nav-inner{padding:4px 16px 0;min-height:55px;gap:0 10px}body .at60-nav nav a{padding:12px 9px;font-size:12px}body .at60-brand{font-size:24px}.a62-home-hero,.a62-intro,.a62-catalog-intro{min-height:0;gap:10px;padding-top:10px}.a62-home-left{gap:12px}.a62-home-chat{padding:0}.a62-home-chat textarea{min-height:60px}.a62-section,.at60-section{padding:21px 0}.a62-home-bottom,.a62-stack,.a62-split,.a62-catalog-grid,.a62-related,.a62-detail-info{gap:16px}.a62-box,.a62-filter{padding:14px}.a62-services{padding:12px;gap:9px}.a62-service{padding:10px 8px}.a62-shortcuts>a,.a62-moods>a{padding:11px 8px}.a62-cards,.a62-radar-cards,.a62-news-grid,.a62-collections,.a62-episodes{gap:12px}.a62-detail-top{gap:12px;padding:14px 0}.a62-detail-copy h1{font-size:clamp(21px,4vw,30px)}.a62-speech{padding:12px}.a62-community{gap:16px}body .tsugi-shell{gap:12px!important;padding:8px 0!important}body .tsugi-shell .tsugi-top h1{font-size:26px}body .tsugi-shell .tsugi-results{gap:12px!important}}
@media(max-width:480px){body .at60-wrap{padding-inline:12px}.a62-home-left h1{font-size:23px}.a62-home-left h1 b{font-size:1.2em}.a62-episode-copy{padding-right:0}.a62-episode-copy strong,.a62-collection>strong{font-size:13px}.a62-episode-copy span,.a62-poster small{font-size:10px}.a62-poster h3{font-size:13px}.a62-poster-copy{min-height:58px}.a62-news-copy h3{font-size:13px}.a62-score strong{font-size:24px}.a62-question-grid{gap:6px}.a62-services{padding:10px}.a62-service-mark{font-size:18px}.a62-service strong{font-size:11px}.a62-shortcuts strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.a62-poster>a,.a62-radar-card>a,.a62-episode>a,.a62-news-card>a,.a62-collection,.a62-shortcuts>a,.a62-moods>a,.a62-service{transition:none}}
/* Keep small utility actions quiet and avoid nested frames in the chat. */
body .tsugi-shell .tsugi-results{border:0!important;background:transparent!important;overflow:visible}
body .tsugi-shell .tsugi-results .tsugi-compact-row+.tsugi-compact-row{border:0!important}
body .tsugi-shell .tsugi-results.at60-list .tsugi-compact-row{padding:12px 0!important;border-bottom:1px solid #ffffff0c!important}
body .tsugi-shell .tsugi-results .tsugi-hide{background:transparent!important;padding-inline:0;font-weight:500}
body .tsugi-shell .tsugi-result-save button{background:#13161bd9!important}
body .tsugi-shell .tsugi-sidebar .tsugi-navitem{background:transparent!important;text-align:left}
body .tsugi-shell .tsugi-sidebar .tsugi-navitem:hover{background:#20242b!important}
body .at60-wrap .a62-search button{background:#292f38;color:#e3e8ef}
body .at60-wrap .a62-search button.primary{background:var(--accent);color:#03131b}
