.hanako-portal-surface{color-scheme:dark;--bg:#151727;--panel:#222426;--card:#303234;--line:#46484c;--white:#f6f6f5;--muted:#bdc0c9;--pink:#e7a5b1;--yellow:#edc45f}.hanako-portal-surface *{box-sizing:border-box}.hanako-portal-surface{margin:0;background:radial-gradient(ellipse at 70% 0,#283456 0,transparent 60%),var(--bg);color:var(--white);font-family:"Yu Gothic","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:14px;line-height:1.7}.hanako-portal-surface a{color:inherit;text-decoration:none}.hanako-portal-surface button,.hanako-portal-surface input{font:inherit}.hanako-portal-surface button{cursor:pointer}.hanako-portal-surface a:focus-visible,.hanako-portal-surface button:focus-visible,.hanako-portal-surface input:focus-visible{outline:3px solid var(--yellow);outline-offset:4px}.hanako-portal-surface .preview-note{padding:9px 24px;background:#0e1120;color:var(--muted);font-size:11px;text-align:center;letter-spacing:.06em}.hanako-portal-surface .preview-note b{color:var(--yellow)}.hanako-portal-surface .masthead{max-width:1440px;margin:auto;padding:23px 32px 19px;display:flex;align-items:center;gap:38px}.hanako-portal-surface .brand{display:flex;align-items:center;gap:14px;flex-shrink:0}.hanako-portal-surface .brand img{display:block;width:165px;height:auto;background:#f8f5f0;border-radius:5px;padding:5px 8px}.hanako-portal-surface .brand-copy{font-size:10px;line-height:1.7;color:var(--muted);letter-spacing:.06em}.hanako-portal-surface .search{display:flex;max-width:600px;flex:1;background:#f5f5f7;border-radius:30px;overflow:hidden;color:#333;align-items:center}.hanako-portal-surface .search span{padding-left:20px;font-size:20px;color:#737783}.hanako-portal-surface .search input{border:0;background:transparent;color:#333;padding:12px 15px;width:100%;min-width:0;outline-offset:-4px}.hanako-portal-surface .search button{background:none;border:0;color:#536079;padding:12px 20px;white-space:nowrap}.hanako-portal-surface .brand-tail{margin-left:auto;font-size:11px;color:var(--muted)}.hanako-portal-surface .brand-tail strong{color:var(--pink);font-weight:600;display:block;font-size:12px}.hanako-portal-surface .shell{max-width:1440px;margin:0 auto 40px;padding:0 22px}.hanako-portal-surface .portal{background:var(--panel);border-radius:15px;padding:0 18px 22px}.hanako-portal-surface .nav{display:flex;align-items:center;gap:5px;min-height:65px;overflow-x:auto;border-bottom:1px solid #3c3e43;scrollbar-width:thin}.hanako-portal-surface .nav-brand{font-weight:800;margin-right:22px;letter-spacing:.05em;white-space:nowrap}.hanako-portal-surface .nav-brand i{font-style:normal;color:var(--pink)}.hanako-portal-surface .nav button{background:none;border:1px solid transparent;color:#e1e1e6;white-space:nowrap;border-radius:9px;font-weight:600;padding:7px 15px}.hanako-portal-surface .nav button[aria-pressed=true]{background:#383b42;color:#a9c9ff;border-color:#505766}.hanako-portal-surface .edition{margin-left:auto;color:#a5a9b4;white-space:nowrap;font-size:11px;padding:0 10px}.hanako-portal-surface .grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}.hanako-portal-surface .card{background:var(--card);border:1px solid #3b3d40;border-radius:10px;overflow:hidden;min-width:0;transition:background .15s,transform .15s}.hanako-portal-surface .card:hover{background:#383a3d;transform:translateY(-2px)}.hanako-portal-surface .cover{width:100%;height:170px;display:block;object-fit:cover}.hanako-portal-surface .copy{padding:13px 16px 17px}.hanako-portal-surface .category{font-size:10px;color:var(--muted);letter-spacing:.06em;display:flex;align-items:center;gap:7px}.hanako-portal-surface .dot{width:7px;height:7px;border-radius:50%;background:var(--pink);display:inline-block}.hanako-portal-surface .category .sage{background:#a4b9a1}.hanako-portal-surface .category .gold{background:var(--yellow)}.hanako-portal-surface h2,.hanako-portal-surface h3,.hanako-portal-surface p{margin:0}.hanako-portal-surface .card h2{font-size:19px;line-height:1.55;letter-spacing:.01em;margin:7px 0 8px;font-weight:750}.hanako-portal-surface .card h3{font-size:18px;line-height:1.6;margin:7px 0 9px}.hanako-portal-surface .card .excerpt{color:#ced0d6;font-size:12px;line-height:1.85}.hanako-portal-surface .meta{font-size:10px;color:#aeb2bc;margin-top:13px}.hanako-portal-surface .lead{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr;gap:0}.hanako-portal-surface .lead-main{min-width:0}.hanako-portal-surface .lead-main .cover{height:205px;object-position:50% 49%}.hanako-portal-surface .lead-main h2{font-size:20px}.hanako-portal-surface .headlines{padding:14px 17px;border-left:1px solid #484a4d}.hanako-portal-surface .headlines h3{font-size:11px;letter-spacing:.1em;color:#a9c9ff;margin:0 0 8px}.hanako-portal-surface .headline{display:block;padding:11px 0;border-bottom:1px solid #494b4f;font-size:13px;line-height:1.7}.hanako-portal-surface .headline:last-child{border-bottom:0}.hanako-portal-surface .headline:hover{color:var(--pink)}.hanako-portal-surface .headline small{display:block;color:#a9adb8;font-size:10px;margin-bottom:2px}.hanako-portal-surface .lead .meta{padding-top:4px}.hanako-portal-surface .diary .cover{object-position:50% 55%}.hanako-portal-surface .fortune{background:linear-gradient(135deg,#393342,#303139);padding:19px 18px}.hanako-portal-surface .eyebrow{font-size:10px;letter-spacing:.16em;color:var(--pink)}.hanako-portal-surface .fortune h3{font-size:23px;margin:10px 0 2px}.hanako-portal-surface .fortune p{color:#d3cdd8;font-size:12px}.hanako-portal-surface .types{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:19px 0 12px}.hanako-portal-surface .types a{display:block;border:1px solid #6e6575;text-align:center;border-radius:6px;padding:9px 1px;font-size:20px;font-weight:700}.hanako-portal-surface .types small{font-size:10px;font-weight:400;margin-left:2px}.hanako-portal-surface .types a:hover{background:#594659;border-color:var(--pink)}.hanako-portal-surface .fortune .footnote{font-size:10px;color:#b9afc0}.hanako-portal-surface .small-talk{padding:18px}.hanako-portal-surface .talk-top{display:flex;justify-content:space-between;align-items:center}.hanako-portal-surface .x{font-size:24px}.hanako-portal-surface .small-talk .handle{font-size:11px;color:var(--muted)}.hanako-portal-surface .small-talk h3{font-size:21px;line-height:1.7}.hanako-portal-surface .pill{border:1px solid #626163;border-radius:4px;padding:1px 5px;font-size:9px;color:var(--muted)}.hanako-portal-surface .read{display:inline-block;color:var(--pink);font-size:12px;margin-top:18px}.hanako-portal-surface .banner{margin-top:20px;padding:20px 6px 0;display:flex;justify-content:space-between;gap:15px;color:#b6bac6;font-size:12px}.hanako-portal-surface .banner b{color:#f0c75e}.hanako-portal-surface .footer{max-width:1440px;margin:0 auto;padding:0 38px 35px;display:flex;justify-content:space-between;gap:15px;color:#9a9fae;font-size:11px}.hanako-portal-surface .footer a{margin-left:17px}.hanako-portal-surface .empty{display:none;padding:40px;color:#c0c4cf;text-align:center}.hanako-portal-surface .card[hidden]{display:none}@media(min-width:1500px){.hanako-portal-surface .cover{height:205px}.hanako-portal-surface .lead-main .cover{height:230px}}@media(max-width:1100px){.hanako-portal-surface .brand-copy,.hanako-portal-surface .brand-tail{display:none}.hanako-portal-surface .masthead{gap:24px}.hanako-portal-surface .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hanako-portal-surface .lead{grid-column:span 2}.hanako-portal-surface .edition{display:none}.hanako-portal-surface .nav-brand{margin-right:8px}.hanako-portal-surface .nav button{padding:7px 12px}}@media(max-width:760px){.hanako-portal-surface .masthead{padding:18px 18px;flex-wrap:wrap;gap:15px}.hanako-portal-surface .brand img{width:145px}.hanako-portal-surface .brand-copy{display:block}.hanako-portal-surface .search{flex-basis:100%;max-width:none}.hanako-portal-surface .shell{padding:0 10px}.hanako-portal-surface .portal{padding:0 10px 15px}.hanako-portal-surface .nav{min-height:58px}.hanako-portal-surface .nav-brand{font-size:12px}.hanako-portal-surface .nav button{font-size:12px;padding:7px 10px}.hanako-portal-surface .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hanako-portal-surface .lead{grid-column:1/-1}.hanako-portal-surface .lead-main .cover{height:190px}.hanako-portal-surface .headlines{padding:12px}.hanako-portal-surface .headline{font-size:12px;padding:9px 0}.hanako-portal-surface .copy{padding:11px 12px 14px}.hanako-portal-surface .card h2,.hanako-portal-surface .card h3{font-size:16px}.hanako-portal-surface .cover{height:160px}.hanako-portal-surface .fortune h3,.hanako-portal-surface .small-talk h3{font-size:19px}.hanako-portal-surface .fortune,.hanako-portal-surface .small-talk{padding:14px}.hanako-portal-surface .types{gap:4px}.hanako-portal-surface .types a{font-size:18px}.hanako-portal-surface .footer{padding:0 20px 25px;flex-direction:column}.hanako-portal-surface .footer a{margin:0 15px 0 0}.hanako-portal-surface .banner{font-size:11px}.hanako-portal-surface .preview-note{font-size:10px}}@media(max-width:420px){.hanako-portal-surface .lead{grid-template-columns:1fr}.hanako-portal-surface .lead-main{display:grid;grid-template-columns:42% 58%}.hanako-portal-surface .lead-main .cover{height:100%;min-height:190px}.hanako-portal-surface .lead-main h2{font-size:17px}.hanako-portal-surface .headlines{border-left:0;border-top:1px solid #484a4d}.hanako-portal-surface .headlines .headline{padding:8px 0}.hanako-portal-surface .headlines h3{margin-bottom:2px}.hanako-portal-surface .cover{height:138px}.hanako-portal-surface .types{grid-template-columns:repeat(2,1fr);margin:12px 0}.hanako-portal-surface .types a{padding:4px}.hanako-portal-surface .card .excerpt{font-size:11px}.hanako-portal-surface .banner{flex-direction:column;gap:4px}}.hanako-portal-surface .brand img{width:220px;background:transparent;border-radius:0;padding:0}.hanako-portal-surface .section-block{margin-top:30px}.hanako-portal-surface .section-block[hidden]{display:none}.hanako-portal-surface .section-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0 2px 12px}.hanako-portal-surface .section-title h2{font-size:18px;letter-spacing:.06em}.hanako-portal-surface .section-title h2 span{font-size:11px;color:var(--muted);font-weight:400;margin-left:12px}.hanako-portal-surface .section-title a{color:var(--pink);font-size:11px}.hanako-portal-surface .lower-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}.hanako-portal-surface .story-list,.hanako-portal-surface .ranking-panel{background:var(--card);border:1px solid #3b3d40;border-radius:10px;padding:8px 20px}.hanako-portal-surface .story-row{display:flex;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid var(--line)}.hanako-portal-surface .story-row:last-child{border-bottom:0}.hanako-portal-surface .story-row img{width:110px;height:80px;object-fit:cover;border-radius:6px;flex-shrink:0}.hanako-portal-surface .story-row strong{display:block;font-size:15px;line-height:1.7;margin:4px 0}.hanako-portal-surface .story-row small{color:var(--muted);font-size:10px}.hanako-portal-surface .story-row:hover strong{color:var(--pink)}.hanako-portal-surface .ranking-panel{padding:23px}.hanako-portal-surface .ranking-panel h3{font-size:18px;margin:6px 0 15px}.hanako-portal-surface .ranking-state{border:1px dashed #666571;border-radius:8px;padding:24px 16px;margin:20px 0;color:#e4d8bf;font-size:16px}.hanako-portal-surface .ranking-panel p{color:var(--muted);font-size:12px}.hanako-portal-surface .ranking-panel .eyebrow{color:var(--pink)}.hanako-portal-surface .topic-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hanako-portal-surface .topic-tile{background:linear-gradient(135deg,#393c4d,#2d3038);border:1px solid #464b5b;border-radius:10px;padding:24px}.hanako-portal-surface .topic-tile h3{font-size:20px;margin:8px 0}.hanako-portal-surface .topic-tile p{color:var(--muted);font-size:12px}.hanako-portal-surface .topic-tile:hover h3{color:var(--pink)}.hanako-portal-surface .footer{align-items:center}.hanako-portal-surface .footer-brand img{display:block;width:180px;height:auto}.hanako-portal-surface .footer-brand p{font-size:10px}.hanako-portal-surface .footer-links{display:flex;gap:18px;flex-wrap:wrap}.hanako-portal-surface .footer-links a{margin:0}@media(max-width:760px){.hanako-portal-surface .brand img{width:190px}.hanako-portal-surface .lower-grid{grid-template-columns:1fr}.hanako-portal-surface .topic-strip{grid-template-columns:1fr}.hanako-portal-surface .section-title h2{font-size:16px}.hanako-portal-surface .section-title h2 span{display:block;margin-left:0;margin-top:3px}.hanako-portal-surface .story-list{padding:4px 13px}.hanako-portal-surface .story-row{gap:12px}.hanako-portal-surface .story-row img{width:80px;height:76px}.hanako-portal-surface .story-row strong{font-size:13px}.hanako-portal-surface .footer{align-items:flex-start}.hanako-portal-surface .footer-brand img{width:160px}}

body.home{background:radial-gradient(ellipse at 70% 0,#283456 0,transparent 60%),#151727;color:#f6f6f5}body.home .wp-site-blocks{padding:0}body.home .wp-site-blocks>header,body.home .wp-site-blocks>footer{margin:0}.hanako-portal-surface{max-width:none!important;margin-block:0!important}.hanako-portal-surface h1{font-size:20px;line-height:1.55;margin:7px 0 8px;font-weight:750}.hanako-portal-surface .masthead,.hanako-portal-surface .shell,.hanako-portal-surface .footer{width:100%}.hanako-portal-surface .portal{padding-top:1px}.hanako-portal-surface .card img{margin:0;max-width:100%}.hanako-portal-surface .hanako-default-thumbnail{object-fit:contain!important}.hanako-portal-surface .nav a{padding:7px 15px;border-radius:9px;white-space:nowrap;font-size:13px}.hanako-portal-surface .nav a:hover{background:#383b42;color:#a9c9ff}.hanako-portal-surface .section-block{scroll-margin-top:20px}.hanako-portal-surface .hanako-footer-socials{margin:0!important}.hanako-portal-surface .hanako-footer-socials a{color:#eee!important;border-color:#666!important}.hanako-portal-surface .hanako-footer-socials img{filter:invert(1);mix-blend-mode:screen!important}.hanako-portal-surface .wp-block-heading,.hanako-portal-surface .wp-block-heading small{color:inherit}.hanako-portal-surface #about a{color:#e7a5b1}.hanako-portal-surface .hanako-quiet-profile{border-color:#46484c}.hanako-portal-surface .hanako-note-cards>article{padding:16px;background:#303234;border-radius:10px}.hanako-portal-surface .hanako-x-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hanako-portal-surface .hanako-x-grid>div{min-width:0}.hanako-portal-surface .hanako-x-grid iframe{max-width:100%!important}.hanako-portal-surface .profile-block{padding:24px;background:#303234;border-radius:10px}.hanako-portal-surface .osaka-scene{position:relative;overflow:hidden;min-height:220px;border-radius:10px;margin-top:12px}.hanako-portal-surface .osaka-scene img{width:100%;height:260px;object-fit:cover;object-position:center 35%;opacity:.6}.hanako-portal-surface .osaka-scene p{position:absolute;left:24px;bottom:32px;color:white;font-size:23px;font-weight:bold;text-shadow:0 1px 6px #000}.hanako-portal-surface .osaka-scene small{position:absolute;right:12px;bottom:6px;font-size:10px}.hanako-portal-surface .footer-pages{display:flex;gap:15px;list-style:none;padding:0;flex-wrap:wrap;font-size:11px}.hanako-portal-surface .footer-pages a{margin:0}@media(max-width:760px){.hanako-portal-surface .hanako-x-grid{grid-template-columns:1fr}.hanako-portal-surface .hanako-note-cards{flex-direction:column}.hanako-portal-surface h1{font-size:17px}.hanako-portal-surface .nav a{font-size:12px;padding:7px 10px}}
body.home{padding-left:0;padding-right:0}@media(max-width:420px){.hanako-portal-surface .brand img{width:170px}.hanako-portal-surface .brand-copy{display:none}}
.hanako-portal-surface .hanako-social-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.hanako-portal-surface .hanako-social-card{display:flex;flex-direction:column}.hanako-portal-surface .hanako-social-article{flex:1}.hanako-portal-surface .hanako-social-actions{padding:0 16px 18px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.hanako-portal-surface .hanako-social-actions a{font-size:12px;color:var(--pink)}.hanako-article-social-links{border-top:1px solid #d5d2cd;margin-top:32px;padding-top:20px;font-size:14px}@media(max-width:900px){.hanako-portal-surface .hanako-social-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.hanako-portal-surface .hanako-social-cards{grid-template-columns:minmax(0,1fr)}}
.hanako-portal-surface .hanako-social-empty{padding:24px;background:#303234;border:1px dashed #666571;border-radius:10px;color:#bdc0c9}

/* Nail gallery: six latest pins, portrait pictures shown in full. */
.hanako-portal-surface #pinterest .hanako-social-cards{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.hanako-portal-surface #pinterest .cover{width:100%;height:auto!important;aspect-ratio:2/3!important;object-fit:contain!important;background:#f8f5f0}
.hanako-portal-surface #pinterest .copy{padding:10px 9px}
.hanako-portal-surface #pinterest .copy h3{font-size:13px;line-height:1.6;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hanako-portal-surface #pinterest .copy .category,.hanako-portal-surface #pinterest .copy .excerpt,.hanako-portal-surface #pinterest .copy .meta{display:none}
.hanako-portal-surface #pinterest .hanako-social-actions{display:grid;grid-template-columns:1fr;gap:6px;padding:0 9px 12px;text-align:center}
.hanako-portal-surface #pinterest .hanako-social-actions a{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:1024px){.hanako-portal-surface #pinterest .hanako-social-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.hanako-portal-surface #pinterest .hanako-social-cards{gap:8px}.hanako-portal-surface #pinterest .copy{padding:8px 7px}.hanako-portal-surface #pinterest .copy h3{font-size:11px}.hanako-portal-surface #pinterest .hanako-social-actions{padding:0 6px 10px}.hanako-portal-surface #pinterest .hanako-social-actions a{font-size:10px}}

.hanako-portal-surface #pinterest .copy .category{display:block;font-size:9px;line-height:1.5;margin:0 0 5px}


/* Full-width header/footer and clean logo, 2026-11-16. */
body:not(.home) .wp-site-blocks > header,body:not(.home) .wp-site-blocks > footer{width:calc(100% + var(--wp--style--root--padding-left,24px) + var(--wp--style--root--padding-right,24px));max-width:none;margin-inline-start:calc(-1 * var(--wp--style--root--padding-left,24px));margin-inline-end:calc(-1 * var(--wp--style--root--padding-right,24px))}
.hanako-portal-surface .brand img,.hanako-portal-surface .footer-brand img{background:transparent;border:0;border-radius:0;box-shadow:none}

/* Growing dictionary and dated article ranking — 2026-11-16. */
.hanako-ai-dictionary{color:#252b3f;line-height:1.8}
.ai-dictionary-search{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:18px;background:#f3eee7;border-radius:14px}
.ai-dictionary-search label{font-weight:700}
.ai-dictionary-search input[type=search]{flex:1;min-width:160px;padding:12px;border:1px solid #c9c4bc;border-radius:8px;font:inherit}
.ai-dictionary-search button{border:0;border-radius:8px;padding:12px 22px;background:#252b3f;color:white;font:inherit;cursor:pointer}
.ai-dictionary-jump{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}
.ai-dictionary-jump a{padding:10px 16px;border:1px solid #d9d5ce;border-radius:30px;text-decoration:none;background:#fffaf3}
.ai-dictionary-jump span{font-size:.8em;color:#72575c;margin-left:6px}
.ai-dictionary-group{margin:32px 0;scroll-margin-top:30px}
.ai-dictionary-group h3{border-bottom:2px solid #ce838b;padding-bottom:10px}
.ai-dictionary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px}
.ai-dictionary-cards article{padding:22px;border:1px solid #d9d5ce;border-radius:16px;background:#fffaf3}
.ai-dictionary-cards h4{margin:0 0 12px;font-size:1.13em;line-height:1.65}
.ai-dictionary-cards p{font-size:.92em}
.ai-dictionary-empty{padding:16px 20px;background:#f5f2ed;border-radius:12px;color:#766e6b}
.hanako-portal-surface .dictionary-entrance{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.15fr);align-items:center;gap:28px;padding:26px;margin:28px 0;background:#fff7ea;color:#252b3f;border:1px solid #dbc7b5;border-radius:18px}
.hanako-portal-surface .dictionary-entrance-image img{display:block;width:100%;height:auto;border-radius:12px}
.hanako-portal-surface .dictionary-entrance h2{margin:8px 0 14px;font-size:30px;line-height:1.5}
.hanako-portal-surface .dictionary-entrance h2 span{display:block;font-size:18px;color:#8f4e62}
.hanako-portal-surface .dictionary-entrance p{line-height:1.9}
.hanako-portal-surface .dictionary-entrance-button{display:inline-block;margin-top:10px;padding:12px 22px;background:#252b3f;color:#fff;border-radius:9px;text-decoration:none;font-weight:700}
.hanako-portal-surface .ranking-period{font-size:12px;color:#cbc5bc;margin:8px 0 16px}
.hanako-portal-surface .article-ranking-item{display:grid;grid-template-columns:43px minmax(0,1fr);gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #ffffff22;text-decoration:none}
.hanako-portal-surface .article-ranking-position{font-size:10px;line-height:1.2;text-align:center;color:#eab7c7}
.hanako-portal-surface .article-ranking-position b{font-size:22px}
.hanako-portal-surface .article-ranking-item strong{display:block;font-size:13px;line-height:1.65}
.hanako-portal-surface .article-ranking-item small{display:block;font-size:11px;color:#bbb;margin-top:4px}
.hanako-portal-surface .ranking-note{font-size:11px;line-height:1.8;color:#aaa;margin-top:15px}
.hanako-portal-surface .lower-grid{align-items:start}
@media(max-width:900px){.hanako-portal-surface .lower-grid{grid-template-columns:1fr}}
@media(max-width:760px){.hanako-portal-surface .dictionary-entrance{grid-template-columns:1fr;gap:16px;padding:20px}.hanako-portal-surface .dictionary-entrance-image{max-width:420px;margin:auto}.hanako-portal-surface .dictionary-entrance h2{font-size:25px}.ai-dictionary-search input[type=search]{min-width:0;width:100%;flex-basis:100%}}

/* AI・デジタル辞典の公開新着。 */
.hanako-portal-surface .dictionary-latest{grid-column:1/-1;border-top:1px solid #dbc7b5;padding-top:18px;min-width:0}
.hanako-portal-surface .dictionary-latest h3{font-size:18px;margin:0 0 14px}
.hanako-portal-surface .dictionary-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hanako-portal-surface .dictionary-latest-grid a{display:flex;flex-direction:column;gap:10px;padding:18px;background:#fff;border:1px solid #dbc7b5;border-radius:12px;color:#252b3f;text-decoration:none;overflow-wrap:anywhere}
.dictionary-latest-grid time,.dictionary-latest-grid span{font-size:12px;color:#72575c}.dictionary-latest-grid strong{line-height:1.7}.dictionary-latest-grid span{margin-top:auto}
@media(max-width:760px){.hanako-portal-surface .dictionary-latest-grid{grid-template-columns:1fr}}

/* 辞典の行動リンクをボタンに統一 */
.ai-dictionary-cards article>a,.hanako-portal-surface .dictionary-latest-grid a>span,.hanako-dictionary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:44px;padding:10px 20px;border:1px solid #252b3f;border-radius:10px;background:#252b3f;color:#fff;font-size:14px;font-weight:700;line-height:1.6;text-decoration:none;align-self:flex-start}
.ai-dictionary-cards article>a:hover,.hanako-dictionary-button:hover,.hanako-portal-surface .dictionary-latest-grid a:hover>span{background:#424963;color:#fff}
.ai-dictionary-cards article>a:focus-visible,.hanako-dictionary-button:focus-visible,.dictionary-latest-grid a:focus-visible,.dictionary-entrance-button:focus-visible{outline:3px solid #a64d70;outline-offset:4px}

/* Mobile lead: show the full thumbnail above its title. */
@media(max-width:600px){.hanako-portal-surface .lead-main{display:block}.hanako-portal-surface .lead-main .cover{width:100%;height:auto;min-height:0;aspect-ratio:16/9;object-fit:contain;object-position:center;background:#f8f3eb}.hanako-portal-surface .lead-main .copy{padding:14px 15px 17px}.hanako-portal-surface .lead-main h1{font-size:19px;line-height:1.6}.hanako-portal-surface .lead-main .category{font-size:9px;line-height:1.5}}
