/* Fine visual audit. All fixes are additive: no existing assets, story, save data,
   audio or input coordinate systems are replaced. Loaded AFTER terminal-polish.css. */

/* 01: use unused desktop margins as authentic, low-contrast monitor housing. */
@media (min-width:1100px) and (orientation:landscape){
 body{position:relative;background:radial-gradient(ellipse at 50% 30%,#17374a 0%,#081521 48%,#050b13 100%)}
 body::before,body::after{position:fixed;z-index:0;pointer-events:none;
  top:clamp(35px,9vh,120px);bottom:clamp(35px,9vh,120px);
  width:max(0px,calc((100vw - 530px)/2 - 60px));max-width:460px;
  color:#84bfd652;font:800 clamp(11px,1vw,14px)/1.8 var(--sans);
  letter-spacing:.14em;white-space:pre-wrap;
  border-top:1px solid #4080a54a;border-bottom:1px solid #4080a54a;
  background:repeating-linear-gradient(0deg,transparent 0 37px,#315c7933 38px 38.5px),
             linear-gradient(90deg,#08213618,#102e4638,#08213612);
  padding:20px clamp(10px,2vw,24px)}
 body::before{right:calc(50% + 297px);border-left:1px solid #4080a533;
  content:'NATIONAL SECURITY  /  YUUNAGI\A\A   ━━━━━━━━━━━━\A   FIELD SURVEILLANCE\A\A   CAM   01\A   STATUS   LIVE\A\A   ────────────';}
 body::after{left:calc(50% + 297px);border-right:1px solid #4080a533;
  content:'SECURITY NETWORK  /  01\A\A   ━━━━━━━━━━━━\A   IDENTIFICATION\A\A   WANTED PERSONS\A   CASE ARCHIVE\A\A   ────────────';text-align:right}
 .app{z-index:1;box-shadow:0 0 0 1px #468cb17c,0 0 24px #429ac528,0 30px 80px #0009}
}

/* 02: creator's red symbol on an engraved dark plaque, never redraw artwork. */
.agency-mark{background:linear-gradient(145deg,#123853,#07182a)!important;
 border:1px solid #76a8bf;outline:1px solid #315c7c;
 outline-offset:-4px;box-shadow:inset 0 0 0 2px #031b2d,0 2px 6px #0008!important}
.agency-mark img{width:93%;height:93%;object-fit:contain;filter:drop-shadow(0 0 1px #cf405344)}

/* 03: icon stroke, centering and tactile feedback. */
.agency-row .icon-btn{display:inline-grid;place-items:center;
 line-height:1;padding:0!important;font-family:var(--sans);font-size:22px;
 border-color:#84c9e8;transition:background-color .13s,filter .13s}
.agency-row .icon-btn:active{background:#2c668c;filter:brightness(1.15)}

/* 04: eliminate noisy stacked outlines without losing official dossier styling. */
.topbar{border-bottom:2px solid #62b7dd;box-shadow:0 3px 9px #0007}
.wanted-strip{outline:0;box-shadow:0 3px 8px #0006;border-width:2px}
.wanted-photo{outline:none;box-shadow:inset 0 0 0 2px #ffffff65}
.agency-row{border-bottom-color:#75bee066}

/* 05 & 06: information hierarchy, narrow mobile wrapping and discoverability. */
.wanted-label{letter-spacing:.035em;gap:2px}
.wanted-name{font-weight:900;line-height:1.16;letter-spacing:0;overflow-wrap:normal}
.wanted-info{overflow:hidden;min-width:0}
.wanted-hint{letter-spacing:0;line-height:1.24}
.wanted-crime{line-height:1.2;-webkit-line-clamp:2;overflow-wrap:anywhere}
.wanted-hint-tap{margin-top:1px;opacity:.9;line-height:1.2}
.wanted-info:focus-visible{outline:2px solid #e5a045;outline-offset:-3px}
@media(max-width:365px){
 .wanted-label-prefix{font-size:8px}
 .wanted-label-case{font-size:8px}
 .wanted-hint-tap{font-size:8px}
 .wanted-name{font-size:17px}
 .wanted-crime{font-size:10px}
}

/* 07: never obscure a relevant citizen with an overly opaque dialogue veil. */
.dialog-overlay:not(.is-end-still){background:linear-gradient(0deg,#06101cd1 0%,#06101c66 48%,#06101c05 100%)}
.dialog-overlay:not(.is-end-still) .dialog-card{box-shadow:0 8px 22px #000b,inset 0 0 0 3px #0a3a59}

/* 08: quieter foot shadows without changing depth order or any hitboxes. */
.playfield::after{box-shadow:inset 0 0 0 1px #8ac9e775,inset 0 0 18px #082a4633}

/* 09 & 10: consistent LIVE strip and high contrast against variable street art. */
.camera-top{font-size:clamp(9px,2.55vw,11px);letter-spacing:.035em;
 padding:5px 8px;border-radius:2px;border:1px solid #a4d7ec55;
 background:#082c45e8;box-shadow:0 2px 6px #0006;
 white-space:normal;text-wrap:balance}
.camera-bottom{font-size:clamp(9px,2.45vw,11px);letter-spacing:.025em;
 border:1px solid #92cde777;background:#092d45e5;
 box-shadow:0 2px 8px #0006;min-height:26px}
.live-dot{flex:none}
#streetClock{font-variant-numeric:tabular-nums;letter-spacing:.055em;white-space:nowrap}

/* 11: riot notification is secondary to the actual police/crowd action. */
.playfield .riot-banner{top:51px!important;left:8px;right:8px;
 max-height:56px;overflow:hidden;padding:6px 8px;line-height:1.23;
 font-size:clamp(11px,2.8vw,13px);box-shadow:0 2px 5px #0009}
@media(max-height:700px){.playfield .riot-banner{top:43px!important}}

/* 12: riot front-line baseline is synchronized in game.js. Pixel art is unchanged. */

/* 13: deliberate heading break on narrow phones, never a stray "か。". */
.inspect-heading{font-size:clamp(18px,4.8vw,25px)!important;line-height:1.3!important;
 text-wrap:pretty;overflow-wrap:normal!important;letter-spacing:.01em!important}
.inspect-heading span{display:inline}
@media(max-width:365px){.inspect-heading span{display:block}.inspect-heading{font-size:20px!important}}

/* 14: equal portrait area and equal baseline for fair visual matching. */
.compare-grid{align-items:stretch}
.compare-card .compare-box{height:100%;justify-content:flex-start}
.compare-box #compareWanted,.compare-box #comparePerson,
.compare-box #compareOverlay{display:block;height:min(24dvh,205px);width:auto;max-width:100%;object-fit:contain}
.compare-box .portrait-layer{flex:1 1 auto;width:100%;align-content:center;justify-content:center}
.compare-note{margin-top:auto;text-align:center;min-height:25px;line-height:1.35}

/* 15: explicit distinction between draggable picture and one-tap alternate. */
.inspect-selection{font:800 clamp(11px,2.8vw,13px)/1.3 var(--sans);
 color:#d6f5ff;border-left:3px solid #7cccdf;padding:5px 9px;background:#0a2940;
 overflow-wrap:anywhere}
.portrait-drag{font:800 12px/1.3 var(--sans);border-style:dashed;min-height:40px}
.inspect-extra-actions{gap:5px}
.inspect-extra-actions .text-btn{line-height:1.3;text-decoration:underline;text-underline-offset:3px}

/* 16: clear transient visual feedback for overlapping the same two pictures. */
.dropzone.is-comparing{border-color:#2c9dba!important;
 box-shadow:inset 0 0 0 3px #5ce4d4,0 0 0 2px #bbf9f0!important;
 background:#d7f9f5!important}
.dropzone.is-comparing .compare-caption{color:#064a62}
.dropzone.is-comparing .compare-note{color:#0b6a70;font-weight:900}

/* 17: final action has its own case-confirmation label; unchanged logic. */
.compare-card .button-stack{border-top:1px solid #7fb9cf7d;padding-top:9px}
.compare-card .red-btn{box-shadow:0 3px 0 #59182b,0 0 0 1px #f9a5b9}
.compare-card .red-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #59182b}

/* 18: very short landscape now has fixed, reachable action buttons;
   scroll ONLY the portrait area instead of moving the entire panel. */
@media(max-height:540px) and (orientation:landscape){
 #inspectPanel{display:flex;align-items:center!important;overflow:hidden!important;
  padding:5px 8px calc(5px + env(safe-area-inset-bottom,0px))!important}
 #inspectPanel .compare-card{display:flex;flex-direction:column;overflow:hidden!important;
  flex:1 1 auto;width:min(100%,650px);max-width:650px;
  height:100%;min-height:0;max-height:none!important;margin:auto!important;
  gap:5px!important;padding:8px 12px!important}
 #inspectPanel .compare-card:before{display:none}
 #inspectPanel .modal-eyebrow{font-size:9px;line-height:1.25}
 #inspectPanel .inspect-heading{font-size:17px!important;line-height:1.15!important}
 #inspectPanel .inspect-heading span{display:inline}
 #inspectPanel .inspect-selection{font-size:10px;padding:3px 7px;line-height:1.1}
 #inspectPanel .compare-grid{flex:1 1 auto;min-height:44px;overflow:auto;
  align-items:center;gap:7px;overscroll-behavior:contain}
 #inspectPanel .compare-box{min-height:0;max-height:none;padding:3px 4px}
 #inspectPanel .compare-caption{font-size:10px;padding:0}
 #inspectPanel .compare-box canvas{max-height:15dvh;height:15dvh}
 #inspectPanel .compare-note{font-size:9px;min-height:13px;padding:0}
 #inspectPanel .portrait-drag{padding:4px;min-height:27px;font-size:11px}
 #inspectPanel .portrait-drag span{font-size:14px}
 #inspectPanel .inspect-extra-actions{flex:none;min-height:22px}
 #inspectPanel .inspect-extra-actions .text-btn{padding:3px;font-size:11px}
 #inspectPanel .button-stack{position:relative;bottom:auto;z-index:2;
  flex:none;display:flex;flex-direction:row;gap:7px;padding-top:5px;
  background:linear-gradient(#0c2e49,#0b2945)}
 #inspectPanel .button-stack button{flex:1 1 50%;width:auto;min-width:0;
  min-height:44px;font-size:clamp(12px,1.5vw,16px);line-height:1.2;padding:5px 4px}
}

/* 19: maximize authentic 4:5 poster; keep return button in view. */
.wanted-detail-body.poster-art-active{gap:7px!important;padding:7px 8px calc(8px + env(safe-area-inset-bottom,0px))!important}
.wanted-poster-art{display:flex;justify-content:center;align-items:center;flex:1 1 auto;min-height:0}
.wanted-poster-art img{max-width:100%;max-height:calc(100dvh - 130px);
 width:auto;height:auto;object-fit:contain;image-rendering:auto}
.wanted-detail-body.poster-art-active > .primary-btn{flex:none!important;min-height:46px!important;margin:0!important}

/* 20: legible source document at a true 160% zoom with aligned mask canvases. */
.redaction-tools{display:flex;flex:none;align-items:center;gap:7px;justify-content:space-between}
.redaction-tools .redaction-instruction{flex:1 1 auto;min-width:0;text-align:left;
 font-size:clamp(11px,2.9vw,14px)!important;line-height:1.35!important;margin:0}
.redaction-zoom-btn{flex:none;min-height:43px;min-width:79px;
 padding:5px 9px;background:#204e6d;color:#f8fcff;
 border:1px solid #a0d0e8;border-radius:3px;font:900 12px/1.25 var(--sans)}
.redaction-zoom-btn[aria-pressed="true"]{background:#e0f0f7;color:#12334f}
.redaction-scroll{overflow:auto!important;touch-action:pan-x pan-y;scrollbar-width:thin}
.redaction-scroll.is-zoomed .reveal-paper.reveal-image-paper{width:160%;max-width:none;min-height:0}
.redaction-scroll.is-zoomed .reveal-document-frame{width:100%;max-width:none}

/* 21: near-mask taps are assisted by JS within 9px, no printed redaction shifts. */
.reveal-document-mask:focus-visible{outline:3px solid #ffd978;outline-offset:2px}

/* 22: reveal highlights appear briefly only, then retain real source text. */
.reveal-spotlight{border-width:2px;filter:drop-shadow(0 0 2px #ef486c);
 border-color:#ed354f}

/* 23: document count fixed above scroller, easy to follow across five cases. */
.redaction-card .modal-eyebrow{flex:none;background:#102f49;padding:6px 7px;
 border:1px solid #77b6cf;letter-spacing:.06em}
.redaction-card #revealNext{flex:none;min-height:48px}

/* 24: locked records are placeholders, not high-contrast checkerboards. */
.archive-item .locked-art,.archive-grid .archive-item .locked-art{
 background:linear-gradient(150deg,#204360,#123149)!important;color:#a0c9da;
 font-size:19px;border:0;letter-spacing:.07em}
.archive-item:disabled{opacity:.76;filter:saturate(.7)}

/* 25: blurred margins let portrait stills fill the result card while source remains intact. */
.ending-card .end-image-btn{isolation:isolate;overflow:hidden;background:#081b2c;
 border:1px solid #8bc7e0;padding:2px}
.ending-card .end-image-btn::before{content:"";position:absolute;z-index:0;
 inset:-12%;pointer-events:none;background-image:var(--still-bg);
 background-position:center;background-size:cover;
 filter:blur(13px) brightness(.39) saturate(.78);transform:scale(1.06)}
.ending-card .end-image-btn img{position:relative;z-index:1;width:100%;height:100%;
 object-fit:contain;image-rendering:auto;filter:drop-shadow(0 1px 6px #000b)}
.ending-card .end-image-btn span{z-index:2}

/* 26: leave the hat and shoes visible in END01; use the spare ceiling area for dialogue. */
@media(min-width:768px) and (orientation:landscape){
 .dialog-overlay.is-end-still[data-end="1"]{align-items:flex-start;
  justify-content:flex-start;padding:clamp(18px,3vh,40px) 4vw 0!important;
  background:linear-gradient(180deg,#0009,transparent 45%)}
 .dialog-overlay.is-end-still[data-end="1"] .dialog-card{width:min(480px,46vw);
  min-height:0;max-height:min(37dvh,230px);background:#061524df!important}
}
@media(max-width:767px){
 .dialog-overlay.is-end-still .dialog-card{max-height:min(26dvh,194px)!important;
  padding:7px 11px 6px;}
 .dialog-overlay.is-end-still .dialog-text{font-size:clamp(17px,4.6vw,20px);
  line-height:1.35;}
}

/* 27 & 28: no END heading may sit under sound, and no orphaned final kana. */
.ending-card{min-width:0}
.ending-card #endingTitle{box-sizing:border-box;
 padding-right:52px;margin:0;max-width:100%;
 font-size:clamp(18px,4.65vw,26px)!important;line-height:1.33!important;
 text-wrap:balance;overflow-wrap:normal;word-break:normal;
 letter-spacing:0!important}
.ending-card .end-sound-btn{top:10px;right:12px;z-index:3;
 width:44px;height:44px;min-width:44px}
@media(max-width:365px){.ending-card #endingTitle{font-size:18px!important;padding-right:49px}}

/* 29: end-result is a clear second act rather than a sudden shrink. */
@media(prefers-reduced-motion:no-preference){
 #endingPanel:not([hidden]) .ending-card{animation:resultArrival .32s ease-out both}
 #endingPanel:not([hidden]) .end-image-btn{animation:resultImageArrival .42s ease-out both}
}
@keyframes resultArrival{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes resultImageArrival{from{opacity:.25;filter:brightness(.5)}to{opacity:1;filter:none}}

/* 30: stronger primary result action, aligned secondary and archive controls. */
.ending-card .share-btn{min-height:50px;line-height:1.3;
 box-shadow:0 2px 0 #286184,0 0 0 1px #c8f1ff}
.ending-card .ending-row{display:flex;gap:8px}
.ending-card .ending-row .secondary-btn{min-height:48px;font-size:clamp(14px,3.7vw,17px)}
.ending-card #endingRecords{min-height:44px;text-align:center;
 text-decoration:underline;text-underline-offset:4px}

/* General small-screen accessibility and reduced-motion fidelity. */
@media(max-width:365px){
 .topbar{padding-inline:6px}
 .status-item b{font-variant-numeric:tabular-nums}
 .camera-top{max-width:calc(100% - 26px);left:13px;top:11px}
 .camera-bottom{left:10px;right:10px;bottom:9px}
 .compare-card .compare-box{padding:5px 2px 3px}
 .compare-grid{gap:6px}
 .redaction-zoom-btn{min-width:69px;font-size:11px;padding-inline:5px}
}
@media(max-height:600px){
 .redaction-tools{gap:4px}
 .redaction-zoom-btn{min-height:38px}
 .redaction-scroll.is-zoomed .reveal-paper.reveal-image-paper{width:145%}
 .ending-card .share-btn,.ending-card .ending-row .secondary-btn{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 .agency-row .icon-btn{transition:none}
 #endingPanel:not([hidden]) .ending-card,#endingPanel:not([hidden]) .end-image-btn{animation:none!important}
 .dropzone.is-comparing{transition:none}
}
/* Result headline has its own real column, not just interior padding. */
.ending-card #endingTitle{width:calc(100% - 54px);padding-right:0!important}

/* Keep the entire Japanese courtesy phrase on one typographic line. */
.ending-card #endingTitle .end-title-long{display:block;white-space:nowrap;letter-spacing:-.025em}

/* Large official instruction between the briefing and first WANTED poster. */
#dialogOverlay.is-intro-command{align-items:center;justify-content:center;padding:24px;
 background:radial-gradient(circle at 50% 48%,#52131ef2,#051420fa 76%);}
#dialogOverlay.is-intro-command .dialog-card{background:transparent;border:0;box-shadow:none;
 width:100%;max-width:850px;height:min(54dvh,300px);padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
#dialogOverlay.is-intro-command .dialog-meta{display:none;}
#dialogOverlay.is-intro-command .dialog-text{font:900 clamp(36px,10vw,76px)/1.25 var(--serif);
 flex:none;display:block;text-align:center;color:#ff4559;max-height:none;height:auto;min-height:1.4em;overflow:visible;text-shadow:0 3px 2px #22050b,0 0 22px #ed305d77;
 overflow-wrap:normal;word-break:keep-all;}
#dialogOverlay.is-intro-command .dialog-next{margin-top:16px;text-align:center;justify-content:center;
 font-size:12px;color:#d6e2e5;}
/* No empty interaction strip after removing photo-overlay comparison. */
#inspectExtraActions[hidden]{display:none!important;}

/* ===============================================================
   Cinematic polish: 01–20 (visual-only; preserves hitboxes and layout)
   =============================================================== */
/* 01: one gentle confirmation flash when a new wanted photo is loaded. */
@media(prefers-reduced-motion:no-preference){
 .wanted-photo.case-focus canvas{animation:caseFocusFlash .4s ease-out}
}
@keyframes caseFocusFlash{0%{filter:brightness(1.75)}55%{filter:brightness(1.15)}100%{filter:brightness(1)}}
/* 02: preserve every crime description while emphasizing its key content. */
.wanted-crime .wanted-crime-focus{font:inherit;color:#ad3046;font-weight:900}
/* 03: stable digits and center alignment when countdown changes. */
#timer,#foundCount,#mistakeCount,#wantedIndex{font-variant-numeric:tabular-nums;font-feature-settings:'tnum' 1}
#timer{display:inline-block;min-width:5ch;text-align:center}
/* 04 and 10: very brief, local feedback for correct/incorrect counters. */
@media(prefers-reduced-motion:no-preference){
 #foundCount.count-pulse,#mistakeCount.count-pulse{animation:countPulse .28s ease-out}
}
@keyframes countPulse{0%{transform:scale(1);filter:brightness(1)}45%{transform:scale(1.12);filter:brightness(1.7)}100%{transform:scale(1);filter:brightness(1)}}
/* 05: quieter, consistent finish on official metal borders. */
.agency-row .icon-btn{box-shadow:inset 0 1px 0 #d3f2ff25,0 1px 3px #0006}
.wanted-strip,.statusbar{filter:none}
/* 06: single noninteractive ring at the selected citizen's feet. */
.selected-resident-ring{position:absolute;z-index:5;pointer-events:none;width:34px;height:12px;
 border:2px solid #e5fdff;border-radius:50%;box-shadow:0 0 8px #9ef6ff,0 0 0 1px #092435;
 transform:translate(-50%,-55%);animation:residentRing .32s ease-out both}
@keyframes residentRing{from{opacity:1;scale:1.15}to{opacity:0;scale:1}}
/* 07: nearest-neighbor pixels for both sides of the inspection card. */
#compareWanted,#comparePerson{image-rendering:pixelated;image-rendering:crisp-edges}
/* 08: stronger pressed feedback without increasing any click or hold delay. */
#arrestBtn{transition:transform .10s ease,filter .10s ease}
#arrestBtn:active{transform:translateY(2px);filter:brightness(.95)}
/* 09: compact comparison text, without removing necessary instructions. */
#inspectPanel .compare-note{letter-spacing:0;line-height:1.22}
#inspectPanel .compare-grid{row-gap:5px}
/* 11: records arrive as a heavy physical sheet, not a new screen. */
@media(prefers-reduced-motion:no-preference){
 #redactionPanel:not([hidden]) .reveal-document-frame{animation:paperSettle .23s cubic-bezier(.15,.9,.25,1) both}
}
@keyframes paperSettle{from{opacity:.65;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
/* 12–13: a short, precise highlight; actual document text and mask stay aligned. */
.reveal-spotlight{box-shadow:0 0 0 1px #fff9ba66,0 0 11px #e8425970}
@media(prefers-reduced-motion:no-preference){
 .reveal-spotlight{animation:cinematicUnlock .92s ease-out forwards}
}
@keyframes cinematicUnlock{0%{opacity:0;filter:brightness(1.8)}18%{opacity:1;filter:brightness(1.45)}100%{opacity:0;filter:brightness(1)}}
/* 14: the third mask already gets a distinct one-shot sound from JS. */
/* 15: subtitles retain contrast above bright areas of END stills. */
#dialogOverlay.is-end-still .dialog-card{background:linear-gradient(180deg,#06111db0,#06111de8)!important;
 text-shadow:0 1px 3px #0009,0 0 2px #000c}
#dialogOverlay.is-end-still .dialog-text{text-shadow:0 1px 3px #000a}
/* 16–19: arrests use a quiet beat, a subtle backstep, synchronized clank. */
@media(prefers-reduced-motion:no-preference){
 .capture-portrait-scene.capture-bounce .capture-face-frame{animation:arrestBackstep .28s ease-out both}
 .dialog-card.capture-clank{animation:clankImpact .20s ease-out both}
}
@keyframes arrestBackstep{0%{transform:translateX(5px)}60%{transform:translateX(-4px)}100%{transform:translateX(0)}}
@keyframes clankImpact{0%{filter:brightness(1);transform:translateX(0)}35%{filter:brightness(1.24);transform:translateX(2px)}70%{transform:translateX(-1px)}100%{filter:brightness(1);transform:translateX(0)}}
/* 20: the next wanted poster is accompanied by a cold notification SE. */
@media(prefers-reduced-motion:reduce){
 .selected-resident-ring{animation:none;opacity:0}
 #arrestBtn{transition:none}
 #foundCount.count-pulse,#mistakeCount.count-pulse{animation:none}
 .reveal-spotlight{animation:none}
}

/* Keep the complete child and swipe cue inside the short-screen release panel. */
@media (max-height:700px){
 .spare-zone{padding-bottom:min(7dvh,22px)}
 .spare-person canvas{width:auto;height:min(19dvh,120px)}
 .spare-arrow{font-size:clamp(18px,4dvh,30px)!important;line-height:1}
 .spare-foot{font-size:clamp(11px,3dvh,14px);bottom:4px}
}

/* Short landscape: the official paper scrolls, but its Next button stays reachable.
   No change to masks, their coordinates, or normal phone/PC layouts. */
@media (max-height:455px) and (min-width:700px) and (orientation:landscape){
 #redactionPanel{overflow:hidden;align-items:center}
 #redactionPanel .redaction-card{height:100%;max-height:100%;min-height:0;flex-shrink:1;margin:0}
 #redactionPanel .redaction-scroll{flex:1 1 0;min-height:0;overflow:auto}
}

/* Dialogue line breaks favor natural Japanese punctuation; source text is unchanged. */
.dialog-text{text-wrap:pretty;line-break:strict;word-break:normal}

/* Small-height landscape correction for END01/02 result panel only.
   Keep the original composition, controls and vertical overflow behavior. */
@media (min-width:700px) and (max-width:900px) and (max-height:455px) and (orientation:landscape){
 #endingPanel .ending-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
}
