@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans','Noto Sans TC',sans-serif;color:#1e3129;background:#f8f9f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.shell{width:min(1240px,calc(100% - 64px));margin:auto}.topline{background:#173e34;color:#d9eee5;padding:8px 32px;text-align:center;font-size:18px;letter-spacing:.08em}.topline span{margin-left:16px;color:#a5cbbc}.site-header{position:sticky;top:0;z-index:10;background:rgba(248,249,246,.96);backdrop-filter:blur(16px);border-bottom:1px solid #e4e9e2}.header-inner{min-height:80px;display:flex;align-items:center;gap:36px}.brand{display:flex;align-items:center;gap:9px;font-weight:800;font-size:22px;line-height:1;letter-spacing:-.05em;white-space:nowrap}.brand small{display:block;font-size:18px;font-weight:600;letter-spacing:.2em;color:#80958a;margin-top:5px}.brand-mark{width:32px;height:32px;border-radius:10px;background:#b8f0cb;color:#174734;display:grid;place-items:center;font-size:18px;transform:rotate(-12deg)}.brand-accent{color:#499b71}.nav{display:flex;gap:5px;flex:1}.nav-button,.footer-links button{border:0;background:transparent;color:#708177;font-size:18px;font-weight:600;padding:12px 13px;border-radius:9px;white-space:nowrap}.nav-button:hover,.nav-button.active{color:#184b38;background:#e8f1e9}.auth-area{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:18px}.auth-area img{width:30px;height:30px;border-radius:50%}.auth-area button{border:0;background:transparent;color:#667d70;font-size:18px}.auth-area .login{border:1px solid #b4d8c2;background:white;border-radius:9px;padding:10px 13px;color:#20543c;font-weight:700}.skeleton{display:block;background:#e5ebe4;border-radius:8px;width:116px;height:32px}.page{display:none;padding:64px 0 88px;min-height:65vh}.page.active{display:block}.hero{display:grid;grid-template-columns:1.08fr .92fr;min-height:486px;overflow:hidden;background:#e8f1e8;border-radius:24px}.hero-copy{padding:68px 60px 56px}.eyebrow,.kicker{font-size:18px;letter-spacing:.19em;color:#458464;font-weight:800}.eyebrow{display:flex;align-items:center;gap:10px}.pulse,.live-dot:before{width:7px;height:7px;background:#59bd7b;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #ccefd6}.hero h1{font-size:clamp(44px,5vw,72px);line-height:1.18;letter-spacing:-.07em;margin:31px 0 20px;font-weight:800}.hero h1 em{color:#3c9770;font-style:normal}.hero p{color:#5e7669;line-height:1.95;font-size:18px;max-width:450px}.hero-actions{display:flex;gap:11px;margin-top:30px;flex-wrap:wrap}.button{border:1px solid transparent;border-radius:11px;padding:13px 19px;font-size:18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:22px}.button.primary{background:#20684c;color:white;box-shadow:0 9px 20px #1d6a4722}.button.primary:hover{background:#17583e}.button.secondary{background:white;color:#20543e;border-color:#d8e5dc}.button:disabled{opacity:.45;cursor:not-allowed}.hero-card{margin:42px 42px 42px 0;background:#fff;border:1px solid #e6eee5;border-radius:20px;box-shadow:0 22px 50px #12472b12;padding:26px 27px;position:relative;overflow:hidden}.hero-card-head,.hero-card-foot{display:flex;justify-content:space-between;font-size:18px;letter-spacing:.1em;color:#7d9587;font-weight:700}.live-dot{color:#539e70}.live-dot:before{width:6px;height:6px;box-shadow:none;margin-right:6px}.hero-graphic{height:300px;display:grid;place-items:center;position:relative}.hero-graphic strong{font-size:39px;line-height:1.35;letter-spacing:-.045em;z-index:1;color:#1a5a3f;text-align:center}.ring{border-radius:50%;position:absolute;border:1px solid #cfebd5}.ring-a{width:290px;height:290px;background:#eaf7e9}.ring-b{width:230px;height:230px;border-color:#c8e8ce;background:#ddf0de}.ring-c{width:170px;height:170px;border-color:#b8dec2;background:#ceead2}.status-strip{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 30px;background:#fff;border:1px solid #e4eae3;border-radius:16px;margin-top:22px;box-shadow:0 5px 15px #183d2810}.status-strip>div{border-right:1px solid #e9eee8;padding-left:21px}.status-strip>div:first-child{padding-left:0}.status-strip>div:last-child{border:0}.label{display:block;color:#97a69a;font-size:18px;margin-bottom:9px}.status-strip strong{font-size:18px;color:#26533d}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:74px 0 24px}.section-heading h2,.page-heading h1{margin:9px 0 0;letter-spacing:-.05em;font-size:34px}.section-heading p,.page-heading p{color:#74877b;font-size:18px}.market-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.market-card{text-align:left;border:1px solid #e6eae4;background:#fff;border-radius:17px;padding:25px;min-height:209px;display:flex;flex-direction:column;align-items:start;transition:transform .15s,box-shadow .15s}.market-card:hover{transform:translateY(-3px);box-shadow:0 13px 25px #13402812}.market-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:18px;font-weight:800;margin-bottom:23px}.mint{background:#dcf4e1;color:#388159}.peach{background:#ffeddd;color:#aa7652}.lilac{background:#ece9fc;color:#7666ab}.lemon{background:#f5f0d2;color:#82772f}.market-card strong{font-size:20px}.market-card small{color:#8d9f94;margin-top:6px;font-size:18px}.market-card>span:last-child{font-size:18px;color:#2c8b5b;font-weight:700;margin-top:auto;padding-top:20px}.home-note,.rank-note{margin-top:30px;background:#ecf4ed;border-radius:15px;display:flex;align-items:center;gap:20px;padding:20px 25px}.home-note>span,.rank-note>span{font-size:23px;color:#569e6c}.home-note p,.rank-note p{font-size:18px;color:#54715e;line-height:1.8;flex:1;margin:0}.home-note button{border:0;background:transparent;color:#267853;font-weight:700;font-size:18px;white-space:nowrap}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:32px}.page-heading h1{font-size:40px}.page-heading p{margin:12px 0 0;line-height:1.7}.badge{border:1px solid #d8e8dc;border-radius:99px;padding:9px 13px;background:#eef5ee;color:#38805d;font-size:18px;font-weight:700;white-space:nowrap}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:19px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;border:1px solid #dde7de;background:#fff;border-radius:11px;padding:0 15px;min-width:300px;height:43px;color:#829588}.search span{font-size:25px}.search input{border:0;outline:0;background:transparent;width:100%;font-size:18px;color:#284c38}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip{border:1px solid #e1e8df;background:#fff;color:#6f8375;border-radius:8px;padding:10px 14px;font-size:18px;font-weight:700}.chip.selected{background:#23684e;border-color:#23684e;color:white}.panel{border:1px solid #e5ebe3;background:white;border-radius:16px;overflow:hidden}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:700px}th{font-size:18px;letter-spacing:.06em;color:#9daaa0;background:#fbfcfa;font-weight:700;text-align:left;padding:17px 22px}td{border-top:1px solid #eef1eb;padding:16px 22px;font-size:18px;color:#577063}td strong{color:#233f30}td small{display:block;color:#9aa99e;margin-top:3px}.right{text-align:right}.table-action{border:1px solid #cce3d2;background:#eff7ef;color:#2c8053;border-radius:8px;padding:8px 13px;font-size:18px;font-weight:700}.table-action:hover{background:#deefdf}.table-action:disabled{opacity:.5}.market-tag{background:#f1f5f0;padding:5px 8px;border-radius:5px;color:#668273;font-size:18px}.market-tag.創新板{background:#f6f2df;color:#887f42}.market-tag.興櫃{background:#eeeafa;color:#7465a0}.market-tag.上櫃{background:#fff1e7;color:#aa7758}.empty{text-align:center!important;color:#99a99c!important;padding:32px!important}.table-footer{border-top:1px solid #e9eee7;padding:15px 22px;display:flex;justify-content:space-between;align-items:center;color:#95a397;font-size:18px}.pager{display:flex;align-items:center;gap:12px}.pager button{background:transparent;border:0;color:#347e58;font-size:18px;font-weight:700}.pager button:disabled{opacity:.3}.disclaimer-small{font-size:18px;color:#829587;line-height:1.6}.rank-toolbar{justify-content:space-between}.rank-number{font-size:18px;color:#44845c;font-weight:800}.return{font-weight:800}.return.negative{color:#4f8d70}.return.positive{color:#cb7163}.rank-note{margin-top:18px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:17px}.stat-card{background:white;border:1px solid #e4ebe3;border-radius:15px;padding:22px;min-height:134px}.stat-card span{font-size:18px;color:#799082}.stat-card strong{display:block;font-size:24px;letter-spacing:-.045em;margin:13px 0 4px}.stat-card small{color:#9dad9f;font-size:18px}.stat-card.highlighted{background:#21684c;border-color:#21684c;color:white}.stat-card.highlighted span,.stat-card.highlighted small{color:#c3e2ce}.account-grid,.history-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:17px;margin-bottom:17px}.history-grid{grid-template-columns:1fr 1fr}.panel-title{display:flex;justify-content:space-between;align-items:center;padding:23px 24px;border-bottom:1px solid #eef0ec}.panel-title h2{font-size:18px;letter-spacing:-.04em;margin:6px 0 0}.panel-title small{font-size:18px;color:#9ca99e}.account-grid table{min-width:0}.account-grid th,.account-grid td{padding:14px 20px}.settlements{padding:14px 20px;min-height:140px}.settlement-item,.history-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #eef1eb;font-size:18px}.settlement-item:last-child,.history-item:last-child{border:0}.settlement-item small,.history-item small{display:block;color:#a4b0a6;font-size:18px;margin-top:4px}.privacy-box{background:#f1f6f0;margin:0 16px 16px;padding:17px;border-radius:10px}.privacy-box strong{font-size:18px}.privacy-box p{font-size:18px;color:#637e6b;margin:6px 0}.privacy-box small{color:#98a99b;font-size:18px}.history-list{max-height:440px;overflow:auto;padding:5px 20px}.history-item b{font-size:18px;white-space:nowrap}.history-item b.minus{color:#b56358}.history-item b.plus{color:#38865d}.login-callout{border-radius:16px;background:#eaf5e9;text-align:center;padding:70px 20px}.login-callout h2{font-size:25px}.login-callout p{color:#67816f}.login-callout .button{margin-top:15px}.hidden{display:none!important}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.prose{padding:28px}.prose h2,.source-panel h2{font-size:21px;margin:9px 0 18px}.prose p,.source-panel p{font-size:18px;color:#647c6c;line-height:2;margin:0 0 14px}.source-panel{margin-top:17px;background:#e9f2e9;border-radius:16px;padding:30px}.source-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.source-links a{font-size:18px;font-weight:700;background:white;border:1px solid #d7e6d8;border-radius:8px;padding:9px 11px;color:#327a50}.footer{border-top:1px solid #e5ebe2;background:#f1f5ef;padding:38px 0}.footer-inner{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:36px}.footer p,.footer small,.footer-links{font-size:18px;color:#8aa08f}.footer-links{display:flex;gap:15px;align-items:center}.footer-links button{font-size:18px;color:#6e8775}.modal{width:min(470px,calc(100% - 32px));border:1px solid #dfeadf;border-radius:18px;box-shadow:0 25px 80px #1038253d;padding:28px;background:#fff;color:#274735}.modal::backdrop{background:#11291d75}.modal form{position:absolute;right:16px;top:10px}.modal-close{background:transparent;border:0;font-size:26px;color:#8ba395}.modal h2{font-size:25px;letter-spacing:-.04em;margin:9px 0}.modal p{font-size:18px;color:#758b7b;line-height:1.8}.modal .quote{font-size:28px;font-weight:800;margin:23px 0;color:#225c42}.modal .modal-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf1eb;padding:10px 0;font-size:18px}.modal .modal-row span{color:#829687}.modal .quantity{display:flex;align-items:center;gap:10px;margin:18px 0}.modal .quantity input{flex:1;min-width:0;border:1px solid #dce8dc;border-radius:9px;padding:10px}.modal .button{width:100%;margin-top:16px}.modal .side-select{display:flex;gap:8px;margin-top:16px}.modal .side-select button{flex:1;background:#f4f7f2;border:1px solid #e5eae3;border-radius:8px;padding:10px;color:#6d8271}.modal .side-select button.selected{background:#e2f2e6;border-color:#8aca9e;color:#236644}.peek-holding{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf1eb;font-size:18px}.toast{position:fixed;bottom:28px;right:28px;z-index:30;background:#204f3a;color:white;border-radius:11px;box-shadow:0 15px 40px #16372335;padding:13px 18px;max-width:330px;opacity:0;transform:translateY(15px);pointer-events:none;transition:.2s;font-size:18px;line-height:1.6}.toast.show{opacity:1;transform:none}@media(max-width:1020px){.header-inner{gap:12px}.nav{overflow:auto}.nav-button{padding:10px 8px}.hero-copy{padding:50px 35px}.hero-card{margin:28px 28px 28px 0}.market-cards{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.footer-inner{grid-template-columns:1fr auto}.footer-inner small{grid-column:1/-1}}@media(max-width:700px){.shell{width:min(100% - 30px,1240px)}.topline{font-size:18px}.topline span{display:none}.header-inner{min-height:65px;flex-wrap:wrap;padding:10px 0}.brand{font-size:18px}.brand-mark{width:27px;height:27px}.nav{order:3;width:100%;flex-basis:100%}.nav-button{font-size:18px}.auth-area{margin-left:auto}.auth-area .name{display:none}.page{padding:37px 0 60px}.hero{grid-template-columns:1fr}.hero-copy{padding:42px 28px}.hero h1{font-size:44px}.hero-card{margin:0 20px 20px}.hero-graphic{height:220px}.ring-a{width:200px;height:200px}.ring-b{width:155px;height:155px}.ring-c{width:115px;height:115px}.hero-graphic strong{font-size:29px}.status-strip{grid-template-columns:1fr 1fr;gap:20px}.status-strip>div{padding-left:0;border:0}.section-heading{margin-top:48px}.market-cards{gap:9px}.market-card{padding:18px;min-height:175px}.home-note{align-items:start}.home-note button{display:none}.page-heading{align-items:start}.page-heading h1{font-size:31px}.page-heading .badge{display:none}.search{width:100%;min-width:0}.toolbar{display:block}.toolbar .chips{margin-top:13px}.chip{padding:9px 10px}.stats-grid,.account-grid,.history-grid,.about-grid{grid-template-columns:1fr}.stat-card{min-height:115px}.footer-inner{display:block}.footer-links{margin:25px 0;flex-wrap:wrap}.rank-toolbar{display:flex}.rank-toolbar .chips{margin-top:0}}
.account-tools{display:flex;justify-content:flex-end;gap:16px;align-items:center;padding:12px 5px;color:#708879;font-size:18px}.account-tools button{border:0;background:transparent;color:#b47069;font-size:18px}
.mobile-hint{display:none;color:#6e927b;font-size:18px;margin:0 0 10px}@media(max-width:700px){.mobile-hint{display:block}}

/* Readable typography and shared feedback styles */
html{font-size:18px}
body{font-size:18px;line-height:1.55}
small{font-size:18px}
button,input,a{font-size:inherit}
button,input{min-height:44px}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #158357;outline-offset:3px}
.label,.eyebrow,.kicker,th,td small,.stat-card small,.panel-title small,.history-item small,.footer p,.footer small,.footer-links,.market-card small,.modal p,.disclaimer-small{color:#516b5b}
.topline{line-height:1.4}
.brand{line-height:1.15}.brand small{letter-spacing:.04em}
.nav-button,.chip,.table-action,.pager button{min-height:44px}
.hero p,.prose p,.source-panel p{line-height:1.75}
.table-wrap td,.table-wrap th{line-height:1.45}
.status-message{display:flex;align-items:flex-start;gap:16px;margin:20px 0 26px;padding:20px 24px;border:1px solid #b9d8c3;border-radius:16px;background:#edf7ef;color:#225c3d}
.status-message[data-type="warning"]{background:#fff7e8;border-color:#e9d3a8;color:#715327}
.status-icon,.notice-icon{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#d3edda;font-weight:800}
.status-message[data-type="warning"] .status-icon{background:#f8e4b9}
.status-message strong{display:block;font-size:21px;line-height:1.4}
.status-message p{margin:5px 0 0;line-height:1.6;color:inherit}
.notice[hidden]{display:none!important}
.notice{position:fixed;z-index:50;right:22px;bottom:22px;width:min(460px,calc(100vw - 44px));display:flex;align-items:flex-start;gap:14px;padding:20px;background:#f0f7f2;border:1px solid #9ccdae;border-left:6px solid #258356;border-radius:15px;color:#1d5035;box-shadow:0 18px 50px #0c271e30}
.notice[data-type="error"]{background:#fff2f0;border-color:#d49a94;border-left-color:#b53d32;color:#772f2a}
.notice[data-type="warning"]{background:#fff8ec;border-color:#e3c390;border-left-color:#a66a19;color:#684713}
.notice[data-type="info"]{background:#eef5fa;border-color:#a7c3d4;border-left-color:#367397;color:#234e66}
.notice[data-type="error"] .notice-icon{background:#f7dcd8}
.notice[data-type="warning"] .notice-icon{background:#f8e5bd}
.notice[data-type="info"] .notice-icon{background:#d7eaf5}
.notice-content{min-width:0;flex:1}.notice-content strong{display:block;font-size:19px}.notice-content p{margin:4px 0 0;line-height:1.5;overflow-wrap:anywhere}
#notice-close{min-height:44px;min-width:44px;border:0;background:transparent;color:inherit;font-size:28px;line-height:1;align-self:flex-start}
.modal{max-height:calc(100dvh - 32px);overflow-y:auto}
.modal .quote small{font-size:18px;font-weight:500;color:#516b5b}
.confirm-dialog{width:min(540px,calc(100% - 32px))}
.confirm-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f7e7c7;color:#795619;font-weight:800}
.confirm-input-wrap{display:grid;gap:8px;font-weight:700;margin-top:18px}
.confirm-input-wrap input{width:100%;border:1px solid #9fb9a6;border-radius:9px;padding:10px 12px;background:#fff}
.confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.confirm-actions .button{margin:0;width:auto;flex:1}
.button.danger{background:#a8342e;color:#fff}
.table-action:disabled,.button:disabled{opacity:.65;color:#435a49}
@media(max-width:1020px){
  .header-inner{gap:14px}.nav{overflow-x:auto;scrollbar-width:thin}.nav-button{flex:0 0 auto}
  .status-strip{gap:12px}.status-strip>div{padding-left:12px}
  .footer-inner{gap:20px}
}
@media(max-width:800px){
  .shell{width:calc(100% - 32px)}
  .topline{padding:10px 16px}.topline span{display:none}
  .site-header{position:sticky;top:0}.header-inner{padding:12px 0;min-height:0;gap:8px 14px;flex-wrap:wrap}
  .brand{font-size:21px}.brand small{font-size:18px;letter-spacing:0}
  .auth-area{margin-left:auto;max-width:45%;white-space:normal;text-align:right}.auth-area .name{display:none}
  .nav{order:3;flex:0 0 100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:4px;padding-bottom:4px;overflow:visible}
  .nav-button{padding:8px 6px;white-space:normal;text-align:center}
  .page{padding:30px 0 64px}
  .hero{grid-template-columns:1fr}.hero-copy{padding:36px 26px 24px}.hero h1{font-size:clamp(40px,10vw,58px);letter-spacing:-.05em}.hero p{max-width:none}
  .hero-card{margin:0 20px 20px}.hero-card-head,.hero-card-foot{gap:15px;flex-wrap:wrap}
  .hero-graphic{height:220px}.ring-a{width:200px;height:200px}.ring-b{width:155px;height:155px}.ring-c{width:115px;height:115px}.hero-graphic strong{font-size:29px}
  .status-strip{grid-template-columns:1fr 1fr;padding:18px;gap:16px}.status-strip>div{padding:0!important;border:0}
  .status-message{padding:17px;gap:12px}.status-message strong{font-size:20px}
  .section-heading{align-items:flex-start;display:block;margin-top:50px}.section-heading p{margin:12px 0 0}
  .market-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market-card{min-height:185px;padding:17px}.market-card small,.market-card>span:last-child{line-height:1.4}
  .home-note,.rank-note{padding:18px;align-items:start}.home-note button{display:none}
  .page-heading{display:block;margin-bottom:20px}.page-heading h1{font-size:clamp(32px,8vw,40px)}.page-heading .badge{display:inline-flex;margin-top:14px}
  .search{width:100%;min-width:0;height:auto;min-height:54px}.search input{min-height:52px}
  .toolbar{display:block}.chips{gap:8px}.toolbar .chips{margin-top:12px}.chip{padding:9px 13px}
  .rank-toolbar{display:block}.rank-toolbar .chips{margin-top:10px}
  .table-wrap{overflow:visible}
  .table-wrap table,.table-wrap tbody{display:block;width:100%;min-width:0}
  .table-wrap thead{display:none}
  .table-wrap tr{display:block;margin:0 0 14px;background:#fff;border:1px solid #dbe8db;border-radius:14px;overflow:hidden}
  .table-wrap td{display:grid;grid-template-columns:minmax(108px,38%) minmax(0,1fr);gap:4px 8px;align-items:center;justify-items:end;width:100%;border:0;border-bottom:1px solid #edf1ec;padding:12px 16px!important;text-align:right!important;overflow-wrap:anywhere}
  .table-wrap td:last-child{border:0}
  .table-wrap td::before{content:attr(data-label);grid-column:1;grid-row:1/span 3;justify-self:start;align-self:start;color:#536c5d;font-weight:700;text-align:left}
  .table-wrap td strong,.table-wrap td small{grid-column:2}
  .table-wrap td small{margin:0;text-align:right}
  .table-wrap td[data-label="操作"]{display:block;text-align:initial!important}
  .table-wrap td[data-label="操作"]::before,.table-wrap td.empty::before{display:none}
  .table-wrap td[data-label="操作"] button{width:100%}
  .table-wrap td.empty{display:block}
  .table-panel{border:0;background:transparent;overflow:visible}
  .table-footer{background:#fff;border:1px solid #dbe8db;border-radius:12px;display:block;text-align:center;padding:14px;line-height:1.8}
  .pager{justify-content:space-between;margin-top:10px}.pager button{padding:8px}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:0;padding:17px}.stat-card strong{font-size:21px;overflow-wrap:anywhere}
  .account-grid,.history-grid,.about-grid{grid-template-columns:1fr}
  .account-grid .table-wrap{padding:12px}.account-grid .table-wrap tr{margin-bottom:0}
  .footer-inner{display:block}.footer-links{margin:24px 0;display:flex;flex-wrap:wrap;gap:16px}
  .modal{padding:24px 18px}.modal .quantity{display:block}.modal .quantity input{width:100%;margin-top:8px}
  .account-tools{display:flex;justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:480px){
  .brand{font-size:19px}.auth-area .login{padding:8px}.auth-area{font-size:18px}
  .hero-copy{padding:32px 22px 22px}.hero h1{font-size:42px}.hero-card{margin:0 14px 14px;padding:17px}.hero-card-head{display:none}
  .hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .button{width:100%}
  .status-strip{grid-template-columns:1fr 1fr}.status-strip strong{display:block;overflow-wrap:anywhere}
  .market-cards{grid-template-columns:1fr 1fr}.market-card{min-height:180px;padding:14px}.market-card strong{font-size:19px}.market-icon{margin-bottom:12px}
  .stats-grid{grid-template-columns:1fr 1fr}.stat-card strong{font-size:20px}
  .panel-title{display:block}.panel-title small{display:block;margin-top:8px}
  .history-item{align-items:flex-start;flex-direction:column}.history-item b{white-space:normal}
  .notice{left:12px;right:12px;bottom:12px;width:auto;padding:15px}
  .confirm-actions{flex-direction:column-reverse}
  .confirm-actions .button{width:100%}
}
@media(max-width:360px){.hero h1{font-size:34px}}

/* Ten items per detail page */
.history-list{max-height:none;overflow:visible}
.list-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 20px;border-top:1px solid #e3ebe2;background:#fff;color:#405f4d}
.list-pager .pager{gap:8px}
.list-pager .pager button{border:1px solid #b9d5c2;background:#f3f8f3;border-radius:9px;padding:8px 12px;color:#1d6041;min-height:44px}
.list-pager .pager button:disabled{color:#667b6b;opacity:.65;cursor:not-allowed}
@media(max-width:800px){.table-panel .list-pager{border:1px solid #dbe8db;border-radius:12px}.list-pager{justify-content:center;text-align:center}.list-pager>span{flex-basis:100%}.list-pager .pager{width:100%;justify-content:space-between}}
