body.amcompact{margin:0;background:#080d13;color:#eef4ff;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.45}
body.amcompact *{box-sizing:border-box}
body.amcompact .amc-shell{max-width:1320px;margin:auto;padding:0 24px}
body.amcompact h1,body.amcompact h2,body.amcompact p{margin:0;color:inherit}
body.amcompact h1{font-size:28px;line-height:1.2;letter-spacing:-.6px}
body.amcompact h2{font-size:22px;line-height:1.25}
body.amcompact a{color:inherit;text-decoration:none}
body.amcompact button,body.amcompact input{font:inherit}
body.amcompact a:focus-visible,body.amcompact button:focus-visible,body.amcompact input:focus-visible{outline:3px solid #83ff56;outline-offset:3px}
body.amcompact button{cursor:pointer}
body.amcompact .amc-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;border-bottom:1px solid #293c4e}
body.amcompact .amc-brand{display:flex;align-items:center;gap:10px;font-size:20px}
body.amcompact .amc-brand b,body.amcompact .amc-brand span{color:#83ff56}
body.amcompact .amc-brand b{font-size:32px}
body.amcompact .amc-brand img{width:180px;height:48px;object-fit:contain}
body.amcompact .amc-header nav{display:flex;gap:12px}
body.amcompact .amc-header nav a{padding:12px;min-height:44px}
body.amcompact .amc-header nav a:hover{color:#83ff56}
body.amcompact main#amc-main{padding:20px 0}
body.amcompact .amc-top{display:flex;align-items:center;gap:28px;justify-content:space-between;margin-bottom:20px}
body.amcompact .amc-eyebrow{font-size:11px;letter-spacing:1.5px;color:#aab9ca;margin-bottom:5px}
body.amcompact .amc-search{display:flex;gap:8px;position:relative;flex:1;max-width:660px;margin:0}
body.amcompact input{background:#162334;border:1px solid #53677c;color:#fff;min-height:46px;border-radius:8px;padding:10px 12px;width:100%;min-width:0}
body.amcompact input::placeholder{color:#bdc7d5}
body.amcompact .amc-search button,body.amcompact .amc-button{display:flex;justify-content:center;align-items:center;background:#83ff56;border:1px solid #83ff56;color:#0a1507;font-weight:700;min-height:46px;padding:10px 18px;border-radius:8px}
body.amcompact .amc-search button:hover,body.amcompact .amc-button:hover{background:#a1ff80;color:#081207}
body.amcompact .amc-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.amcompact .amc-card{border:1px solid #30475d;border-radius:12px;background:#101b29;padding:18px;display:flex;flex-direction:column;gap:12px}
body.amcompact .amc-card p{color:#b5c1d2;font-size:14px}
body.amcompact .amc-play form{display:flex;flex-wrap:wrap;gap:8px;margin:0}
body.amcompact .amc-play label{font-size:12px;color:#b5c1d2;width:100%}
body.amcompact .amc-play button{width:100%}
body.amcompact .amc-card .amc-button{margin-top:auto}
body.amcompact .amc-small-link{font-size:14px;color:#abdab1;display:inline-flex;align-items:center;min-height:30px}
body.amcompact .amc-deck-row{display:flex;align-items:center;gap:14px;min-height:68px;background:#0b131e;padding:10px;border-radius:8px}
body.amcompact .amc-deck-icon{font-size:40px;color:#83ff56;line-height:1}
body.amcompact .amc-menu-link{border:1px solid #35495e;border-radius:8px;padding:10px;display:flex;justify-content:space-between;gap:6px;min-height:44px;font-size:14px}
body.amcompact .amc-info{margin-top:16px;background:#101b29;border:1px solid #30475d;border-radius:12px;overflow:hidden}
body.amcompact .amc-tabs{display:flex;border-bottom:1px solid #30475d;overflow-x:auto}
body.amcompact .amc-tabs button{flex:1;background:transparent;border:0;color:#bcc8da;border-bottom:3px solid transparent;padding:12px 14px;min-height:48px;white-space:nowrap}
body.amcompact .amc-tabs button[aria-selected=true]{color:#83ff56;border-bottom-color:#83ff56}
body.amcompact .amc-tabs [data-tab=decks]{display:none}
body.amcompact .amc-panel{padding:14px 18px}
body.amcompact .amc-panel h2{font-size:19px;margin-bottom:6px}
body.amcompact .amc-panel p{color:#b5c1d2;margin-bottom:6px}
body.amcompact .amc-news-row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #2a3a4c;padding:8px 0;min-height:40px}
body.amcompact .amc-news-row small{color:#a9b9cc;white-space:nowrap}
body.amcompact .amc-footer{display:flex;flex-wrap:wrap;align-items:center;gap:18px;border-top:1px solid #293c4e;padding:10px 0;color:#a9b9cc;font-size:12px;min-height:44px}
body.amcompact .amc-footer span{margin-right:auto}
body.amcompact .amc-mobile-actions,body.amcompact .amc-bottom{display:none}
body.amcompact #amc-search-results{position:absolute;top:54px;left:0;right:0;z-index:100;background:#132134;border:1px solid #52677e;border-radius:8px;padding:12px;box-shadow:0 12px 40px #0009;max-height:300px;overflow:auto}
body.amcompact #amc-search-results p{font-size:13px;color:#b8c8d9;margin-bottom:6px}
body.amcompact #amc-search-results a{display:block;min-height:40px;padding:8px;border-radius:5px;font-size:14px}
body.amcompact #amc-search-results a:hover{background:#253950;color:#83ff56}
body.amcompact [hidden]{display:none!important}
body.amcompact .amc-sr,body.amcompact .amc-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
body.amcompact .amc-skip:focus{display:block;padding:10px;background:#83ff56;color:#111}
/* Appearance only: keep the dashboard's original geometry and breakpoints. */
body.amcompact{background-color:#060b10;background-image:radial-gradient(ellipse at 8% 0%,#74ff3610,transparent 38%),radial-gradient(ellipse at 100% 80%,#74ff3609,transparent 40%),repeating-linear-gradient(135deg,#ffffff02 0,#ffffff02 1px,transparent 1px,transparent 7px);color:#f1f6fc}
body.amcompact .amc-header,body.amcompact .amc-footer{border-color:#80ff3c30}
body.amcompact .amc-header nav a{border-radius:8px;transition:background-color .16s,color .16s}
body.amcompact .amc-header nav a:hover{background:#83ff560b;color:#a0ff6c}
body.amcompact .amc-brand img{filter:drop-shadow(0 0 8px #83ff5626)}
body.amcompact h1,body.amcompact h2{letter-spacing:-.4px;text-shadow:0 1px 1px #0006}
body.amcompact .amc-card,body.amcompact .amc-info{background:linear-gradient(135deg,#11212beF,#0b141e 68%);border-color:#59776d;box-shadow:inset 0 1px 0 #a9ff6615,0 8px 24px #0005}
body.amcompact .amc-card{border-top-color:#91dc6b8c}
body.amcompact .amc-info{border-top-color:#91dc6b8c}
body.amcompact input{background:linear-gradient(145deg,#12202b,#0b151f);border-color:#435c6b;box-shadow:inset 0 1px 4px #0004;transition:border-color .16s,box-shadow .16s}
body.amcompact input:focus{border-color:#93ed5b;box-shadow:0 0 0 2px #83ff5615}
body.amcompact .amc-button,body.amcompact .amc-search button{background:linear-gradient(165deg,#aeff63,#75f233);border-color:#b4ff76;box-shadow:inset 0 1px 0 #e5ffba70,0 3px 12px #74ff352c;transition:background-color .16s,box-shadow .16s}
body.amcompact .amc-button:hover,body.amcompact .amc-search button:hover{background:linear-gradient(165deg,#c2ff8b,#8dff4e);box-shadow:inset 0 1px 0 #e5ffba70,0 3px 16px #74ff3540}
body.amcompact .amc-button:active,body.amcompact .amc-search button:active{box-shadow:inset 0 2px 4px #204a1540}
body.amcompact .amc-deck-row{background:linear-gradient(145deg,#07131c,#0a151e);border:1px solid #30494a;box-shadow:inset 0 1px 3px #0004}
body.amcompact .amc-deck-icon{filter:drop-shadow(0 0 5px #83ff5620)}
body.amcompact .amc-menu-link{background:#0b182380;border-color:#3e5662;box-shadow:inset 0 1px 0 #ffffff05;transition:border-color .16s,background-color .16s}
body.amcompact .amc-menu-link:hover{border-color:#84ca60;background:#14251c}
body.amcompact .amc-small-link{color:#a0ed72}
body.amcompact .amc-small-link:hover,body.amcompact .amc-footer a:hover{color:#c0ff94;text-decoration:underline;text-underline-offset:3px}
body.amcompact .amc-tabs{border-bottom-color:#3b535b;background:#060d1660}
body.amcompact .amc-tabs button{transition:background-color .16s,color .16s}
body.amcompact .amc-tabs button:hover{background:#8cff3a09;color:#ebf5ed}
body.amcompact .amc-tabs button[aria-selected=true]{background:linear-gradient(180deg,#83ff5604,#83ff5612);color:#a5ff6a;border-bottom-color:#94ff4c;box-shadow:inset 0 -2px 8px #83ff5610}
body.amcompact .amc-news-row{border-bottom-color:#30434d}
body.amcompact .amc-news-row:hover{color:#b2ff87;background:#ffffff03}
body.amcompact #amc-search-results{background:#0f1b27;border-color:#6d965c;box-shadow:0 12px 32px #000a}
body.amcompact .amc-footer span{overflow-wrap:anywhere;min-width:0}
@media(prefers-reduced-motion:reduce){body.amcompact *,body.amcompact *::before,body.amcompact *::after{transition:none!important;animation:none!important}}
@media(max-width:700px){
 body.amcompact .amc-shell{padding:0 14px 68px}
 body.amcompact .amc-header{min-height:62px}
 body.amcompact .amc-brand img{width:150px;height:42px}
 body.amcompact .amc-header nav{display:none}
 body.amcompact main#amc-main{padding:16px 0 12px}
 body.amcompact .amc-top{display:block;margin-bottom:14px}
 body.amcompact h1{font-size:23px}
 body.amcompact .amc-search{margin-top:12px;max-width:none}
 body.amcompact .amc-search button{padding:10px 14px}
 body.amcompact .amc-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 body.amcompact .amc-secondary{background:transparent;color:#83ff56}
 body.amcompact .amc-mobile-actions .amc-secondary{background:linear-gradient(145deg,#11221b,#0b1717);border-color:#739c56;color:#aeff7c;box-shadow:inset 0 1px 0 #a9ff6610,0 3px 12px #0004}
 body.amcompact .amc-actions{display:none}
 body.amcompact .amc-info{margin-top:14px}
 body.amcompact .amc-info .amc-decks{border:0;border-radius:0}
 body.amcompact .amc-tabs [data-tab=decks]{display:block}
 body.amcompact .amc-tabs button{padding:12px 10px;font-size:14px}
 body.amcompact .amc-news-row{display:block}
 body.amcompact .amc-news-row small{display:block}
 body.amcompact .amc-bottom{position:fixed;bottom:0;left:0;right:0;z-index:101;display:flex;justify-content:space-around;background:#101b29;border-top:1px solid #40546a;padding-bottom:env(safe-area-inset-bottom)}
 body.amcompact .amc-bottom a{font-size:13px;display:flex;align-items:center;justify-content:center;min-height:54px;padding:8px 6px}
 body.amcompact .amc-bottom a:first-child{color:#83ff56}
 body.amcompact .amc-bottom{background:linear-gradient(180deg,#111f28f7,#08121bf7);border-top-color:#79b354;box-shadow:0 -4px 20px #0006}
 body.amcompact .amc-footer{gap:12px}
}
/* Approved artwork and tabletop tools; existing dashboard layout remains intact. */
body.amcompact{background-image:linear-gradient(#060b10d9,#060b10df),url('background-desktop-v043.jpg');background-position:center top;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
body.amcompact .amc-card,body.amcompact .amc-info{background:linear-gradient(135deg,#10212bf5,#0b141ef0 68%)}
body.amcompact .amc-life-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.amcompact .amc-life{border:1px solid #669545;border-radius:10px;padding:10px 12px;background:linear-gradient(145deg,#182c2580,#0b1726);display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
body.amcompact .amc-life:nth-child(2){border-color:#427cb2;background:linear-gradient(145deg,#12263980,#0b1726)}
body.amcompact .amc-life h2{font-size:16px;margin:0}
body.amcompact .amc-life output{font-size:32px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.1}
body.amcompact .amc-life-buttons,body.amcompact .amc-custom{grid-column:1/-1;display:flex;gap:8px}
body.amcompact .amc-tools button{font:inherit;min-height:44px;border:1px solid #48606b;border-radius:7px;background:#142331;color:#f1f6fc;padding:6px 10px}
body.amcompact .amc-tools button:hover{border-color:#a2f46e;background:#1c3540}
body.amcompact .amc-tools button:disabled{opacity:.5;cursor:default}
body.amcompact .amc-life-buttons button{flex:1;background:linear-gradient(#672830,#42222a);border-color:#b3474e}
body.amcompact .amc-life-buttons button[data-delta="100"]{background:linear-gradient(#2b572d,#1c3826);border-color:#548c48}
body.amcompact .amc-custom input{min-height:44px;padding:6px 10px;flex:1}
body.amcompact .amc-custom button{min-width:48px;font-size:22px}
body.amcompact .amc-tool-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
body.amcompact .amc-tool-row section{border-top:1px solid #334751;padding-top:8px}
body.amcompact .amc-tool-row h2{font-size:14px;margin-bottom:6px;color:#b7c9d5}
body.amcompact .amc-tool-row section>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.amcompact .amc-random output{min-width:44px;font-size:20px;font-weight:700}
body.amcompact .amc-timer input{width:64px;min-height:40px;padding:5px 8px}
body.amcompact .amc-timer label{font-size:12px;color:#bdcbd7}
body.amcompact #amc-time{font-size:28px;letter-spacing:1px;font-weight:700;font-variant-numeric:tabular-nums}
body.amcompact .amc-timer>div+div{margin-top:6px}
body.amcompact #amc-timer-toggle{background:linear-gradient(165deg,#aeff63,#75f233);color:#0a1507;min-width:80px;font-weight:700;border-color:#b4ff76}
body.amcompact .amc-tools-footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
body.amcompact .amc-tools-footer p{font-size:12px;margin:0;flex:1;min-width:180px;color:#bdcbd7}
body.amcompact .amc-event-link{margin-left:20px}
@media(max-width:700px){body.amcompact{background-attachment:scroll}body.amcompact .amc-tools{padding:10px}body.amcompact .amc-tabs button{font-size:12px;padding:10px 9px;flex:0 0 auto}body.amcompact .amc-life{padding:9px;gap:6px}body.amcompact .amc-life-grid{gap:8px}body.amcompact .amc-life{display:flex;flex-direction:column}body.amcompact .amc-life output{font-size:30px}body.amcompact .amc-life-buttons,body.amcompact .amc-custom{width:100%;gap:4px}body.amcompact .amc-life-buttons button{font-size:12px;padding:5px 2px;min-width:0}body.amcompact .amc-custom button{min-width:32px;padding:4px}body.amcompact .amc-custom input{padding:4px;font-size:13px}body.amcompact .amc-tool-row{grid-template-columns:1fr}body.amcompact .amc-tool-row section>div{gap:6px}body.amcompact .amc-timer{display:grid;grid-template-columns:1fr auto;gap:6px}body.amcompact .amc-timer h2{grid-column:1/-1}body.amcompact .amc-timer>div+div{margin:0}body.amcompact .amc-tools-footer button{font-size:12px}body.amcompact .amc-tools-footer p{flex-basis:100%}}

body.amcompact{background-image:linear-gradient(#060b10d9,#060b10df),url('background-desktop-v043.jpg')!important;background-position:center top!important;background-size:cover!important;background-repeat:no-repeat!important}
body.amcompact .amc-random-pair{display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important}
body.amcompact .amc-random-item{display:flex;align-items:center;gap:12px}
body.amcompact .amc-random-item>div{display:flex;flex-direction:column;gap:4px}
body.amcompact .amc-random-item output{font-size:16px;line-height:1;text-align:center}
body.amcompact .amc-die{width:56px;height:56px;flex:0 0 56px;padding:9px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px;background:linear-gradient(135deg,#fff,#eef1f4 50%,#b9c1cb);border:1px solid #eef5ff;border-radius:11px;transform:rotate(-7deg);box-shadow:inset 2px 2px 3px #fff,inset -3px -3px 5px #727b8760,3px 5px 0 #616d7e,5px 9px 14px #0007}
body.amcompact .amc-die i{border-radius:50%;background:radial-gradient(circle at 35% 30%,#344157,#08101e 75%);box-shadow:inset 1px 1px 2px #0009;visibility:hidden}
body.amcompact .amc-die[data-face="1"] i:nth-child(5),body.amcompact .amc-die[data-face="2"] i:nth-child(1),body.amcompact .amc-die[data-face="2"] i:nth-child(9),body.amcompact .amc-die[data-face="3"] i:nth-child(1),body.amcompact .amc-die[data-face="3"] i:nth-child(5),body.amcompact .amc-die[data-face="3"] i:nth-child(9),body.amcompact .amc-die[data-face="4"] i:nth-child(1),body.amcompact .amc-die[data-face="4"] i:nth-child(3),body.amcompact .amc-die[data-face="4"] i:nth-child(7),body.amcompact .amc-die[data-face="4"] i:nth-child(9),body.amcompact .amc-die[data-face="5"] i:nth-child(1),body.amcompact .amc-die[data-face="5"] i:nth-child(3),body.amcompact .amc-die[data-face="5"] i:nth-child(5),body.amcompact .amc-die[data-face="5"] i:nth-child(7),body.amcompact .amc-die[data-face="5"] i:nth-child(9),body.amcompact .amc-die[data-face="6"] i:nth-child(1),body.amcompact .amc-die[data-face="6"] i:nth-child(3),body.amcompact .amc-die[data-face="6"] i:nth-child(4),body.amcompact .amc-die[data-face="6"] i:nth-child(6),body.amcompact .amc-die[data-face="6"] i:nth-child(7),body.amcompact .amc-die[data-face="6"] i:nth-child(9){visibility:visible}
body.amcompact .amc-coin{display:flex;align-items:center;justify-content:center;width:60px;height:60px;flex:0 0 60px;border-radius:50%;border:3px solid #ba8834;background:repeating-conic-gradient(#f6d078 0deg 8deg,#b47c24 8deg 11deg);box-shadow:inset 0 0 0 2px #ffeeb0,2px 4px 0 #765222,4px 7px 14px #0008}
body.amcompact .amc-coin b{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border:1px solid #926b2c;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff0ae,#d5a64a 60%,#a57423);color:#876124;text-shadow:1px 1px #fff0a9;font-size:20px;letter-spacing:-2px;box-shadow:inset 0 0 0 2px #ebc978}
body.amcompact .amc-toss{animation:amc-toss .35s ease-out}body.amcompact .amc-flip{animation:amc-flip .45s ease-out}
@keyframes amc-toss{0%{transform:rotate(-7deg)}50%{transform:translateY(-8px) rotate(18deg)}100%{transform:rotate(-7deg)}}@keyframes amc-flip{0%{transform:rotateY(0)}50%{transform:rotateY(180deg)}100%{transform:rotateY(360deg)}}
@media(max-width:700px){body.amcompact .amc-random-pair{gap:8px!important}body.amcompact .amc-random-item{gap:8px}body.amcompact .amc-die{width:48px;height:48px;flex-basis:48px;padding:7px}body.amcompact .amc-coin{width:50px;height:50px;flex-basis:50px}body.amcompact .amc-coin b{width:37px;height:37px;font-size:17px}body.amcompact .amc-random-item button{font-size:13px}}
@media(max-width:700px){body.amcompact .amc-tabs{scrollbar-width:none}body.amcompact .amc-tabs::-webkit-scrollbar{display:none}body.amcompact .amc-timer{display:block}body.amcompact .amc-timer>div{display:flex;flex-wrap:nowrap;gap:7px}body.amcompact .amc-timer>div+div{margin-top:5px}body.amcompact .amc-timer input{width:52px;min-height:36px}body.amcompact #amc-time{font-size:26px;margin-left:auto}body.amcompact .amc-life{gap:4px;padding:8px}body.amcompact .amc-life h2{font-size:14px}body.amcompact .amc-tools-footer p{font-size:11px;line-height:1.2}body.amcompact .amc-random-item>div{gap:3px}body.amcompact .amc-tools-footer{margin-top:6px}}
@media(max-width:700px){body.amcompact .amc-life{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:4px}body.amcompact .amc-life h2{font-size:13px;white-space:nowrap;line-height:1.1}body.amcompact .amc-life output{font-size:25px;line-height:1.1;white-space:nowrap}body.amcompact .amc-life-buttons,body.amcompact .amc-custom{grid-column:1/-1}}
@media(max-width:360px){body.amcompact .amc-life h2{font-size:12px}body.amcompact .amc-life output{font-size:23px}body.amcompact .amc-life{padding:7px}}
/* Subtle artwork visibility; keep text and controls fully opaque. */
body.amcompact{background-image:linear-gradient(#060b10c7,#060b10cf),url('background-desktop-v043.jpg')!important}
body.amcompact .amc-card,body.amcompact .amc-info{background:linear-gradient(135deg,#10212bdc,#0b141ee0 68%)}
body.amcompact .amc-life{background:linear-gradient(145deg,#182c2570,#0b1726d9)}
body.amcompact .amc-life:nth-child(2){background:linear-gradient(145deg,#12263970,#0b1726d9)}
body.amcompact input{background:linear-gradient(145deg,#12202be6,#0b151fe6)}
body.amcompact .amc-deck-row{background:linear-gradient(145deg,#07131ce0,#0a151ee0)}
@media(max-width:700px){body.amcompact .amc-bottom{background:linear-gradient(180deg,#111f28e8,#08121be8)}body.amcompact .amc-mobile-actions .amc-secondary{background:linear-gradient(145deg,#11221be0,#0b1717e0)}}
/* More visible artwork with translucent controls and opaque labels. */
body.amcompact{background-image:linear-gradient(#060b10ad,#060b10b8),url('background-desktop-v043.jpg')!important}
body.amcompact .amc-card,body.amcompact .amc-info{background:linear-gradient(135deg,#10212bb8,#0b141ebf 68%)}
body.amcompact .amc-life{background:linear-gradient(145deg,#182c254d,#0b1726a6)}
body.amcompact .amc-life:nth-child(2){background:linear-gradient(145deg,#1226394d,#0b1726a6)}
body.amcompact input{background:linear-gradient(145deg,#12202bb3,#0b151fb3)}
body.amcompact .amc-deck-row{background:linear-gradient(145deg,#07131eb3,#0a151eb3)}
body.amcompact .amc-tools button{background:#142331b3}
body.amcompact .amc-life-buttons button{background:linear-gradient(#672830b3,#42222ab3)}
body.amcompact .amc-life-buttons button[data-delta="100"]{background:linear-gradient(#2b572db3,#1c3826b3)}
body.amcompact .amc-button,body.amcompact .amc-search button,body.amcompact #amc-timer-toggle{background:linear-gradient(165deg,#aeff63cc,#75f233cc)}
@media(max-width:700px){body.amcompact .amc-bottom{background:linear-gradient(180deg,#111f28cc,#08121bcc)}body.amcompact .amc-mobile-actions .amc-secondary{background:linear-gradient(145deg,#11221ba6,#0b1717a6)}}
/* Compact mobile tabletop controls; preserve every tool and graphic. */
body.amcompact .amc-info:has(#amc-panel-tools:not([hidden])){background:linear-gradient(135deg,#10212b9e,#0b141eab 68%)}
body.amcompact .amc-tools .amc-life{background:linear-gradient(145deg,#182c253d,#0b172680)}
body.amcompact .amc-tools .amc-life:nth-child(2){background:linear-gradient(145deg,#1226393d,#0b172680)}
body.amcompact .amc-tools input,body.amcompact .amc-tools button{background:#1423318c}
body.amcompact .amc-tools .amc-life-buttons button{background:linear-gradient(#6728308c,#42222a8c)}
body.amcompact .amc-tools .amc-life-buttons button[data-delta="100"]{background:linear-gradient(#2b572d8c,#1c38268c)}
body.amcompact .amc-tools #amc-timer-toggle{background:linear-gradient(165deg,#aeff63b8,#75f233b8)}
@media(max-width:700px){
 body.amcompact .amc-tools{padding:8px}
 body.amcompact .amc-tools .amc-life-grid{gap:6px}
 body.amcompact .amc-tools .amc-life{padding:6px;gap:4px}
 body.amcompact .amc-tools .amc-life h2{font-size:12px}
 body.amcompact .amc-tools .amc-life output{font-size:24px;min-width:0;letter-spacing:-.3px}
 body.amcompact .amc-tools button{min-height:38px;padding:4px 7px}
 body.amcompact .amc-tools .amc-life-buttons button{padding:4px 1px;font-size:12px}
 body.amcompact .amc-tools .amc-custom input{min-height:38px;padding:3px 5px;font-size:13px;min-width:0;width:0;flex:1 1 0}
 body.amcompact .amc-tools .amc-custom button{min-width:30px;padding:3px;font-size:20px}
 body.amcompact .amc-tools .amc-tool-row{margin-top:7px;gap:8px}
 body.amcompact .amc-tools .amc-tool-row section{padding-top:6px}
 body.amcompact .amc-tools .amc-tool-row h2{margin-bottom:5px}
 body.amcompact .amc-tools .amc-random-item{gap:6px}
 body.amcompact .amc-tools .amc-random-item button{font-size:12px;white-space:nowrap}
 body.amcompact .amc-tools .amc-timer input{min-height:34px}
 body.amcompact .amc-tools #amc-time{font-size:25px}
 body.amcompact .amc-tools .amc-tools-footer{gap:6px;margin-top:6px}
}
@media(max-width:360px){body.amcompact .amc-tools .amc-life output{font-size:21px}body.amcompact .amc-tools .amc-custom button{min-width:28px}}
@media(max-width:700px){body.amcompact .amc-tools .amc-custom input{appearance:textfield;-moz-appearance:textfield}body.amcompact .amc-tools .amc-custom input::-webkit-inner-spin-button,body.amcompact .amc-tools .amc-custom input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}}@media(max-width:360px){body.amcompact .amc-tools .amc-custom input{padding:3px 2px;font-size:12px}}
/* Approved locals sidebar and smoked-glass polish. */
body.amcompact .amc-card,body.amcompact .amc-info{border-color:#81bbcf85;box-shadow:inset 0 1px #b8f5ff25,0 0 15px #64dbf20c,0 8px 22px #0003}
body.amcompact .amc-button{background:linear-gradient(165deg,#356d36b8,#123829c9);color:#f0fff0;border-color:#9cf16cb3;box-shadow:inset 0 1px #d1ffbf35,0 0 10px #79ff4220}
body.amcompact .amc-button:hover{background:linear-gradient(#3c8041cd,#215532d9);color:#fff;box-shadow:0 0 14px #8dff4333}
body.amcompact .amc-secondary{background:#14233180;color:#c2ff93}
body.amcompact .amc-tools-layout{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:12px}
body.amcompact .amc-tools-layout:not(:has(.amc-rankings)){grid-template-columns:1fr}
body.amcompact .amc-tools-controls{min-width:0}
body.amcompact .amc-tools .amc-custom input{width:0;min-width:0;flex:1 1 0}
body.amcompact .amc-rankings{display:grid;grid-template-rows:1fr 1fr;gap:10px;min-width:0}
body.amcompact .amc-ranking{border:1px solid #83b6c57d;border-radius:9px;padding:14px;background:linear-gradient(135deg,#18344873,#091222a3);box-shadow:inset 0 1px #b1f4ff26;display:flex;flex-direction:column;gap:7px;min-width:0}
body.amcompact .amc-ranking h2{font-size:19px;margin:0;color:#f1f6fc}
body.amcompact .amc-ranking p{font-size:13px;margin:0;color:#d2dfec;overflow-wrap:anywhere}
body.amcompact .amc-leader{font-size:22px;overflow-wrap:anywhere}
body.amcompact .amc-my-rank{font-size:38px;color:#b2ff77;line-height:1.1;font-variant-numeric:tabular-nums}
body.amcompact .amc-my-rank small{font-size:23px;color:#c5d2de}
body.amcompact .amc-ranking .amc-small-link{font-size:12px;margin-top:auto}
body.amcompact .amc-tools .amc-life-buttons button{background:linear-gradient(#4b1c2766,#23121b80);box-shadow:inset 0 1px #fbd0d010}
body.amcompact .amc-tools .amc-life-buttons button[data-delta="100"]{background:linear-gradient(#1c452c66,#10261c80)}
body.amcompact .amc-tools #amc-timer-toggle{background:linear-gradient(#356d36b8,#123829c9);color:#f0fff0;border-color:#9cf16cb3;box-shadow:inset 0 1px #d1ffbf35}
@media(min-width:701px) and (max-width:1100px){body.amcompact .amc-tools .amc-tool-row{grid-template-columns:1fr}body.amcompact .amc-tools .amc-custom button{min-width:34px}body.amcompact .amc-tools .amc-life{padding:8px}body.amcompact .amc-tools .amc-life output{font-size:28px}}
@media(max-width:700px){body.amcompact .amc-tools-layout{grid-template-columns:1fr;gap:10px}body.amcompact .amc-rankings{grid-template-columns:1fr 1fr;grid-template-rows:auto;gap:6px}body.amcompact .amc-ranking{padding:10px;gap:5px}body.amcompact .amc-ranking h2{font-size:15px}body.amcompact .amc-leader{font-size:18px}body.amcompact .amc-my-rank{font-size:28px}body.amcompact .amc-my-rank small{font-size:18px}}

/* Keep the complete landscape artwork visible on portrait phones. */
@media(max-width:700px){body.amcompact{background-size:100% 100%,100% auto!important;background-position:center center,center center!important;background-repeat:no-repeat!important;background-attachment:fixed!important;background-color:#060b10!important}}

@media(max-width:700px){body.amcompact{background-image:linear-gradient(#060b10ad,#060b10b8),url('background-mobile-v043.jpg')!important}}

/* Decorative line icons and clearer glass; labels remain fully opaque. */
body.amcompact{background-image:linear-gradient(#060b1094,#060b10a3),url('background-desktop-v043.jpg')!important}
body.amcompact .amc-card,body.amcompact .amc-info{background:linear-gradient(135deg,#10212b80,#0b141e8c 68%)}
body.amcompact .amc-info:has(#amc-panel-tools:not([hidden])){background:linear-gradient(135deg,#10212b73,#0b141e80 68%)}
body.amcompact .amc-ranking{background:linear-gradient(135deg,#18344859,#09122273)}
body.amcompact .amc-tools .amc-life{background:linear-gradient(145deg,#182c252e,#0b172652)}
body.amcompact .amc-tools .amc-life:nth-child(2){background:linear-gradient(145deg,#1226392e,#0b172652)}
body.amcompact input,body.amcompact .amc-tools input{background:#14233166}
body.amcompact .amc-deck-row{background:#0a151e66}
body.amcompact .amc-button,body.amcompact .amc-tools #amc-timer-toggle{background:linear-gradient(165deg,#356d3673,#1238298c)}
body.amcompact .amc-secondary,body.amcompact .amc-tools button{background:#14233166}
body.amcompact .amc-tools .amc-life-buttons button{background:linear-gradient(#4b1c274d,#23121b59)}
body.amcompact .amc-tools .amc-life-buttons button[data-delta="100"]{background:linear-gradient(#1c452c4d,#10261c59)}
body.amcompact .amc-card h2:before,body.amcompact .amc-random h2:before,body.amcompact .amc-timer h2:before,body.amcompact .amc-ranking h2:before,body.amcompact .amc-tabs button:before{content:"";display:inline-block;width:15px;height:15px;margin-right:6px;vertical-align:-2px;background:#b2ff77;mask:var(--amc-icon) center/contain no-repeat;-webkit-mask:var(--amc-icon) center/contain no-repeat}
body.amcompact .amc-play h2{--amc-icon:url('icons/play.svg')}
body.amcompact .amc-decks h2,#amc-tab-decks{--amc-icon:url('icons/cards.svg')}
body.amcompact .amc-shop h2{--amc-icon:url('icons/shop.svg')}
body.amcompact .amc-random h2,#amc-tab-tools{--amc-icon:url('icons/dice.svg')}
body.amcompact .amc-timer h2{--amc-icon:url('icons/clock.svg')}
#amc-tab-news{--amc-icon:url('icons/news.svg')}
#amc-tab-meta{--amc-icon:url('icons/trend.svg')}
#amc-tab-community{--amc-icon:url('icons/community.svg')}
body.amcompact .amc-ranking:first-child h2{--amc-icon:url('icons/crown.svg')}
body.amcompact .amc-ranking:last-child h2{--amc-icon:url('icons/rank.svg')}
body.amcompact .amc-tabs button:before{width:12px;height:12px;margin-right:4px;background:currentColor}
@media(max-width:700px){body.amcompact{background-image:linear-gradient(#060b1094,#060b10a3),url('background-mobile-v043.jpg')!important}body.amcompact .amc-ranking h2:before{width:12px;height:12px;margin-right:4px}body.amcompact .amc-mobile-actions .amc-secondary{background:#14233166}}
/* Phone-first entry to deck building; desktop Play panel remains unchanged. */
@media(max-width:700px){body.amcompact .amc-build-shortcut{display:flex;align-items:center;justify-content:center;gap:7px}body.amcompact .amc-build-shortcut:before{content:"";width:17px;height:17px;flex-shrink:0;background:currentColor;mask:url('icons/cards.svg') center/contain no-repeat;-webkit-mask:url('icons/cards.svg') center/contain no-repeat}body.amcompact .amc-bottom a{flex:1;min-width:0;text-align:center}}
