html.dialog-open{overflow:hidden}
.shell{--ord-width:720px;max-width:var(--ord-width);padding-inline:clamp(16px,4vw,28px)}
.shell>.stage,.shell>.result,.shell>.ord-entrances,.shell>.ord-service,.shell>.sister-links,.shell>.ad-slot,.shell>footer{width:100%;max-width:none;margin-left:auto;margin-right:auto}
.result .fortune-slip,.fortune-followup,.fortune-reaction{max-width:none;width:100%}
.fortune-followup{border:0;background:none;padding:16px 0;margin-top:12px}
.fortune-followup .followup-head{align-items:center}.fortune-followup .followup-head strong{font-size:19px}
.fortune-followup .mood-tag{border:0;background:none;padding:0;margin:4px 0 10px}.fortune-followup .followup-reminder{border:0;background:none;padding:0;margin:0;width:100%}
.fortune-reaction h2{font-size:clamp(17px,4.5vw,22px);margin:0 0 14px}
.reaction-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reaction-choices button{min-width:0;padding:10px 4px;display:grid;justify-items:center;gap:7px;line-height:1.25}
.art-slot{display:block;width:52px;height:52px;flex:none;pointer-events:none}.reaction-choices .art-slot{width:clamp(34px,9vw,58px);height:clamp(34px,9vw,58px)}
.ord-entrances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px;margin-bottom:26px}.ord-entry{min-width:0;padding:16px;border:1px solid #68617b;border-radius:16px;background:#ffffff0b;color:#fff8e8;text-decoration:none}.ord-entry a{color:inherit;text-decoration:none}.ord-entry strong,.ord-entry small,.ord-entry #dailyPick{display:block}.ord-entry strong{font-size:19px}.ord-entry small{font-size:13px;margin-top:5px}.ord-entry #dailyPick{font-size:12px;margin-top:9px}.ord-entry #dailyPick a{color:#ffce84;text-decoration:underline}.ord-entry[aria-disabled=true]{opacity:.58}
.ord-service{display:grid;grid-template-columns:96px minmax(0,1fr);gap:20px;align-items:center;padding:20px 0;margin:26px auto;border-block:1px solid #6d6277}.ord-service>.art-slot{width:96px;height:96px}.ord-service h2{margin:0 0 6px;font-size:22px}.ord-service p{margin:0 0 8px;font-size:18px}.ord-service small{line-height:1.5}.ord-service-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.ord-service-actions button{min-height:44px;border:1px solid #ffce84;border-radius:999px;padding:8px 16px;background:#ffce84;color:#24233e;font-weight:800;cursor:pointer}
.ad-slot[hidden]{display:none!important}.ad-slot:not([hidden]){min-height:250px;margin-block:28px;contain:layout paint}
#feedbackDialog form{text-align:left}#feedbackDialog label{display:block;margin:14px 0;font-weight:700}#feedbackDialog select,#feedbackDialog textarea{display:block;width:100%;margin-top:7px;padding:10px;border-radius:10px;border:1px solid #a89aae;background:white;color:#24233e;font:inherit}#feedbackDialog textarea{min-height:130px;resize:vertical}#feedbackDialog button:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:480px){.ord-entrances{gap:7px}.ord-entry{padding:10px 7px}.ord-entry strong{font-size:16px}.ord-entry small{font-size:11px}.ord-service{grid-template-columns:60px minmax(0,1fr);gap:10px}.ord-service>.art-slot{width:60px;height:60px}}
.sister-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.stage-kicker{position:relative;z-index:4;background:#24233ed9;border-radius:999px;padding:5px 9px;align-self:center}
.art-slot,.dialog-art{object-fit:contain}.dialog-art{display:block;margin:0 auto 8px;max-width:88px;max-height:88px}#shiftArt{width:64px;height:64px;margin:0 auto}.ord-service-actions button{display:inline-flex;align-items:center;gap:7px}.ord-service-actions img{object-fit:contain;width:32px;height:32px}.sister-links-grid img{width:42px;height:42px;object-fit:contain;float:left;margin-right:8px}
.closed-stamp{display:block;width:62px;height:62px;object-fit:contain;margin:-12px auto 4px}.closed-stamp[hidden]{display:none}
@media(max-width:480px){.sister-links-grid{gap:7px}.sister-links a{padding:9px 7px}.sister-links a strong{font-size:13px}.sister-links a span{font-size:11px}}
@media(max-width:480px){.ord-entrances{grid-template-columns:1fr}.ord-entry{display:grid;grid-template-columns:46px minmax(0,1fr);gap:4px 10px;padding:12px 14px}.ord-entry .art-slot{grid-row:span 2;width:46px;height:46px}.ord-entry #dailyPick{grid-column:2;margin-top:2px}.ord-entry #dailyPick a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ord-entry strong{font-size:17px}.ord-entry small{font-size:12px}}

/* QA-001 Rev.2: whole-page rhythm. Keep one source for the homepage layout. */
.stage{display:block;min-height:0;padding:365px 14px 24px}
.stage .scene{position:absolute;top:0;right:0;bottom:auto;left:0;width:100%;height:365px;margin:0}
.shift-status{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:9px;min-height:65px;margin:0 auto}
.shift-status .stage-kicker{margin:0;align-self:auto;letter-spacing:.04em;text-align:left;background:#24233ed9}
#shiftArt{display:block;width:64px;height:64px;margin:0;object-fit:contain;flex:none}
.stage .stage-line{margin:3px auto 12px;min-height:0}
.stage .draw-button{display:block;width:min(100%,390px);margin-inline:auto;min-height:60px}
.stage .status{margin:13px 0 0;min-height:18px}
.stage .draw-button:disabled{opacity:.78;cursor:default;transform:none;box-shadow:0 5px 0 #6f5662}
.fortune-followup{margin-top:22px;padding:0;text-align:left}
.fortune-followup .followup-head{min-height:0;align-items:center;flex-wrap:nowrap;gap:12px}
.fortune-followup .followup-head img{display:block;width:76px;height:76px;object-fit:contain;flex:none}
.fortune-followup .mood-tag{display:block;margin:2px 0 9px}
.fortune-followup .followup-reminder{display:block;width:100%}
.fortune-reaction{max-width:none;margin:22px auto 0}
.fortune-reaction h2{margin:0 0 7px}
.reaction-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.reaction-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:110px;padding:4px 2px 8px;border:0;border-bottom:2px solid transparent;border-radius:10px;background:none;font-size:14px;line-height:1.25}
.reaction-choices .art-slot{display:block;width:clamp(68px,11vw,82px);height:clamp(68px,11vw,82px);object-fit:contain}
.reaction-choices button[aria-pressed=true]{background:rgba(255,206,132,.12);border-color:#ffce84;color:#fff8e8}
.ord-entrances{display:block;margin:27px 0 23px}
.ord-entry{padding:0;border:0;background:none;border-radius:0;display:block}
.ord-entry[hidden]{display:none!important}
.ord-entry-main{display:flex;align-items:center;gap:14px;min-height:88px;color:inherit;text-decoration:none}
.ord-entry-main .art-slot{width:88px;height:88px;object-fit:contain;flex:none}
.ord-entry-main>span{min-width:0}
.ord-entry-main strong{font-size:22px}.ord-entry-main small{font-size:14px;margin-top:3px}
.ord-entry #dailyPick{display:block;font-size:13px;line-height:1.5;margin:0 0 0 102px}
.ord-entry #dailyPick a{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;color:#d9c7ea;text-decoration:none;font-size:13px;line-height:1.45}
.ord-entry #dailyPick a:hover,.ord-entry #dailyPick a:focus-visible{color:#ffce84;text-decoration:underline}
.ord-service{display:grid;grid-template-columns:104px minmax(0,1fr);gap:13px;align-items:center;padding:16px 0;margin:20px auto;border-block:1px solid #6d6277}
.ord-service>.art-slot{display:block;width:104px;height:130px;object-fit:contain}
.ord-service-body{min-width:0}.ord-service h2{font-size:20px;margin:0 0 3px}.ord-service p{font-size:15px;margin:0 0 5px}
.ord-service-actions{display:grid;grid-template-columns:1fr;gap:7px;margin:9px 0}
.ord-service-actions button{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:46px;padding:5px 10px;border:1px solid #786889;border-radius:10px;background:#302b49;color:#fff8e8;font-size:14px;line-height:1.25;text-align:left}
.ord-service-actions button:hover{background:#403456;border-color:#c6a873}
.ord-service-actions img{width:32px;height:32px;flex:none;object-fit:contain}
.ord-service small{display:block;font-size:12px;line-height:1.45}
.sister-links{width:100%;max-width:none;margin:0 auto 20px;padding:0;border:0;border-radius:0;background:none}
.sister-links h2{margin:0 0 13px;color:#ffd48e;font-size:18px;line-height:1.4}
.sister-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:start}
.sister-links-grid a{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;min-height:44px;padding:2px 0!important;border:0!important;border-radius:0!important;background:none!important;text-align:center;color:#fff8e8}
.sister-links-grid a:hover,.sister-links-grid a:focus-visible{background:none!important;color:#ffce84}
.sister-links-grid img{display:block;width:100%;max-width:86px;height:110px;object-fit:contain;margin:0 auto}
.sister-links-grid strong{font-size:12px!important;line-height:1.35;overflow-wrap:anywhere}
.overtime-choices{display:flex;flex-direction:column;gap:10px}.overtime-choices[hidden],.limit-dialog button[hidden]{display:none}
.overtime-choices #approveOvertime{background:#ffce84;color:#24233e}.overtime-choices #letJarGoHome{background:#f2e9dc;color:#5a4550}
@media(min-width:768px){
  .stage{display:block;min-height:0;padding:420px 14px 30px}
  .stage .scene{position:absolute;inset:0 0 auto;width:100%;height:420px;margin:0}
  .stage .office-illustration{inset:0;width:100%;max-width:none;height:100%;object-fit:cover;object-position:center top;transform:none}
  .shift-status{min-height:88px;margin:0 auto 4px}
  #shiftArt{width:80px;height:80px}
  .stage .stage-line{text-align:center;margin:4px auto 21px}
  .stage .draw-button{display:block;width:260px;min-height:60px;margin-inline:auto}
  .stage .status{text-align:center;margin:16px 0 0}
}
@media(max-width:480px){.stage{padding-top:330px}.stage .scene{height:330px}.shift-status{min-height:60px}#shiftArt{width:60px;height:60px}.reaction-choices button{min-height:108px}.ord-entry-main .art-slot{width:86px;height:86px}.ord-entry #dailyPick{margin-left:100px}.ord-service{grid-template-columns:96px minmax(0,1fr);gap:9px}.ord-service>.art-slot{width:96px;height:121px}.sister-links-grid img{height:105px}}
@media(max-width:350px){.stage{padding-top:300px}.stage .scene{height:300px}.shift-status{gap:5px}#shiftArt{width:52px;height:52px}.reaction-choices{gap:3px}.reaction-choices button{font-size:12px}.reaction-choices .art-slot{width:68px;height:68px}.ord-entry-main .art-slot{width:78px;height:78px}.ord-entry #dailyPick{margin-left:92px}.ord-service{grid-template-columns:78px minmax(0,1fr);gap:7px}.ord-service>.art-slot{width:78px;height:100px}.ord-service h2{font-size:18px}.ord-service p{font-size:13px}.ord-service-actions button{font-size:12px;padding:4px 6px}.ord-service small{font-size:11px}.sister-links-grid{gap:4px!important}.sister-links-grid img{height:88px}.sister-links-grid strong{font-size:11px!important}}
.site-policy-links{text-align:center;margin:18px auto 0;font-size:13px;line-height:1.7;color:#bcb7cb}.site-policy-links a{color:inherit;text-decoration:underline;text-underline-offset:3px}.site-policy-links span{margin:0 7px}
.limit-dialog .dialog-dismiss{position:absolute;top:10px;right:10px;width:28px;height:28px;min-height:28px;padding:0;border:0;border-radius:50%;background:transparent;color:#665a6b;font-size:17px;line-height:1;cursor:pointer}.limit-dialog .dialog-dismiss:hover,.limit-dialog .dialog-dismiss:focus-visible{background:#f0e5da;color:#24233e}
/* ORD-001 FINAL-2: preserve the approved hero while tightening its controls. */
.shift-status{min-height:30px;gap:0}.shift-status .stage-kicker{text-align:center}
.jar-aside{display:flex;align-items:flex-start;gap:9px;margin:15px 0 0;color:#f6e7c8;font-size:14px;line-height:1.55}.jar-aside[hidden]{display:none}.jar-aside-icon{font-size:19px;line-height:1;color:#ffce84}.jar-aside strong{display:block;color:#ffce84;font-size:14px}.jar-aside #jarAsideText{display:block}
.fortune-followup{margin-top:12px}.fortune-followup .followup-head{align-items:center;justify-content:space-between}.fortune-followup .followup-head>span{display:block}.fortune-followup .mood-tag{margin:1px 0 0}.fortune-followup .followup-head img{width:80px;height:80px}
.reaction-choices{gap:6px}.reaction-choices button{padding-inline:0;min-height:122px}.reaction-choices .art-slot{width:clamp(82px,25vw,104px);height:clamp(82px,25vw,104px)}
.reaction-dialog{width:min(94vw,500px);max-height:min(84dvh,720px);overflow-y:auto}.reaction-dialog .dialog-art{width:110px;height:110px;max-width:110px;max-height:110px}
#feedbackDialog{width:min(94vw,430px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}#feedbackDialog .dialog-art{width:124px;height:124px;max-width:124px;max-height:124px}#feedbackDialog select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m4 7 6 6 6-6' fill='none' stroke='%23543d65' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 13px center/18px 18px no-repeat;padding-right:42px;min-height:46px}#feedbackKindHint{display:block;font-weight:400;margin-top:4px;color:#6b6173}#feedbackDialog textarea{min-height:150px}#feedbackDialog form>button[type=submit]{display:block;width:138px;min-height:44px;margin:14px 0 0 auto;padding:7px 10px}
.sister-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:22px!important;row-gap:10px!important;max-width:390px;margin-inline:auto}.sister-links-grid a:nth-child(3){grid-column:1/-1;width:calc((100% - 22px)/2);justify-self:center}.sister-links-grid img{max-width:145px;height:128px}.sister-links-grid strong{font-size:14px!important;overflow-wrap:normal;word-break:keep-all}
@media(max-width:350px){.reaction-choices{gap:4px}.reaction-choices .art-slot{width:82px;height:82px}.sister-links-grid{column-gap:16px!important}.sister-links-grid a:nth-child(3){width:calc((100% - 16px)/2)}.sister-links-grid img{height:112px}.sister-links-grid strong{font-size:13px!important}}
@media(min-width:768px){.stage{padding-top:480px}.stage .scene{height:480px}.stage .office-illustration{max-width:600px;height:480px;margin-inline:auto;object-fit:cover;object-position:center top}.shift-status{min-height:36px}.stage .draw-button{width:min(100%,390px)}.sister-links-grid{max-width:420px}.sister-links-grid img{height:140px}}
/* ART-003 FINAL-2: three transparent shops, equal columns and aligned floors. */
.sister-links-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;max-width:390px}
.sister-links-grid a,.sister-links-grid a:nth-child(3){display:grid;grid-template-rows:160px auto;justify-items:center;align-items:end;grid-column:auto;width:100%;padding:0!important;gap:5px}
.sister-links-grid img{display:block;align-self:end;width:100%;max-width:none;height:auto;max-height:160px;object-fit:contain;object-position:center bottom}
.sister-links-grid strong{align-self:start;text-align:center;word-break:keep-all;overflow-wrap:normal}
@media(max-width:350px){.sister-links-grid{gap:3px!important}.sister-links-grid a,.sister-links-grid a:nth-child(3){grid-template-rows:138px auto;width:100%}.sister-links-grid img{max-height:138px}.sister-links-grid strong{font-size:11px!important}}
@media(min-width:768px){.sister-links-grid{max-width:420px;gap:12px!important}.sister-links-grid a,.sister-links-grid a:nth-child(3){grid-template-rows:180px auto}.sister-links-grid img{max-height:180px}}
@media(max-width:480px){.sister-links-grid{gap:0!important}.sister-links-grid img{width:calc(100% + 8px);max-width:none}.sister-links-grid a{overflow:visible}}
/* Mobile and zoomed layouts: keep the full jar in view across breakpoints. */
@media(min-width:481px){.stage .office-illustration{object-position:center 18%}}
/* The transparent shops have different source aspect ratios; align rendered art to one floor. */
.sister-links-grid img{height:160px;max-height:none;object-fit:contain;object-position:center bottom}
@media(max-width:350px){.sister-links-grid img{height:138px}}
@media(min-width:768px){.sister-links-grid img{height:180px}}
@media(max-width:480px){.sister-links-grid{gap:0!important}.sister-links-grid img{width:calc(100% + 8px)}}
/* The book and copy share one grid; the daily article follows its subtitle. */
.ord-entry{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;align-items:start}
.ord-entry-art .art-slot{display:block;width:88px;height:88px;object-fit:contain}
.ord-entry-copy{min-width:0}.ord-entry-copy>a{display:block}
.ord-entry #dailyPick{margin:8px 0 0}
.ord-service{align-items:start}
.ord-service-actions{margin-bottom:4px}
.ord-service-body>small{margin-top:4px}
@media(max-width:480px){.ord-entry{grid-template-columns:86px minmax(0,1fr);gap:14px}.ord-entry-art .art-slot{width:86px;height:86px}}
@media(max-width:350px){.ord-entry{grid-template-columns:78px minmax(0,1fr);gap:14px}.ord-entry-art .art-slot{width:78px;height:78px}}
.fortune-followup .followup-head{justify-content:flex-start;gap:12px}
.fortune-followup .followup-head>span{min-width:0}
.fortune-followup .mood-tag[data-grade="上上籤"]{color:#ffe09c}
.fortune-followup .mood-tag[data-grade="上籤"]{color:#f3dfa5}
.fortune-followup .mood-tag[data-grade="中籤"]{color:#d2c0ff}
.fortune-followup .mood-tag[data-grade="下籤"]{color:#a8d1ff}
.fortune-followup .mood-tag[data-grade="下下籤"]{color:#ffaea2}
.fortune-followup .mood-tag[data-grade="彩蛋"]{color:#f4b9ed}
/* Align the narrative beneath the talisman and keep the three reactions together. */
.fortune-followup .followup-reminder{padding-left:92px;margin-top:-8px;line-height:1.7}
.reaction-choices{max-width:540px;margin-inline:auto;gap:2px}
.reaction-choices .art-slot{width:clamp(94px,15vw,118px);height:clamp(94px,15vw,118px)}
.reaction-choices button{min-height:140px}
/* The two service actions share a row; the notice starts at the illustration edge. */
.ord-service-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ord-service-actions button{min-width:0;font-size:13px}
.ord-service-body>small{margin-left:-117px;margin-top:12px}
/* Bring the approved storefronts together while preserving their proportions. */
.sister-links-grid{max-width:420px;gap:0!important}
.sister-links-grid a,.sister-links-grid a:nth-child(3){grid-template-rows:200px auto}
.sister-links-grid img{height:200px;transform:scale(1.12);transform-origin:center bottom}
.sister-links-grid a:nth-child(2) img{transform:scale(1.25)}
.sister-links-grid a:nth-child(3) img{transform:translateX(-15px) scale(1.3)}
@media(max-width:480px){
  .fortune-followup .followup-reminder{padding-left:0;margin-top:8px}
  .reaction-choices .art-slot{width:clamp(86px,25vw,105px);height:clamp(86px,25vw,105px)}
  .reaction-choices button{min-height:118px}
  .ord-service-body>small{margin-left:-105px}
  .ord-service-actions button{font-size:11px;padding:5px 4px}
  .ord-service-actions img{width:24px;height:24px}
  .sister-links-grid{max-width:100%}
  .sister-links-grid a,.sister-links-grid a:nth-child(3){grid-template-rows:160px auto}
  .sister-links-grid img{height:160px}
}
@media(max-width:350px){.ord-service-body>small{margin-left:-85px}.sister-links-grid a,.sister-links-grid a:nth-child(3){grid-template-rows:138px auto}.sister-links-grid img{height:138px}}
