@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap');

:root { --cream: #f7ecd9; --paper: #fffaf2; --ink: #433127; --muted: #8b786b; --orange: #f27634; --orange-dark: #d95820; --line: rgba(109, 77, 53, .13); --shadow: 0 24px 60px rgba(137, 90, 49, .14); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--cream); font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 4px solid rgba(242, 118, 52, .35); outline-offset: 4px; }
.page-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.topbar { height: 94px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: #fff6dd; background: var(--orange); border: 4px solid #fff8e9; border-radius: 14px 14px 17px 17px; box-shadow: 0 6px 0 #db6029; transform: rotate(-5deg); }
.brand-mark span { font-size: 24px; transform: rotate(5deg); }
.brand-copy { display: grid; gap: 2px; line-height: 1; }.brand-copy strong { font-size: 17px; letter-spacing: .04em; }.brand-copy small { color: var(--muted); font-size: 8px; letter-spacing: .19em; font-weight: 800; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }.online-pill { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; color: #756357; background: rgba(255, 250, 242, .6); font-size: 12px; font-weight: 700; }.online-pill i { width: 7px; height: 7px; border-radius: 50%; background: #62b85b; box-shadow: 0 0 0 4px rgba(98,184,91,.14); }.icon-button { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); font-size: 21px; transition: .2s ease; }.icon-button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(98, 64, 38, .1); }
.hero { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; min-height: 535px; overflow: hidden; padding: 60px 56px 46px; border: 1px solid rgba(255,255,255,.65); border-radius: 42px; background: linear-gradient(135deg, #fffaf2 0%, #f8e9d1 100%); box-shadow: var(--shadow); }.hero::before { content: ''; position: absolute; width: 500px; height: 500px; right: -130px; top: -270px; border-radius: 50%; border: 1px solid rgba(242,118,52,.12); box-shadow: 0 0 0 32px rgba(242,118,52,.035), 0 0 0 65px rgba(242,118,52,.025); }.hero-copy { position: relative; z-index: 2; max-width: 485px; }.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--orange-dark); font-size: 11px; font-weight: 900; letter-spacing: .11em; }.eyebrow span { width: 16px; height: 3px; border-radius: 9px; background: var(--orange); }
h1 { margin: 0; font-size: clamp(45px, 6vw, 78px); line-height: 1.12; letter-spacing: -.07em; font-weight: 900; } h1 em { color: var(--orange); font-style: normal; }.hero-description { max-width: 405px; margin: 23px 0 27px; color: var(--muted); font-size: 14px; line-height: 2; }.hero-actions { display: flex; align-items: center; gap: 20px; }.primary-button, .play-button { border: 0; color: #fff; background: var(--orange); box-shadow: 0 7px 0 #d85d25; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }.primary-button { padding: 14px 21px; border-radius: 15px; font-size: 13px; }.primary-button span { margin-right: 6px; font-size: 18px; vertical-align: -1px; }.primary-button:hover, .play-button:hover { transform: translateY(-3px); box-shadow: 0 10px 0 #d85d25, 0 12px 25px rgba(216, 93, 37, .16); }.primary-button:active, .play-button:active { transform: translateY(3px); box-shadow: 0 3px 0 #d85d25; }.text-button { border: 0; color: var(--ink); background: transparent; font-size: 12px; font-weight: 800; }.mini-star { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 8px; color: #ea8e27; background: #ffdb94; font-size: 12px; }.hero-stats { display: flex; gap: 27px; margin-top: 42px; }.hero-stats div { display: grid; gap: 2px; }.hero-stats strong { font-size: 20px; line-height: 1; }.hero-stats span { color: #a38b7c; font-size: 10px; }
.hero-scene { position: relative; min-height: 430px; margin: -25px -50px -40px -20px; overflow: hidden; border-radius: 35px; background: linear-gradient(#fbe9d1 0 55%, #d4e6ba 55% 100%); }.hero-scene::after { content: ''; position: absolute; right: -10%; bottom: -31%; left: -10%; height: 55%; border-radius: 50% 50% 0 0; background: #c1dda1; box-shadow: inset 0 15px rgba(255,255,255,.2); }.sun-glow { position: absolute; width: 200px; height: 200px; top: 52px; right: 95px; border-radius: 50%; background: rgba(255, 199, 103, .43); filter: blur(10px); }.cloud { position: absolute; width: 90px; height: 28px; border-radius: 20px; background: rgba(255,255,255,.7); }.cloud::before, .cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; }.cloud::before { width: 40px; height: 40px; bottom: 0; left: 15px; }.cloud::after { width: 30px; height: 30px; right: 15px; bottom: 0; }.cloud-one { top: 80px; left: 60px; transform: scale(.7); }.cloud-two { top: 115px; right: 34px; transform: scale(.55); opacity: .8; }.mountain { position: absolute; bottom: 134px; width: 235px; height: 160px; border-radius: 50% 50% 0 0; background: #a4ca7c; }.mountain-left { left: -40px; transform: rotate(-9deg); }.mountain-right { right: -50px; transform: rotate(9deg); background: #8fbd72; }
.hq-building { position: absolute; z-index: 3; bottom: 82px; left: 50%; width: 345px; height: 245px; transform: translateX(-50%); border: 7px solid #eb975e; border-bottom-width: 11px; border-radius: 100px 100px 23px 23px; background: #f9c887; box-shadow: inset 0 0 0 12px #ffe0a9, 0 17px 0 rgba(143, 120, 86, .16); }.building-roof { position: absolute; top: -48px; left: 31px; width: 276px; height: 70px; border: 7px solid #e46d36; border-radius: 80px 80px 20px 20px; background: #f58242; }.roof-star { position: absolute; left: calc(50% - 26px); top: -37px; width: 52px; height: 52px; display: grid; place-items: center; color: #fff4a1; border: 5px solid #e27e37; border-radius: 17px; background: #ffbb4b; font-size: 28px; transform: rotate(10deg); }.building-sign { position: absolute; z-index: 2; top: 24px; left: 50%; width: 192px; padding: 8px 0; transform: translateX(-50%); border: 4px solid #e68a4c; border-radius: 16px; color: #a95129; background: #fff1c9; box-shadow: 0 4px 0 #dc8648; text-align: center; font-size: 14px; font-weight: 900; line-height: 1.25; }.building-sign strong { font-size: 20px; color: #e15e28; }.building-door { position: absolute; bottom: 0; left: 50%; width: 83px; height: 108px; transform: translateX(-50%); display: grid; place-items: center; border: 7px solid #e78147; border-bottom: 0; border-radius: 44px 44px 0 0; background: #ee8e50; color: #ffeeb8; font-size: 46px; }.building-window { position: absolute; top: 111px; width: 47px; height: 52px; border: 6px solid #e27d45; border-radius: 15px; background: #a5d8df; }.window-left { left: 43px; }.window-right { right: 43px; }.pathway { position: absolute; z-index: 2; bottom: -78px; left: 50%; width: 157px; height: 220px; transform: translateX(-50%) perspective(90px) rotateX(12deg); background: #edaa74; }.bush { position: absolute; z-index: 4; bottom: 67px; width: 160px; height: 85px; border-radius: 100% 75% 0 0; background: #76b35f; }.bush-left { left: -10px; transform: rotate(-6deg); }.bush-right { right: -8px; transform: rotate(6deg); background: #6ca955; }.spark { position: absolute; z-index: 5; color: #f09b4a; font-size: 24px; animation: float 3s ease-in-out infinite; }.spark-one { top: 150px; left: 23%; }.spark-two { top: 105px; right: 26%; animation-delay: -1s; }.spark-three { top: 196px; right: 16%; animation-delay: -2s; }
.portal-section { padding: 74px 0 31px; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; }.section-heading .eyebrow { margin-bottom: 9px; }h2 { margin: 0; font-size: 27px; letter-spacing: -.04em; }.section-hint { margin: 0 2px 1px 0; color: #a18e80; font-size: 11px; text-align: right; line-height: 1.7; }.section-hint span { color: #c0aa99; font-size: 10px; }.game-portals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }.game-portal { position: relative; min-width: 0; padding: 13px 13px 16px; border: 1px solid rgba(255,255,255,.82); border-radius: 25px; background: rgba(255,250,242,.75); box-shadow: 0 10px 28px rgba(137,90,49,.06); text-align: left; transition: transform .25s ease, box-shadow .25s ease, border .25s ease; }.game-portal:hover, .game-portal.active { transform: translateY(-7px); box-shadow: 0 19px 35px rgba(137,90,49,.13); }.game-portal.active { border-color: var(--portal-color); }.portal-art { position: relative; display: grid; place-items: center; height: 137px; overflow: hidden; border-radius: 19px; background: var(--portal-bg); }.portal-art::before { content: ''; position: absolute; width: 125px; height: 125px; border: 2px solid rgba(255,255,255,.42); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 0 20px rgba(255,255,255,.1); }.portal-art svg { position: relative; width: 93px; height: 93px; filter: drop-shadow(0 9px 4px rgba(70,45,31,.13)); transition: transform .3s ease; }.game-portal:hover .portal-art svg, .game-portal.active .portal-art svg { transform: scale(1.08) rotate(-3deg); }.portal-chip { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 99px; color: #fff; background: rgba(67,49,39,.23); font-size: 9px; font-weight: 800; }.portal-name { display: block; margin: 14px 5px 2px; font-size: 14px; font-weight: 900; }.portal-caption { display: block; margin: 0 5px; color: #aa9180; font-size: 10px; }.portal-arrow { position: absolute; right: 17px; bottom: 17px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--portal-color); font-size: 14px; opacity: .82; }
.detail-card { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 20px; padding: 19px 22px 19px 19px; border: 1px solid rgba(255,255,255,.9); border-radius: 25px; background: var(--paper); box-shadow: 0 16px 35px rgba(137,90,49,.08); }.detail-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 20px; background: #fce5d4; }.detail-icon svg { width: 62px; height: 62px; }.detail-kicker { margin-bottom: 3px; color: var(--orange-dark); font-size: 10px; font-weight: 900; letter-spacing: .06em; }.detail-content h2 { font-size: 22px; }.detail-content p { margin: 5px 0 8px; color: #927f70; font-size: 12px; }.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #b09a8a; font-size: 10px; }.detail-meta span + span { padding-left: 10px; border-left: 1px solid #eadbca; }.play-button { min-width: 115px; padding: 12px 16px; border-radius: 14px; font-size: 12px; }.play-button span { margin-left: 7px; font-size: 17px; }.footer { display: flex; justify-content: space-between; padding: 41px 3px 28px; color: #ae9787; font-size: 10px; }.footer span:first-child { color: #7b6455; font-weight: 900; }.toast { position: fixed; z-index: 10; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 12px 17px; border: 1px solid rgba(255,255,255,.85); border-radius: 14px; color: #fff; background: #48352b; box-shadow: 0 12px 30px rgba(70,45,31,.18); font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s ease; }.toast.show { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(8deg); } }
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; padding: 48px 40px 0; }.hero-copy { max-width: 600px; }.hero-scene { min-height: 355px; margin: 25px -40px -25px; }.game-portals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .page-shell { width: min(100% - 28px, 520px); }.topbar { height: 80px; }.brand-copy strong { font-size: 15px; }.online-pill { display: none; }.hero { min-height: auto; padding: 36px 24px 0; border-radius: 29px; }.hero-description { font-size: 13px; line-height: 1.8; }.hero-actions { flex-wrap: wrap; gap: 13px; }.hero-stats { gap: 17px; margin: 33px 0 30px; }.hero-stats span { font-size: 9px; }.hero-scene { min-height: 290px; margin: 0 -24px; border-radius: 24px 24px 29px 29px; }.hq-building { bottom: 57px; transform: translateX(-50%) scale(.78); transform-origin: bottom center; }.mountain { bottom: 85px; transform: scale(.8); }.mountain-left { left: -72px; }.mountain-right { right: -72px; }.bush { bottom: 46px; transform: scale(.8); }.bush-right { transform: scale(.8); }.pathway { bottom: -107px; }.section-heading { align-items: start; gap: 15px; }.section-hint { display: none; }.portal-section { padding: 53px 0 23px; }.game-portals { display: flex; overflow-x: auto; margin: 0 -14px; padding: 5px 14px 15px; scroll-snap-type: x mandatory; scrollbar-width: none; }.game-portals::-webkit-scrollbar { display: none; }.game-portal { flex: 0 0 178px; scroll-snap-align: start; padding: 10px 10px 14px; }.portal-art { height: 124px; }.detail-card { grid-template-columns: 61px 1fr; gap: 13px; padding: 15px; }.detail-icon { width: 61px; height: 61px; border-radius: 16px; }.detail-icon svg { width: 48px; height: 48px; }.detail-content h2 { font-size: 18px; }.detail-content p { font-size: 11px; line-height: 1.6; }.detail-meta { gap: 7px; }.detail-meta span + span { padding-left: 7px; }.play-button { grid-column: 1 / -1; width: 100%; }.footer { flex-direction: column; gap: 7px; padding-top: 33px; } }

/* Shopee-like daily games surface */
:root{--shopee-orange:#ee4d2d;--shopee-dark:#d73211;--shopee-bg:#f5f5f5}
body{background:var(--shopee-bg)}.topbar{background:var(--shopee-orange);color:#fff}.brand,.brand-copy strong{color:#fff}.brand-mark{border-color:#fff;background:transparent;color:#fff}.icon-button,.profile-button{color:#fff;background:rgba(255,255,255,.14);border-color:transparent}.online-pill,.streak-pill{color:#fff;background:rgba(255,255,255,.14);border-color:transparent}.hero{border-radius:0;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)}.primary-button,.play-button{background:var(--shopee-orange);box-shadow:0 3px 0 var(--shopee-dark)}.hero h1 em,.eyebrow,.detail-kicker{color:var(--shopee-orange)}
.daily-game-strip{width:min(1200px,calc(100% - 32px));margin:12px auto 0;padding:14px 18px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;border-radius:4px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08)}.daily-game-entry{display:flex;align-items:center;gap:10px;min-width:0;padding:8px;border:0;border-right:1px solid #eee;background:#fff;text-align:left;cursor:pointer}.daily-game-entry:last-child{border-right:0}.daily-game-entry:hover{background:#fff5f2}.daily-game-icon{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;border-radius:50%;font-size:25px;font-weight:900;color:#fff;box-shadow:inset 0 -4px 0 rgba(0,0,0,.08)}.garden-entry .daily-game-icon{background:#86bd62}.bubble-entry .daily-game-icon{background:#e99ab5;letter-spacing:-6px}.match-entry .daily-game-icon{background:#77b7d5}.box-entry .daily-game-icon{background:#bc8bd1}.daily-game-entry strong{display:block;color:#444;font-size:14px;white-space:nowrap}.daily-game-entry small{display:block;margin-top:3px;color:#999;font-size:11px}
.game-modal{width:min(720px,calc(100% - 24px));padding:0;overflow:hidden;border:0;border-radius:4px;background:#fff;box-shadow:0 12px 45px rgba(0,0,0,.28)}.game-modal-header{display:flex;align-items:center;gap:14px;padding:15px 18px;border-bottom:1px solid #eee;background:#fff}.game-modal-header>div:first-child{flex:1}.modal-kicker{color:var(--shopee-orange)!important;font-size:10px;letter-spacing:.08em}.game-modal-header h2{margin:4px 0 0;color:#333;font-size:20px}.game-hud{display:flex;gap:8px}.game-hud span{min-width:54px;padding:7px 8px;border:1px solid #f1e1dc;border-radius:3px;color:#999;background:#fff7f4;font-size:10px;text-align:center}.game-hud b{display:block;color:var(--shopee-orange);font-size:15px}.game-modal-header .modal-close{flex:0 0 auto;width:30px;height:30px}.game-modal-body{padding:0 18px 18px;background:#fff}.game-instructions{display:flex;justify-content:space-between;align-items:center;padding:14px 2px 10px;color:#999;font-size:11px}.game-instructions strong{color:#333;font-size:15px}.game-instructions b{color:var(--shopee-orange)}.game-board{padding:18px;border-radius:5px;background:#fff2ee;border:1px solid #f8c8bc}.game-note{margin:10px 0 0;color:#999;text-align:center;font-size:11px}.garden-board{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:linear-gradient(#f7e2cf,#ffe6d5)}.garden-plant{min-height:78px;border:0;border-radius:12px;background:#ffd1b7;box-shadow:inset 0 -5px 0 rgba(238,77,45,.12);cursor:pointer}.garden-plant::before{content:'🌱';font-size:36px}.garden-plant.watered{background:#cdebbd;transform:translateY(-3px)}.garden-plant.watered::before{content:'🌳'}.bubble-board{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;position:relative;background:#fff0f4}.bubble-target{grid-column:1/-1;padding:8px;text-align:center;color:#777;background:#fff;border-radius:4px;font-size:12px}.bubble-target b{color:#9a54bd}.bubble{aspect-ratio:1;border:4px solid rgba(255,255,255,.85);border-radius:50%;box-shadow:0 5px 0 rgba(0,0,0,.1),inset 7px 7px 0 rgba(255,255,255,.32);cursor:pointer}.bubble.red{background:#ec4d5a}.bubble.blue{background:#55a8df}.bubble.yellow{background:#f7c947}.bubble.green{background:#62bd72}.bubble.purple{background:#a86ed1}.match-board{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:10px;border-radius:8px;background:#d6eff3}.match-tile{aspect-ratio:1;border:3px solid #fff;border-radius:6px;box-shadow:0 3px 0 rgba(0,0,0,.1);cursor:pointer}.match-tile.selected{outline:3px solid var(--shopee-orange);transform:scale(1.05)}.match-tile.red{background:#ed5d5d}.match-tile.blue{background:#5ba8dd}.match-tile.yellow{background:#f7c94d}.match-tile.green{background:#65bd76}.match-tile.purple{background:#a86fd1}.box-board{padding:12px;background:#eedfc9;border-radius:8px}.box-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.box-tile{aspect-ratio:1;display:grid;place-items:center;border:0;border-radius:6px;color:#86674b;background:#f7ead5;font-size:26px;font-weight:800;box-shadow:inset 0 -4px 0 rgba(158,112,72,.12)}.box-tile[data-value="2"],.box-tile[data-value="4"]{background:#fff1d5;color:var(--shopee-orange)}.box-controls{display:flex;justify-content:center;gap:8px;margin-top:12px}.box-controls button{width:36px;height:32px;border:1px solid #f2c0b5;border-radius:4px;color:var(--shopee-orange);background:#fff;font-weight:700}.game-result{padding:22px;text-align:center;border-top:1px solid #eee;background:#fff}.game-result strong,.game-result b{display:block;color:var(--shopee-orange);margin:5px}.game-action-button{margin-top:10px;padding:10px 22px;border:0;border-radius:3px;color:#fff;background:var(--shopee-orange);cursor:pointer}
@media(max-width:600px){.daily-game-strip{width:calc(100% - 20px);display:flex;gap:6px;overflow-x:auto;padding:10px}.daily-game-entry{flex:0 0 150px;border-right:0;padding:6px}.daily-game-icon{flex-basis:50px;width:50px;height:50px;font-size:19px}.daily-game-entry strong{font-size:12px}.game-modal{width:calc(100% - 16px)}.game-board{padding:12px}.garden-board{gap:8px}.garden-plant{min-height:66px}.bubble-board{gap:8px}.game-modal-header h2{font-size:17px}}
