/* The phone ad A/B test (D-149), drawn by nuruma-mobile-ab.js. Requested for (max-width:1439px),(hover:none) only. Same grammar as D-123: a bordered box (no gradient, no shadow), its own header row for PR + 「× 閉じる」
 * (nothing on the picture), the 「これは広告です」 sentence; light + dark tokens (the script reads the page's own background). Every in-flow box is <= 29 % of the screen (the script sets the video card's width).
 * The dock sits in the bottom nav's own box (the script copies the nav's rectangle) and only fades: it never slides over the page, and the nav is hidden by visibility (its box stays where it is). */
.nrm-ma-slot.nrm-ma-slot{display:block;clear:both;margin:0;padding:20px 0;box-sizing:border-box}
.nrm-ma-slot.nrm-ma-slot.is-closed{display:none}
.nrm-ma-slot .nrm-ma,.nrm-ma-dock{--ma-bg:#fff;--ma-hd:#F5F1EF;--ma-line:#D9CDD2;--ma-text:#1F1B1E;--ma-sub:#645E68;--ma-acc:#C2364E;--ma-acc-t:#A32D42;box-sizing:border-box;color:var(--ma-text);font:12px/1.4 "Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic UI","Yu Gothic","BIZ UDPGothic","Noto Sans JP",Meiryo,sans-serif;letter-spacing:0;text-align:left}
.nrm-ma-slot .nrm-ma[data-theme=dark],.nrm-ma-dock[data-theme=dark]{--ma-bg:#241F28;--ma-hd:#2C2631;--ma-line:rgba(255,255,255,.2);--ma-text:#FFFBF6;--ma-sub:#B9B2BD;--ma-acc-t:#F2917F}
.nrm-ma-slot .nrm-ma{position:relative;display:block;max-width:100%;margin:0 auto;padding:0;overflow:hidden;border:1px solid var(--ma-line);border-radius:10px;background:var(--ma-bg)}
.nrm-ma-slot .nrm-ma *,.nrm-ma-dock *{box-sizing:border-box;margin:0}
.nrm-ma-slot .nrm-ma a,.nrm-ma-slot .nrm-ma a *,.nrm-ma-dock a,.nrm-ma-dock a *{text-decoration:none!important;border-bottom:0!important;box-shadow:none!important;background-image:none!important;color:var(--ma-text)}
.nrm-ma-slot .nrm-ma .nrm-ma__hd{display:flex;align-items:center;gap:6px;height:26px;padding:0 0 0 8px;background:var(--ma-hd);border-bottom:1px solid var(--ma-line)}
.nrm-ma-slot .nrm-ma .nrm-ma__pr,.nrm-ma-dock .nrm-ma__pr{flex:0 0 auto;padding:0 5px;border:1px solid currentColor;border-radius:3px;color:var(--ma-text);font-size:10px;font-weight:700;letter-spacing:.08em;line-height:14px}
.nrm-ma-slot .nrm-ma .nrm-ma__src{flex:1 1 auto;min-width:0;overflow:hidden;color:var(--ma-sub);font-size:11px;white-space:nowrap;text-overflow:ellipsis}
.nrm-ma-slot .nrm-ma .nrm-ma__h{flex:0 0 auto;font-size:12.5px;font-weight:700}
.nrm-ma-slot .nrm-ma a.nrm-ma__more{flex:0 0 auto;color:var(--ma-acc-t);font-size:11.5px;font-weight:700;white-space:nowrap}
.nrm-ma-slot .nrm-ma .nrm-ma__x{position:relative;flex:0 0 auto;display:flex;align-items:center;gap:3px;height:26px;margin:0;padding:0 10px;border:0;border-radius:0;background:none;color:var(--ma-sub);font:inherit;font-size:11px;font-weight:700;line-height:1;cursor:pointer;-webkit-appearance:none;appearance:none}
.nrm-ma-slot .nrm-ma .nrm-ma__x::after{content:"";position:absolute;left:0;right:0;top:-9px;bottom:-9px} /* a 44px tap height inside a 26px row */
.nrm-ma-slot .nrm-ma .nrm-ma__x b{font-size:15px;font-weight:400}
.nrm-ma-slot .nrm-ma a.nrm-ma__a{display:block;padding:0}
.nrm-ma-slot .nrm-ma .nrm-ma__m,.nrm-ma-dock .nrm-ma__m{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:#2b2530}
.nrm-ma-slot .nrm-ma img.nrm-ma__img,.nrm-ma-slot .nrm-ma video.nrm-ma__v,.nrm-ma-dock img.nrm-ma__img,.nrm-ma-dock video.nrm-ma__v{position:absolute;left:0;top:0;display:block;width:100%;height:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;object-fit:contain}
.nrm-ma-slot .nrm-ma video.nrm-ma__v,.nrm-ma-dock video.nrm-ma__v{opacity:0;pointer-events:none;background:#000}
.nrm-ma-slot .nrm-ma .is-vid video.nrm-ma__v,.nrm-ma-dock .is-vid video.nrm-ma__v{opacity:1}
.nrm-ma-slot .nrm-ma .nrm-ma__ft{display:flex;align-items:center;gap:8px;height:32px;padding:0 8px}
.nrm-ma-slot .nrm-ma .nrm-ma__t{flex:1 1 auto;min-width:0;overflow:hidden;font-size:12.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.nrm-ma-slot .nrm-ma .nrm-ma__a .nrm-ma__go{flex:0 0 auto;padding:2px 0;border-bottom:2px solid var(--ma-acc)!important;font-size:12px;font-weight:700;white-space:nowrap}
.nrm-ma-slot .nrm-ma .nrm-ma__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nrm-ma-slot .nrm-ma .nrm-ma__why{margin:0;padding:0 8px 1px;color:var(--ma-sub);font-size:10.5px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nrm-ma-slot .nrm-ma .nrm-ma__cr,.nrm-ma-slot .nrm-ma a.nrm-ma__cr{display:block;padding:0 8px 4px;color:var(--ma-sub);font-size:10px;line-height:13px}
/* banner: the owner's 300x250 tag as is, the PR label at its side (no extra height) */
.nrm-ma-slot .nrm-ma--banner{display:flex;align-items:stretch;width:max-content;border-radius:6px}
.nrm-ma-slot .nrm-ma .nrm-ma__side{display:flex;align-items:center;justify-content:center;gap:6px;width:20px;background:var(--ma-hd);color:var(--ma-sub);font-size:10px;font-weight:700;writing-mode:vertical-rl;letter-spacing:.1em;border-right:1px solid var(--ma-line)}
.nrm-ma-slot .nrm-ma .nrm-ma__side .nrm-ma__pr{writing-mode:horizontal-tb;padding:0 2px;font-size:9px}
.nrm-ma-slot .nrm-ma .nrm-ma__bf{width:300px;height:250px;background:var(--ma-hd)}
.nrm-ma-slot .nrm-ma .nrm-ma__bf iframe{display:block;width:300px;height:250px;margin:0;border:0}
/* 今日の買い時 */
.nrm-ma-slot .nrm-ma--today{max-width:560px}
.nrm-ma-slot .nrm-ma a.nrm-ma__row{display:flex;align-items:center;gap:8px;height:54px;padding:0 8px;border-bottom:1px solid var(--ma-line)!important}
.nrm-ma-slot .nrm-ma a.nrm-ma__row img{flex:0 0 auto;width:68px;height:44px;object-fit:contain;background:#2b2530;border-radius:3px;margin:0;box-shadow:none}
.nrm-ma-slot .nrm-ma .nrm-ma__n{flex:0 0 auto;min-width:54px;color:var(--ma-acc-t);font-size:14px;font-weight:800;text-align:center;line-height:1.15;white-space:nowrap}
.nrm-ma-slot .nrm-ma .nrm-ma__n small{display:block;color:var(--ma-sub);font-size:9.5px;font-weight:700}
.nrm-ma-slot .nrm-ma .nrm-ma__rt{flex:1 1 auto;min-width:0}
.nrm-ma-slot .nrm-ma .nrm-ma__rt b{display:block;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}
.nrm-ma-slot .nrm-ma .nrm-ma__rt span{display:block;overflow:hidden;color:var(--ma-sub);font-size:10.5px;white-space:nowrap;text-overflow:ellipsis}
.nrm-ma-slot .nrm-ma .is-hot .nrm-ma__rt span{color:var(--ma-acc-t);font-weight:700}
.nrm-ma-slot .nrm-ma--today .nrm-ma__why{padding:3px 8px 4px}
/* D-172: a one-line 今日の買い時 row (kind today1, arm t of the compact test): 18px header line + 44px row + borders = 64px; fixed heights, the picture box is 64x36, so nothing moves when it loads */
.nrm-ma-slot[data-kind=today1]{padding:10px 0}
.nrm-ma-slot .nrm-ma--t{max-width:560px;height:64px}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tl{display:flex;align-items:center;gap:6px;height:18px;padding:0 0 0 8px;background:var(--ma-hd);border-bottom:1px solid var(--ma-line)}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tl .nrm-ma__pr{padding:0 4px;font-size:9px;line-height:12px}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tl .nrm-ma__src{font-size:10px;line-height:14px}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tl .nrm-ma__x{height:18px;padding:0 8px;font-size:10px}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tl .nrm-ma__x::after{top:-13px;bottom:-13px}
.nrm-ma-slot .nrm-ma a.nrm-ma__tr{display:flex;align-items:center;gap:8px;height:44px;padding:0 8px}
.nrm-ma-slot .nrm-ma a.nrm-ma__tr img{flex:0 0 64px;width:64px;height:36px;object-fit:contain;background:#2b2530;border-radius:3px;margin:0;box-shadow:none}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tx{display:flex;flex:1 1 auto;flex-direction:column;gap:1px;min-width:0}
.nrm-ma-slot .nrm-ma--t .nrm-ma__tt{overflow:hidden;font-size:12px;line-height:16px;white-space:nowrap;text-overflow:ellipsis}
.nrm-ma-slot .nrm-ma--t .nrm-ma__pp{display:flex;align-items:baseline;gap:5px;overflow:hidden;white-space:nowrap;font-size:11px;line-height:15px}
.nrm-ma-slot .nrm-ma--t .nrm-ma__pp i{color:var(--ma-acc-t)!important;font-style:normal;font-weight:800}
.nrm-ma-slot .nrm-ma--t .nrm-ma__pp b{font-size:13px}
.nrm-ma-slot .nrm-ma--t .nrm-ma__pp s{color:var(--ma-sub)!important;font-size:10px}
.nrm-ma-slot .nrm-ma--t a.nrm-ma__tr .nrm-ma__go{flex:0 0 auto;padding:6px 8px;border:0;border-radius:6px;background:var(--ma-acc)!important;color:#fff!important;font-size:11.5px;font-weight:700;line-height:1}
.nrm-ma-slot .nrm-ma--t.nrm-ma--t a.nrm-ma__tr .nrm-ma__go{border-bottom:0!important}
/* the dock: in the bottom nav's own box (left / top / width / height set by the script), a fade only */
.nrm-ma-dock{position:fixed;z-index:41;display:flex;align-items:center;margin:0;padding:0;overflow:hidden;border:1px solid var(--ma-line);border-radius:24px 10px 10px 24px;background:var(--ma-bg);opacity:0;visibility:hidden;pointer-events:none}
.nrm-ma-dock[hidden]{display:none}
.nrm-ma-dock.is-on{opacity:1;visibility:visible;pointer-events:auto}
@media (prefers-reduced-motion:no-preference){.nrm-ma-dock{transition:opacity .18s ease-out,visibility 0s linear .18s}.nrm-ma-dock.is-on{transition:opacity .18s ease-out,visibility 0s}}
.nrm-ma-dock a.nrm-ma-dock__a{display:flex;flex:1 1 auto;align-items:center;gap:8px;min-width:0;height:100%}
.nrm-ma-dock .nrm-ma__m{flex:0 0 auto;width:auto;height:100%;aspect-ratio:16/9}
.nrm-ma-dock .nrm-ma-dock__tx{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}
.nrm-ma-dock .nrm-ma-dock__t{overflow:hidden;font-size:12.5px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.nrm-ma-dock .nrm-ma-dock__s{display:flex;align-items:center;gap:5px;overflow:hidden;white-space:nowrap}
.nrm-ma-dock .nrm-ma-dock__s .nrm-ma-dock__l{color:var(--ma-sub);font-size:10.5px;overflow:hidden;text-overflow:ellipsis}
.nrm-ma-dock .nrm-ma-dock__x{flex:0 0 auto;width:44px;height:100%;margin:0;padding:0;border:0;border-left:1px solid var(--ma-line);border-radius:0;background:none;color:var(--ma-sub);font-size:18px;line-height:1;cursor:pointer;-webkit-appearance:none;appearance:none}
html.nrm-ma-swap [data-nrm-nav]{visibility:hidden} /* the dock is in its box; the box itself does not move (nuruma-nav.js keeps measuring it, the bars above it stay put) */
.nrm-ma-slot .nrm-ma .nrm-ma__x:focus-visible,.nrm-ma-slot .nrm-ma a:focus-visible,.nrm-ma-dock a:focus-visible,.nrm-ma-dock button:focus-visible{outline:2px solid var(--ma-acc-t);outline-offset:-3px}
@media (min-width:1440px) and (hover:hover){.nrm-ma-slot,.nrm-ma-dock{display:none!important}}
@media print{.nrm-ma-slot,.nrm-ma-dock{display:none!important}}
