/* BSGAI GLOBAL MATCH V2.3 — SUNRISE visual system */
:root{color-scheme:light!important;font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif!important;color:#213b54!important;background:#fffaf0!important;--gold:#f8b925;--ink:#183953;--blue:#1376b5;--line:#e7d9b8}
html{background:#fffaf0!important;scroll-behavior:smooth}body{color:#213b54!important;background:radial-gradient(ellipse at 92% 0%,#fff1a6 0%,transparent 36%),radial-gradient(ellipse at 0% 35%,#dcf5ff 0%,transparent 45%),linear-gradient(150deg,#fffdf8,#fff7df 52%,#eaf8ff)!important;min-height:100vh}
header{background:linear-gradient(110deg,#fffdf7 0%,#fff0bb 57%,#dff5ff 100%)!important;border-bottom:3px solid #f4c64d!important;box-shadow:0 5px 20px #9b731b17!important}
header h1,h1{color:#8a5408!important}h2,h3,.panel h3,.hero h2{color:#174d75!important}small,.muted,.footer,footer{color:#546a7c!important}p,li,td,section,div{border-color:inherit}a{color:#075d9e!important}a:hover{text-decoration:underline}
.hero{background:linear-gradient(118deg,#fff4c4 0%,#fffefa 48%,#d9f3ff 100%)!important;border:2px solid #f4ca63!important;box-shadow:0 14px 35px #d7ad4c22!important;color:#28455a!important;position:relative;overflow:hidden}
.hero:before{content:"";position:absolute;right:-65px;top:-90px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,#fff4a2 0%,#ffd95b70 32%,transparent 70%);pointer-events:none}.hero>*{position:relative}.hero h2{color:#8b5707!important;text-shadow:0 1px 0 #fff!important}
.panel,.plan,.stat,.alliance,.card{background:linear-gradient(150deg,#ffffff 0%,#fffdf6 100%)!important;color:#243d52!important;border:1px solid #e8d6a9!important;box-shadow:0 6px 24px #b9954820!important;border-radius:17px!important}
.alliance{background:linear-gradient(145deg,#fff0b4,#fffdf5)!important;border:2px solid #efc45d!important;font-weight:650!important}.alliance b,.stat strong,.plan strong,.score{color:#b06a04!important}.stat{border-top:4px solid #f4bc38!important}
button,.btn,button.secondary,.tabs button,.tabs button:not(.active){background:linear-gradient(125deg,#ffe578,#ffbd36)!important;color:#493006!important;border:1px solid #d69a23!important;box-shadow:0 3px 0 #c78c2259,0 5px 14px #d5a24a27!important;font-weight:800!important;transition:filter .15s,transform .15s}
button:hover,.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #168bd2!important;outline-offset:2px}
button.secondary,.tabs button:not(.active){background:linear-gradient(130deg,#e9f7ff,#fff5d6)!important;color:#16547a!important;border:1px solid #b8dce9!important;box-shadow:none!important}
input,select,textarea{background:#fff!important;color:#1d3d55!important;border:1px solid #b9cfd9!important;box-shadow:inset 0 1px 2px #cad7de30}input::placeholder,textarea::placeholder{color:#74899b!important}label{color:#31516a!important;font-weight:650!important}
.notice,.hint{background:#fff6d9!important;color:#74501b!important;border:1px solid #efce77!important}.pill{background:#e8f5ff!important;color:#235d82!important;border-color:#c2dfec!important}th{color:#895809!important;background:#fff4d6!important}td{color:#2a445a!important}td,th{border-bottom:1px solid #e5e8e8!important}.empty{color:#657b8c!important}.tabs button.active{background:linear-gradient(120deg,#ffdf67,#ffb42a)!important}
.bsgai-quicklinks{display:flex;flex-wrap:wrap;gap:10px;margin:12px auto 18px;max-width:1350px;padding:0 20px}.bsgai-quicklinks a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;background:linear-gradient(120deg,#ffdf69,#ffc13e);border:2px solid #e4a82e;color:#553400!important;border-radius:12px;padding:11px 15px;font-weight:800;box-shadow:0 5px 14px #b88b3426}.bsgai-quicklinks a:nth-child(even){background:linear-gradient(120deg,#e7f8ff,#ccefff);border-color:#a9dce9;color:#145474!important}.bsgai-quicklinks a:hover{filter:brightness(1.04)}
@media(max-width:700px){header{padding:15px!important}.hero{padding:20px!important}.bsgai-quicklinks{padding:0 12px}.bsgai-quicklinks a{flex:1 1 42%;font-size:13px;padding:11px 8px}main{padding-left:12px!important;padding-right:12px!important}}

.bsgai-v24-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;padding:12px 4%;background:#fff8df;border-bottom:2px solid #f0c75e;position:relative;z-index:2}.bsgai-v24-toolbar a,.bsgai-v24-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #d9a943;border-radius:11px;padding:10px 14px;font:700 14px system-ui,sans-serif;background:#fff!important;color:#244a63!important;text-decoration:none;box-shadow:none!important;cursor:pointer}.bsgai-v24-toolbar .v24-primary{background:#ffd04b!important;color:#523400!important}.bsgai-v24-toolbar .v24-count{background:#e8f7ff;border:1px solid #b3ddec;color:#1b587b;padding:10px 13px;border-radius:11px;font-size:13px}.bsgai-v24-status{font-size:12px;color:#526a7b}@media(max-width:650px){.bsgai-v24-toolbar{padding:10px 12px;gap:7px}.bsgai-v24-toolbar a,.bsgai-v24-toolbar button{flex:1 1 auto;padding:9px;font-size:13px}}
